MJO · Essay 10
Connect any MCP server to any AI client: the field guide
Every MCP server ends its setup page with some version of "add this to your AI app". That sentence hides ten different journeys. Claude wants a name and an address in a form. Claude Code wants one line in a terminal. Cursor, Windsurf and Antigravity want JSON in a file, and each spells the address key differently. Gemini wants you to be an adult in the US.
I went through the official documentation for ten clients on 26 November 2026 and wrote down only what each vendor's own page says. This essay is the summary and the comparison. Each client has its own step-by-step guide, linked from the table. Where a vendor's page was silent or unclear, I say so rather than fill the gap.
This is part of MCP Journey Optimization. Adding a server is stage 2 of the seven-stage MJO funnel (Install), and the sign-in that follows is stage 3 (Authorize). Those two stages are where the client decides more than you do.
The ten clients at a glance
"Where you add it" is the first place the vendor's page sends you. "Config key" is the field that holds the server's address when you edit a file. Plan notes are only those the vendor's page states.
| Client | Where you add it | Config file / key | Auth | Plan / requirement notes | Guide | Source |
|---|---|---|---|---|---|---|
| Claude (web, Desktop, Cowork) | Customize > Connectors > + Add > Add custom connector | None; a form | OAuth (sign in now or when needed), fixed request headers, or none | Free, Pro, Max, Ultra, Team, Enterprise; Free limited to one custom connector; public HTTPS on port 443 | Claude | Anthropic |
| ChatGPT | Plugins > + > Add custom MCP server | None; a form | OAuth detailed on the page | Business and Enterprise/Edu (full MCP); Pro read/fetch only; web only | ChatGPT | OpenAI |
| Gemini app | Settings > Connected Apps > Add a custom app | None; a form | OAuth; Dynamic Client Registration, else credentials under Advanced features | 18+ and in the US, personal Google Account, English, History on; add on web | Gemini | |
| Google Antigravity | … > MCP Servers > Manage MCP Servers > View raw config (IDE); Customizations > Installed (App) | mcp_config.json · serverUrl or url | OAuth via CIMD or DCR automatically; manual oauth; headers; Google credentials | Streamable HTTP only; SSE and httpUrl not supported | Antigravity | |
| VS Code (Copilot) | Chat: Open Customizations > MCP Servers > Add Server | .vscode/mcp.json · servers, type: "http", url | OAuth with browser sign-in; headers via inputs | Copilot selected; organisation policy can restrict | VS Code | Microsoft |
| Cursor | Marketplace "Add to Cursor", or the config file; manage in Customize | ~/.cursor/mcp.json · mcpServers, url | OAuth with PKCE, RFC 9728 discovery, DCR; fixed auth object; headers | None stated | Cursor | Cursor |
| Windsurf (Cascade) | Settings > Tools > Windsurf Settings > Add Server, or Open MCP config file | mcp_config.json · mcpServers, serverUrl | OAuth for remote servers; headers | Team admins can allowlist; Enterprise users turn MCP on manually | Windsurf | Windsurf |
| Claude Code | Terminal: claude mcp add --transport http | ~/.claude.json or .mcp.json | OAuth through /mcp; --header; client ID flags | claude.ai connectors also appear when signed in with a claude.ai subscription | Claude Code | Anthropic |
| JetBrains (AI Assistant) | Settings | Tools | AI Assistant | Model Context Protocol (MCP) > Add | JSON in the dialog · mcpServers, url | Not described on the page | Organisations on IDE Services or JetBrains Central may block own servers | JetBrains | JetBrains |
| Zed | Settings > AI > MCP Servers > Add Server > Add Remote Server | settings.json · context_servers, url | Standard MCP OAuth when no Authorization header; headers | None stated | Zed | Zed |
Three kinds of client
Read down the second column and the ten clients sort themselves into three groups. The group decides what your setup page has to do.
1. Form clients: Claude, ChatGPT, Gemini
The person types a name and pastes an address into a form inside the product. Nobody sees JSON. The client discovers how to sign in and opens your authorization page. These are the clients where non-developers live, and where MJO matters most, because the person has no way to debug anything. If the form fails, they leave.
What differs is who is allowed to reach the form. On Claude, Anthropic says every plan, with Free limited to one custom connector. On ChatGPT, OpenAI's page names Business and Enterprise/Edu for full MCP and Pro for read/fetch, and doesn't mention Free, Go or Plus. On Gemini, Google's page requires the person to be 18 or over, in the US, on a personal account, in English, with History on. Those conditions sit before your product's first screen. You can't fix them, but you can say them on your setup page so the person doesn't waste ten minutes looking for a menu that isn't there.
2. File clients: Antigravity, Cursor, Windsurf, VS Code, JetBrains, Zed
The developer IDEs mostly read a JSON file. Several also have a form or a store, but the file is the general route for a server that isn't listed. Here the leak is not eligibility but spelling. For the address key alone, the vendors' own examples use:
urlundermcpServers: Cursor, JetBrains;serverUrl(orurl) undermcpServers: Antigravity, Windsurf;urlwith"type": "http"underservers: VS Code'smcp.json;urlundercontext_servers: Zed.
A block copied from one client's guide into another's file can fail silently. Antigravity's page goes further and says httpUrl, the key Gemini CLI used for Streamable HTTP, is not supported. If you publish one JSON snippet for "all IDEs", some of your readers are pasting something their client ignores.
3. Command clients: Claude Code
One line in a terminal: claude mcp add --transport http <name> <url>, then /mcp to sign in. It is the shortest Install stage of the ten, and it has a bonus: Anthropic says connectors added on claude.ai appear in Claude Code automatically when the person is signed in with a claude.ai subscription. One connection, two clients.
What differs, and why it matters for MJO
| Difference | Examples from the docs | MJO stage it hits | What to do |
|---|---|---|---|
| Who may add a server | ChatGPT plan and workspace role; Gemini age, country, account type; team allowlists in Windsurf and VS Code | Install | State the requirements per client on your setup page, before the steps |
| Transport | Antigravity: Streamable HTTP only. VS Code and Claude Code: HTTP first, SSE fallback. Claude Code calls SSE deprecated | Install | Serve Streamable HTTP; keep SSE only for clients that need it |
| Address key | url, serverUrl, servers, context_servers | Install | One snippet per client, never one for all |
| Client registration | Claude: published identity, automatic registration or your own client. Antigravity: CIMD or DCR. Cursor and Gemini: DCR, else manual credentials. Claude Code: "Incompatible auth server" error without DCR | Authorize | Support Dynamic Client Registration so a URL is all anyone needs |
| Refresh tokens | OpenAI and Cursor both say people sign in again if none are issued | Return | Issue refresh tokens; OpenAI says to include offline_access |
| Network origin | Claude connects from Anthropic's cloud, port 443 only; ChatGPT needs a public endpoint or its tunnel | Install | Public HTTPS on 443; no localhost addresses on a setup page |
| How a chat picks your tools | Claude: per-chat toggle. ChatGPT and Gemini: @mention per message. IDEs: automatic when relevant, with approval | First tool call | A starter prompt per client, written the way that client expects |
| Output limits | Claude Code warns above 10,000 tokens; default maximum 25,000. Antigravity times out a call after 180 s by default | First value | Short results; long jobs return a handle and progress |
The pattern is that every difference lands on one of the first four MJO stages, and three of them land on Install. That is why I treat each client as its own market with its own page. A single "add to your AI app" page is the setup equivalent of one landing page for every country.
What I do on our own setup pages
At CrushedWithIt, the MCP sign-up page asks the person to pick Claude or ChatGPT first, then shows the steps for that client only, with a Copy address button and an Open button. It then waits for the new connection by itself instead of asking "did it work?", and ends with a ready-to-copy first prompt. The reasoning is in MCP OAuth sign-up and the first tool call.
The ten guides follow the same idea from the other side: they are written per client, they use the vendor's own words for every menu, and each ends with a "Try it" prompt that reads before it writes. They use the CrushedWithIt server as the example name but leave the address as <your server URL>, so they work for any server.
Universal troubleshooting
These apply whichever client you use. Where a line comes from the MCP specification or a vendor page, I say so; the rest is general practice and labelled as such.
- Check the address character for character. Anthropic's page says the URL must match the provider's documentation exactly, including any path. Most remote servers use a path such as
/mcp; leaving it off is the commonest copy error (general). - Make sure it is public HTTPS. Claude connects from Anthropic's cloud on port 443 only; ChatGPT needs a public endpoint or its Secure MCP Tunnel. A
localhostaddress works only in clients running on the same machine (general). - Match the transport. If the server only speaks SSE, Antigravity won't connect to it; Claude Code needs
--transport sseon older versions. - Check the key name if you edited a file: see the list above.
- If no sign-in appears. The MCP authorization specification says a protected server must answer a request without a valid token with HTTP 401 and a
WWW-Authenticateheader pointing to its resource metadata, served at/.well-known/oauth-protected-resource(RFC 9728). A server that returns 200 or 500 instead gives the client nothing to follow. - Read the status code. The specification lists 401 for "authorization required or token invalid", 403 for invalid scopes or insufficient permissions, and 400 for a malformed authorization request. A 403 usually means sign in again with the right account or ask for more access, not reinstall (the reading of 403 is general).
- If you keep signing in again, the provider probably isn't issuing refresh tokens. OpenAI and Cursor both say so.
- Find the log. VS Code: MCP: List Servers > Show Output. Cursor: Output panel > MCP Logs. JetBrains: Help > Show Log,
mcpfolder. Antigravity and Claude Code:/mcp. Zed: the tooltip on the status dot. - Try a read-only request first. If listing your account works and a write fails, the connection is fine and the problem is the tool or its approval (general).
- On a team plan, ask your admin before anything else. ChatGPT, Windsurf, VS Code and JetBrains all document organisation controls that override local setup.
Where the docs were unclear
I would rather mark a gap than guess. On 26 November 2026:
- Windsurf: the old docs address redirects to docs.devin.ai, and the current page names two different
mcp_config.jsonlocations. Removal steps aren't documented. - JetBrains: the MCP page doesn't describe OAuth, headers, plan requirements or deleting a server.
- ChatGPT: the page doesn't list authentication choices beyond OAuth, and doesn't mention Free, Go or Plus.
- Zed: the page doesn't describe disabling or removing a server.
- VS Code: the pages don't say which OAuth registration methods are supported.
- Gemini: two Google help pages describe the management screen differently.
Screenshots
Every guide has the places marked where a screenshot of the vendor's own screen will go. I am adding them client by client, taken from live accounts, with the date each was taken. Until then the menu names are quoted from the vendor's page.
How to use this guide
If you are connecting a server: pick your client in the table and follow its guide. If you build a server: read the "What differs" table as a checklist, and see how each stage is scored in measuring MJO. Track installs and first calls per client, not in total. The client is the variable you cannot see on a sign-up chart.
Keep reading: MCP Journey Optimization (MJO): definition, framework and FAQ, and the founding essay, the conversion layer nobody owns.