Sachin Uppal

MJO · Connect guide · Gemini

How to connect an MCP server to Gemini

By Sachin Uppal · 26 November 2026 · 3 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.

The Gemini app calls a remote MCP server a custom app, added under Connected Apps on gemini.google.com. Google's help page sets tight conditions on who can add one, so read "What you need" first.

For MCP Journey Optimization, Gemini is the client where eligibility is the first leak: a person outside the stated conditions cannot reach the Install stage at all. The comparison with every other client is in the field guide.

What you need

Google's help page "Connect custom apps" lists these conditions:

Google's general Connected Apps page adds that availability varies by location, language, device and Gemini app.

Steps

  1. Go to gemini.google.com.
  2. At the bottom, click Settings, then Connected Apps. If you don't see it, click Personal Intelligence, then Connected Apps.
  3. Under "Custom apps", use the "Add a custom app link to get started" field, or click Add a custom app.
  4. Enter the app's MCP server URL.
  5. If the server doesn't support Dynamic Client Registration, click Show more next to "Advanced features" and enter the credentials the provider gave you.
  6. Click Next.
  7. Follow the on-screen instructions, including signing in on the provider's page.

Before connecting, Google says to make sure you trust the provider: it does not control, monitor or secure third-party MCP servers.

Use it in a chat

Type @ and select the app to make Gemini use it for that prompt. Google says Gemini asks for manual confirmation for write actions, though it can make mistakes.

What it looks like (captured 26 Nov 2026)

The real status Gemini CLI reported for a server configured in a folder it did not yet trust.

Terminal: gemini mcp list warning that servers are disabled in an untrusted folder
Gemini CLI disables MCP servers, including user-level ones, until you trust the folder.

Try it

Use something read-only first. For the CrushedWithIt server (used here as the example name):

@CrushedWithIt show my account and how many credits I can spend now.

For any other server: "@<app> list what you can do and run the simplest read-only action."

Common errors and fixes

What you seeFixBasis
No "Custom apps" sectionCheck the conditions: 18+, US, personal account, English, History on, web app.Google help page
Sign-in can't startThe server may not support Dynamic Client Registration. Use Show more next to "Advanced features" and enter the provider's client credentials.Google help page
401 or 403 errors (server builders)Google's Developer Mode guide says to check token state and credentials in its Authentication tab. Developer Mode lives at Settings > Gemini Apps Developer Mode.Google developer page
Error -32602 (server builders)Invalid parameters: compare the generated arguments with the schema in Developer Mode's Tool Schemas tab.Google developer page
App connected but unused@mention it in the prompt. General: write tool descriptions the model can match to the request.Google help page; general advice

How to disconnect

What about Gemini CLI?

Gemini CLI has its own MCP configuration (gemini mcp add --transport http <name> <url>, stored in settings.json). Its documentation now carries a banner saying it "was replaced by Antigravity CLI on June 18th, 2026", so for Google's coding tools see the Antigravity guide.

Sources

Google's two help pages describe the management screens slightly differently (one says Customize > Connectors, the other Settings > Connected Apps). We follow the custom-apps page; use whichever your screen shows. Screenshots are being added.

Other clients: the MCP field guide compares all ten. The framework: MCP Journey Optimization (MJO).

Cite as: Uppal, S. (2026). How to connect an MCP server to Gemini. sachinuppal.com.