← Learn · 2026-12-01

How to connect an MCP server to ChatGPT, Claude, and Gemini

A hosted MCP server gives you one thing: an HTTPS endpoint (for example https://mcpgrid.io/mcp/arxiv). What you do with it differs per agent:

Claude

Settings → Connectors → Add custom connector → paste the endpoint URL. If the server needs sign-in, Claude walks you through its OAuth flow. The server's tools then appear in chat.

ChatGPT

In developer/plugin flows, add the MCP server URL in the plugin or connector settings and complete the server's sign-in if it has one. Tool changes on the server may trigger a re-scan — expect hosted servers to ask you to reconnect after big updates.

Gemini

Gemini's Connected Apps path is newer and partly gated by developer-preview access. Servers are added through the Connected Apps console rather than a simple in-chat paste, today.

Coding agents (Claude Code, Codex, Muse)

These take a small JSON config naming the server and its URL — every server page in Discover includes the exact copy-paste block for each client, so you never have to translate formats by hand.

The common gotchas