Not sure which guide to follow?
Claude — choose this if you use the Claude desktop app or claude.ai in a browser.
Gemini — Google offers several Gemini products. The setup differs for each, so this tab is split into three: the Gemini CLI (a terminal tool), Gemini Code Assist (the IDE extension), and the Gemini web/app. Use whichever you have.
Codex — choose this if you use the Codex desktop app and want to connect it to a hosted MCP server over OAuth.
ChatGPT — choose this if you connect through ChatGPT. Note that custom connectors require a paid plan and Developer Mode.
The MCP server URL for all tools is https://bcmcp.freewheel.com/mcp/oauth.
For a full reference of every tool available on the MCP server, see https://bcmcp.freewheel.com/reference.
Connecting with Claude
These steps cover the Claude desktop app and claude.ai. They connect Claude to a remote (hosted) MCP server via a URL.
claude.ai/download) or access to claude.ai in a browser, and a paid Claude plan (Pro, Max, Team, or Enterprise). Custom connectors are not available on the free plan.
- Open Claude and sign in to your account.
- Click Settings (the gear icon), then open the Connectors section.
- Click Add custom connector. You may find this under a Manage connectors button.
- Give the connector a name (for example, "FreeWheel Buyer Cloud") and paste the server URL:
https://bcmcp.freewheel.com/mcp/oauth - Click Add to save the connector.
- If the server uses OAuth sign-in, the FreeWheel Buyer Cloud login window opens. Fill in the form (see the field guide below), then approve the requested access. You complete this sign-in step yourself — it is not done for you.
About the FreeWheel Buyer Cloud sign-in form
- EmailRequired
- The email address for your FreeWheel Buyer Cloud account.
- PasswordRequired
- Your account password. It is processed securely server-side and is not stored in the browser.
- Buzz KeyRequired
- The identifier for your Buyer Cloud environment — for example,
dspordemosbx. If you are unsure which value to use, ask your FreeWheel contact. - Account IDOptional
- Leave this blank unless you need to sign in to a specific account. When blank, your default account is used.
Recommended: When you first connect, sign in with a read-only account until you are comfortable with the tools. This prevents accidental changes while you are still getting familiar with what each tool does. Once you are confident, you can switch to an account with full permissions. If you do not have a read-only account, you can create one in the Buyer Cloud UI.
- Open any conversation and look for the tools / connector icon in the message input area.
- Click it and confirm your server's tools appear in the list.
- Try a prompt that uses one of the tools. Claude asks you to approve each tool call before it runs — you can approve once, approve for the session, or deny.
Connecting with Gemini
"Gemini" refers to several different Google products. Find the one you use among the three below and follow that variant.
Variant A — Gemini CLI
The command-line tool you run in a terminal. Configured through a settings.json file.
settings.json file.
- Open your terminal.
- Run the following. You can change
"Buyer Cloud MCP"to any name you like for the server:# adds a remote MCP server over HTTP gemini mcp add --transport http "Buyer Cloud MCP" https://bcmcp.freewheel.com/mcp/oauth - Restart Gemini CLI so it picks up the new server.
- Locate your settings file. For a setup that applies everywhere, use
~/.gemini/settings.json(the~is your home folder). For a single project, use.gemini/settings.jsoninside that project folder. Create the file or the.geminifolder if it does not exist. - Add an
mcpServersblock with the Buyer Cloud MCP server:{ "mcpServers": { "Buyer Cloud MCP": { "url": "https://bcmcp.freewheel.com/mcp/oauth" } } } - Save the file. Make sure the JSON is valid — a stray comma or missing bracket is the most common mistake.
- Restart Gemini CLI.
- Inside Gemini CLI, type
/mcp. - Your server should be listed with a green status indicator and the tools it provides.
/mcp shows your server as "Ready" with a green dot and a list of tools. If it shows disconnected, check the startup logs for a wrong URL, an expired token, or invalid JSON.
Variant B — Gemini Code Assist (IDE extension)
The Gemini extension inside VS Code. It uses the same settings.json file as the CLI.
- Open your Gemini settings file at
~/.gemini/settings.json(the~is your home folder). Create it if it does not exist. - Add the same
mcpServersblock shown in Variant A above (Buyer Cloud MCP with itsurl). - Save the file.
- Restart your IDE, or reload the Gemini Code Assist extension, so the change is picked up.
- Open Gemini's agent mode in the IDE and confirm the server's tools are available.
Variant C — Gemini web & mobile app
The Gemini assistant at gemini.google.com and the mobile apps.
If you need to use a FreeWheel MCP server with Gemini, use the Gemini CLI (Variant A) instead. If you believe your organization has a setup that exposes MCP tools to the Gemini app, contact your FreeWheel representative — that would be a custom arrangement, and the steps above will not apply.
Connecting with Codex Desktop
Use these steps to connect the Codex desktop app to the hosted FreeWheel Buyer Cloud MCP server over OAuth.
- Open Codex Desktop and go to Settings.
- Open the MCP / Tools / Integrations section.
- Click Add server (or Add MCP server).
- Set the server URL to:
https://bcmcp.freewheel.com/mcp/oauth - Choose OAuth authentication if Codex asks for an auth method.
- Save the server, then complete the browser sign-in flow when prompted.
About the FreeWheel Buyer Cloud sign-in form
- EmailRequired
- The email address for your FreeWheel Buyer Cloud account.
- PasswordRequired
- Your account password. It is processed securely server-side and is not stored in the browser.
- Buzz KeyRequired
- The identifier for your Buyer Cloud environment — for example,
dspordemosbx. If you are unsure which value to use, ask your FreeWheel contact. - Account IDOptional
- Leave this blank unless you need to sign in to a specific account. When blank, your default account is used.
Recommended: When you first connect, sign in with a read-only account until you are comfortable with the tools. This prevents accidental changes while you are still getting familiar with what each tool does. Once you are confident, you can switch to an account with full permissions. If you do not have a read-only account, you can create one in the Buyer Cloud UI.
- Open a new Codex chat/session.
- Check that the MCP server appears as connected in Codex's server/tool list.
- Run a simple prompt that should use a Buyer Cloud tool (for example: "List available tool categories").
Connecting with ChatGPT
ChatGPT connects to MCP servers as a "custom connector." This requires Developer Mode, which is only on paid plans.
- In ChatGPT, open Settings.
- Go to Apps & Connectors, then open Advanced settings.
- Toggle Developer Mode to ON.
- A warning appears noting that custom connectors are not verified by OpenAI and could modify or delete data. Read it, then confirm to continue.
On Business / Enterprise / Edu plans, the admin enables this under Workspace Settings → Permissions & Roles → Connected Data, rather than in personal Settings.
- Return to Settings → Apps & Connectors and click Add new connector (it may say Create).
- Enter a name and a short description for the connector.
- Paste the MCP server URL:
https://bcmcp.freewheel.com/mcp/oauth - For authentication, ChatGPT connectors use OAuth (API-key authentication is not supported). You will be sent to the FreeWheel Buyer Cloud sign-in page — fill in the form (see the field guide below) and approve access.
About the FreeWheel Buyer Cloud sign-in form
- EmailRequired
- The email address for your FreeWheel Buyer Cloud account.
- PasswordRequired
- Your account password. It is processed securely server-side and is not stored in the browser.
- Buzz KeyRequired
- The identifier for your Buyer Cloud environment — for example,
dspordemosbx. If you are unsure which value to use, ask your FreeWheel contact. - Account IDOptional
- Leave this blank unless you need to sign in to a specific account. When blank, your default account is used.
Recommended: When you first connect, sign in with a read-only account until you are comfortable with the tools. This prevents accidental changes while you are still getting familiar with what each tool does. Once you are confident, you can switch to an account with full permissions. If you do not have a read-only account, you can create one in the Buyer Cloud UI. - Save. The connector now appears in your Apps & Connectors list with a custom label.
- Start a new chat.
- Use the connector / tools picker in the message box (the + menu) to enable your connector for that conversation.
- Try a prompt that uses one of its tools.
OAuth Callback URL Restrictions
When your AI client registers with this server it must provide a callback URL (also called a redirect URI) where the authorization code is delivered after you sign in. For security, the server only accepts callback URLs from a pre-approved allowlist.
400 Bad Request. Contact us before connecting so we can add your URL to the allowlist.
The following clients and patterns are supported out of the box — no action required:
| Client / Platform | Callback URL pattern | Notes |
|---|---|---|
| Claude Desktop (Anthropic) | https://claude.ai/…callback… |
Standard Claude MCP connector |
| ChatGPT (OpenAI) | https://chatgpt.com/…oauth… |
Standard ChatGPT connector |
| N8N | https://n8n.*/… |
N8N automation nodes |
| Azure API Management | https://*.azure-apim.net/… |
APIM OAuth integration |
| Native / desktop apps | http://127.0.0.1:<any-port>/… |
RFC 8252 loopback standard for installed apps |
| Native / desktop apps | http://localhost:<any-port>/… |
Loopback addresses (127.0.0.1 / localhost) are allowed on any port per RFC 8252 §7.3, which is the standard for native and desktop MCP clients that start a temporary local HTTP listener during the OAuth flow.
If your platform requires a different callback URL, contact the FreeWheel team with the following information:
- The exact callback URL or URL pattern you need
- The name and purpose of your client application
- Whether the URL is for production or development / staging
Once approved, the URL will be added to the allowlist and your client registration will succeed.
If your callback URL is not on the allowlist, /oauth/register returns:
{"detail": "redirect_uri not allowed: <your-uri>"}
HTTP status: 400 Bad Request.