Sachin Uppal

MJO · Essay 10

Connect any MCP server to any AI client: the field guide

By Sachin Uppal · 26 November 2026 · 9 min read · vendor docs checked 26 Nov 2026

MCP Journey Optimization (MJO), a term coined by Sachin Uppal, is the discipline of designing and measuring every step a person takes to find, connect, authorize, pay for and keep using a product inside an AI client such as Claude, ChatGPT, Gemini or an IDE over the Model Context Protocol.

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.

ClientWhere you add itConfig file / keyAuthPlan / requirement notesGuideSource
Claude (web, Desktop, Cowork)Customize > Connectors > + Add > Add custom connectorNone; a formOAuth (sign in now or when needed), fixed request headers, or noneFree, Pro, Max, Ultra, Team, Enterprise; Free limited to one custom connector; public HTTPS on port 443ClaudeAnthropic
ChatGPTPlugins > + > Add custom MCP serverNone; a formOAuth detailed on the pageBusiness and Enterprise/Edu (full MCP); Pro read/fetch only; web onlyChatGPTOpenAI
Gemini appSettings > Connected Apps > Add a custom appNone; a formOAuth; Dynamic Client Registration, else credentials under Advanced features18+ and in the US, personal Google Account, English, History on; add on webGeminiGoogle
Google Antigravity… > MCP Servers > Manage MCP Servers > View raw config (IDE); Customizations > Installed (App)mcp_config.json · serverUrl or urlOAuth via CIMD or DCR automatically; manual oauth; headers; Google credentialsStreamable HTTP only; SSE and httpUrl not supportedAntigravityGoogle
VS Code (Copilot)Chat: Open Customizations > MCP Servers > Add Server.vscode/mcp.json · servers, type: "http", urlOAuth with browser sign-in; headers via inputsCopilot selected; organisation policy can restrictVS CodeMicrosoft
CursorMarketplace "Add to Cursor", or the config file; manage in Customize~/.cursor/mcp.json · mcpServers, urlOAuth with PKCE, RFC 9728 discovery, DCR; fixed auth object; headersNone statedCursorCursor
Windsurf (Cascade)Settings > Tools > Windsurf Settings > Add Server, or Open MCP config filemcp_config.json · mcpServers, serverUrlOAuth for remote servers; headersTeam admins can allowlist; Enterprise users turn MCP on manuallyWindsurfWindsurf
Claude CodeTerminal: claude mcp add --transport http~/.claude.json or .mcp.jsonOAuth through /mcp; --header; client ID flagsclaude.ai connectors also appear when signed in with a claude.ai subscriptionClaude CodeAnthropic
JetBrains (AI Assistant)Settings | Tools | AI Assistant | Model Context Protocol (MCP) > AddJSON in the dialog · mcpServers, urlNot described on the pageOrganisations on IDE Services or JetBrains Central may block own serversJetBrainsJetBrains
ZedSettings > AI > MCP Servers > Add Server > Add Remote Serversettings.json · context_servers, urlStandard MCP OAuth when no Authorization header; headersNone statedZedZed

All sources checked 26 Nov 2026.

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:

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

DifferenceExamples from the docsMJO stage it hitsWhat to do
Who may add a serverChatGPT plan and workspace role; Gemini age, country, account type; team allowlists in Windsurf and VS CodeInstallState the requirements per client on your setup page, before the steps
TransportAntigravity: Streamable HTTP only. VS Code and Claude Code: HTTP first, SSE fallback. Claude Code calls SSE deprecatedInstallServe Streamable HTTP; keep SSE only for clients that need it
Address keyurl, serverUrl, servers, context_serversInstallOne snippet per client, never one for all
Client registrationClaude: 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 DCRAuthorizeSupport Dynamic Client Registration so a URL is all anyone needs
Refresh tokensOpenAI and Cursor both say people sign in again if none are issuedReturnIssue refresh tokens; OpenAI says to include offline_access
Network originClaude connects from Anthropic's cloud, port 443 only; ChatGPT needs a public endpoint or its tunnelInstallPublic HTTPS on 443; no localhost addresses on a setup page
How a chat picks your toolsClaude: per-chat toggle. ChatGPT and Gemini: @mention per message. IDEs: automatic when relevant, with approvalFirst tool callA starter prompt per client, written the way that client expects
Output limitsClaude Code warns above 10,000 tokens; default maximum 25,000. Antigravity times out a call after 180 s by defaultFirst valueShort 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.

  1. 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).
  2. 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 localhost address works only in clients running on the same machine (general).
  3. Match the transport. If the server only speaks SSE, Antigravity won't connect to it; Claude Code needs --transport sse on older versions.
  4. Check the key name if you edited a file: see the list above.
  5. 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-Authenticate header 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.
  6. 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).
  7. If you keep signing in again, the provider probably isn't issuing refresh tokens. OpenAI and Cursor both say so.
  8. Find the log. VS Code: MCP: List Servers > Show Output. Cursor: Output panel > MCP Logs. JetBrains: Help > Show Log, mcp folder. Antigravity and Claude Code: /mcp. Zed: the tooltip on the status dot.
  9. 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).
  10. 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:

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.

Cite as: Uppal, S. (2026). Connect any MCP server to any AI client: the field guide. sachinuppal.com.