Data coding-agents/

MCP client config reference

Where 12 MCP clients keep their server config, which transports they speak, how they sign in to remote servers and what admins can lock down, each row checked against the vendor's own docs.

Published
Read
3 min
Source
Markdown

Checked Dec 6, 202612 rowsLicence CC BY 4.0

ClientVendorConfig fileFormatScopesTransportsRemote OAuthAdmin controlsDocsSource
Antigravity CLIGoogle~/.gemini/config/mcp_config.json (global); <workspace>/.agents/mcp_config.json (workspace); enabled plugins can add their own mcp_config.jsonJSON, mcpServers map; same schema for the Antigravity app, IDE and CLIGlobal (all projects), workspace, pluginstdio (command); Streamable HTTP (serverUrl or url); legacy HTTP+SSE not supportedYes. Automatic OAuth 2.0 with PKCE for servers that support CIMD or DCR; otherwise oauth.clientId and optional oauth.clientSecret; tokens stored in ~/.gemini/antigravity/mcp_oauth_tokens.jsonGemini Enterprise AI developer tools settings: MCP servers toggle (off by default) and an Allowed server configuration JSON allowlist (local_servers, remote_servers); needs the Gemini Enterprise Admin role; requires Antigravity CLI 1.2.10 or laterhttps://antigravity.google/docs/mcpSource
ChatGPTOpenAINone: added on the web under Plugins > + > Add custom MCP server; workspace admins use Admin console > Plugins > Add > Create MCP pluginNot applicable (UI form)Personal plugin or workspace plugin; only admins and owners publish to the workspaceSSE and streaming HTTP to a public HTTPS endpoint; Secure MCP Tunnel for servers on private networks or developer machinesYes. OAuth with static credentials, CIMD or DCR; no authentication; or mixed (each tool declares OAuth or none); offline_access scope recommended for refresh tokensBusiness: only admins and owners create and publish MCP plugins. Enterprise/Edu: RBAC permission "Create plugins with MCPs"; only admins and owners publish. Full MCP on Business and Enterprise/Edu; Pro limited to read/fetchhttps://developers.openai.com/api/docs/guides/developer-modeSource
Claude CodeAnthropic~/.claude.json (local and user scopes); .mcp.json at the project root (project scope); managed-mcp.json at /Library/Application Support/ClaudeCode/ (macOS), /etc/claude-code/ (Linux, WSL) or C:\Program Files\ClaudeCode\ (Windows)JSON, mcpServers object; claude mcp add or claude mcp add-jsonLocal (default; this project, private), project (shared through .mcp.json), user (all projects); plus plugin servers, claude.ai connectors and managed serversstdio; HTTP (Streamable HTTP, recommended for remote; streamable-http accepted as an alias); SSE (deprecated); WebSocket (ws) in JSON config onlyYes. Sign in from /mcp or claude mcp login <name>; DCR and CIMD discovered automatically; pre-registered client with --client-id, --client-secret (kept in the macOS keychain or a credentials file) and --callback-port (redirect http://localhost:PORT/callback); oauth.scopes pins scopes; headersHelper for custom authmanaged-mcp.json takes exclusive control (an empty map disables MCP); managed settings keys managedMcpServers, allowedMcpServers and deniedMcpServers (match serverUrl, serverCommand or serverName) and allowManagedMcpServersOnly, delivered by server-managed settings, MDM, registry or managed-settings.jsonhttps://code.claude.com/docs/en/mcpSource
Claude DesktopAnthropicclaude_desktop_config.json for local servers: ~/Library/Application Support/Claude/ (macOS), %APPDATA%\Claude\ (Windows), ~/.config/Claude/ (Linux); remote servers are custom connectors on the claude.ai account, not in a fileJSON, mcpServers object (Settings > Developer > Edit Config); desktop extensions as .mcpb bundles; remote connectors added in the UIOne config file per user; custom connectors per account (Free, Pro, Max, Ultra; Free limited to one) or added by Owners for the organization (Team, Enterprise)stdio (config file and desktop extensions); remote connectors: Streamable HTTP, plus legacy HTTP+SSE (being deprecated), reached from Anthropic's infrastructure on port 443Yes, for custom connectors: Claude's OAuth client (CIMD), automatic registration (DCR) or your own client ID and secret; callback https://claude.ai/api/mcp/auth_callback; API key or request headers as alternativesMDM policy (macOS domain com.anthropic.claudefordesktop; Windows HKLM\SOFTWARE\Policies\Claude): isLocalDevMcpEnabled, isDesktopExtensionEnabled, isDesktopExtensionDirectoryEnabled; Enterprise organization settings Allow local MCP servers and Block all desktop extensions; Owners manage organization connectorshttps://claude.com/docs/connectors/custom/add-unlistedSource
Codex CLIOpenAI~/.codex/config.toml (user); .codex/config.toml in the project (trusted projects only); shared with the ChatGPT desktop app and the Codex IDE extensionTOML, one [mcp_servers.<name>] table per server; codex mcp addUser and project (trusted projects only); plugin-bundled servers under plugins.<plugin>.mcp_serversstdio; Streamable HTTP (url); SSE not documentedYes. codex mcp login <name> (--no-browser available); supports CIMD and DCR; a configured oauth.client_id (optional client_secret) skips registration; fixed callback with mcp_oauth_callback_port, mcp_oauth_callback_url or oauth.callback_port; credentials in keyring or file (mcp_oauth_credentials_store); bearer_token_env_var as an alternativerequirements.toml mcp_servers approved list: a server runs only if its name and identity (command or URL; exact, prefix or regex) match, and an empty list disables all; /etc/codex/requirements.toml (Unix), %ProgramData%\OpenAI\Codex\requirements.toml (Windows), macOS MDM com.openai.codex:requirements_toml_base64, or cloud-managed in Agent security in the ChatGPT Admin Consolehttps://learn.chatgpt.com/docs/extend/mcp?surface=cliSource
Devin Desktop (Windsurf)Cognition.devin/mcp_config.json (project); .devin/mcp_config.local.json (local, gitignored); ~/.config/devin/mcp_config.json (user; %APPDATA%\devin\mcp_config.json on Windows)JSON, mcpServers object; ${env:VAR} and ${file:/path} interpolationProject (shared through version control), local (personal overrides), user (all projects)stdio; Streamable HTTP (transport http, default for URL servers); SSE (transport sse, legacy)Yes, for each transport; browser sign-in, and Authenticate re-runs it when stored credentials expire; oauthClientId, oauthClientSecret, oauthScopes and oauthResource for pre-registered clientsEnterprise team settings under MCP & ACP: MCP allowlist and an MCP registry tab (registry URLs, union of all configured registries, official MCP registry schema); admins can default-allow trusted integrationshttps://docs.devin.ai/desktop/cascade/mcpSource
Gemini CLIGoogle~/.gemini/settings.json (user); .gemini/settings.json (project); system settings at /etc/gemini-cli/settings.json (Linux), C:\ProgramData\gemini-cli\settings.json (Windows), /Library/Application Support/GeminiCli/settings.json (macOS)JSON, mcpServers object in settings.json; gemini mcp addUser and project (gemini mcp add --scope, default project); system settings take precedence over bothstdio (command); SSE (url); Streamable HTTP (httpUrl)Yes, for SSE and HTTP servers: discovers OAuth endpoints after a 401 and performs DCR if supported; /mcp auth to sign in; default callback http://localhost:<random-port>/oauth/callback (custom redirectUri allowed); tokens in ~/.gemini/mcp-oauth-tokens.jsonSystem settings file: same-name servers resolve System > Workspace > User and users cannot override a system server; mcp.allowed and mcp.excluded name lists; per-server includeTools and excludeTools; Google says these are not a foolproof security boundaryhttps://geminicli.com/docs/tools/mcp-server/Source
GitHub Copilot CLIGitHub~/.copilot/mcp-config.json (user); .mcp.json or .github/mcp.json in the workspace, loaded from the working directory up to the Git root (.mcp.json wins); .vscode/mcp.json is not readJSON, mcpServers object (workspace files may omit the wrapper); copilot mcp add or /mcp addUser and workspace (trusted folders only); plugin-provided servers; --additional-mcp-config for one sessionstdio (type local or stdio, the default); http (Streamable HTTP; streamable-http alias); sse (legacy, deprecated)Yes. Browser OAuth by default (authorization code with PKCE and DCR); /mcp auth <server-name> re-runs it; oauthClientId for a static client; oauthGrantType client_credentials for headless use; --device-code forces the device code flow; --header as an alternativeOrganization or enterprise registry URL and allowlist policy apply to the CLI; the allowlist check is fail-closed; built-in default servers are exempthttps://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-serversSource
Grok Build (Cursor)Anysphere (part of SpaceX).cursor/mcp.json (project); ~/.cursor/mcp.json (global); the Grok Build terminal UI uses [mcp_servers] in config.toml and also reads .cursor/mcp.jsonJSON, mcpServers object; ${env:NAME}, ${userHome} and ${workspaceFolder} interpolationProject and global; team servers distributed through a team marketplacestdio; SSE; Streamable HTTPYes, for SSE and Streamable HTTP (authorization code with PKCE); static client in an auth object (CLIENT_ID required, CLIENT_SECRET and scopes optional); redirect URLs https://www.cursor.com/agents/mcp/oauth/callback (web and agents) and http://localhost:8787/callback (desktop app)Enterprise MCP allowlist in the team dashboard (MCP Configuration): command and URL entries with * wildcards, per-server tool controls and network policy; ~/.cursor/permissions.json via MDM sets the per-user auto-run allowlisthttps://docs.grok.com/build/agents-window/mcpSource
JetBrains AI AssistantJetBrainsnot documented (configured in Settings | Tools | AI Assistant | Model Context Protocol (MCP))UI form or pasted JSON in the mcpServers format; Import from Claude copies servers from a Claude Desktop configGlobal or current projectSTDIO; Streamable HTTP; SSE (legacy servers)not documentedJetBrains IDE Services or JetBrains Central: an administrator can preconfigure MCP servers and control whether users can add their ownhttps://www.jetbrains.com/help/ai-assistant/mcp.htmlSource
VS Code (GitHub Copilot)Microsoft (VS Code), GitHub (Copilot)Copilot harness: ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json) and .mcp.json at the workspace root (experimental setting); editor-managed Local harness (deprecated): .vscode/mcp.json and the user profile mcp.jsonJSON; mcpServers (portable Copilot format) or servers plus inputs (editor-managed format)User (Copilot Global, shared with Copilot CLI) and workspace; editor-managed workspace and user profilestdio; http (Streamable HTTP; the editor-managed client falls back to SSE); sse (legacy); editor-managed also unix:// sockets and pipe:// named pipesYes. Built-in GitHub and Microsoft Entra auth; other providers use a configured client ID (oauthClientId or oauth.clientId), a saved registration, or CIMD (client ID https://vscode.dev/oauth/client-metadata.json); client secret kept in VS Code secret storage; redirect URIs http://127.0.0.1:33418/ and https://vscode.dev/redirectDevice policies (Windows ADMX, macOS .mobileconfig, Linux /etc/vscode/policy.json): ChatMCP (chat.mcp.access), ChatAllowedMcpServers, ChatDeniedMcpServers, ChatAllowManagedMcpServersOnly, McpGalleryServiceUrl, McpEnterpriseManagedAuthIdp; GitHub's MCP servers in Copilot policy and enterprise allowlisthttps://code.visualstudio.com/docs/agents/reference/mcp-configurationSource
ZedZed Industriessettings.json: ~/.config/zed/settings.json (macOS, Linux; or $XDG_CONFIG_HOME/zed/settings.json), %APPDATA%\Zed\settings.json (Windows); written by Settings > AI > MCP ServersJSON, context_servers object; local servers use command, args, env; remote servers use url and headersUser settings; whether context_servers works in project .zed/settings.json is not documentednot documented by name (local servers run a command; remote servers take a url)Yes. With no Authorization header configured, Zed prompts for the standard MCP OAuth flow; client registration not documentednone documented (Business admin controls cover hosted models, edit predictions, collaboration and feedback, not third-party extensions)https://zed.dev/docs/ai/mcpSource
What each column means
client Client
The MCP client or host, under the name its vendor uses today. A former name is in parentheses.
vendor Vendor
Company that makes and documents the client
config_file Config file
Where MCP server definitions live on disk, per scope and operating system
config_format Format
File format, the top-level key servers sit under, and the CLI command or UI that writes it
scopes Scopes
The configuration levels the vendor documents, in the vendor's own words
transports Transports
stdio, Streamable HTTP and SSE support as documented, including deprecations
remote_oauth Remote OAuth
Whether the client signs in to remote servers with OAuth, and how: client registration method, callback, token storage
admin_controls Admin controls
The enterprise mechanism the vendor documents for restricting MCP servers, or "none documented"
docs_url Docs
Vendor's main MCP setup page for the client
source_url Source
Second vendor page the row was checked against, usually the admin, policy or config-reference page

Checked against: each client’s vendor documentation, linked in the Docs and Source columns and on every client’s page, December 6, 2026.

What is in this table?

This table has one row for each MCP client that developers configure by hand: coding agents, editors, desktop apps and ChatGPT. As of December 6, 2026 it covers 12 clients from 9 vendors. Rows are sorted alphabetically, and the order means nothing else. This is a reference, not a ranking.

Each row answers the questions you hit when you add a server: which file to edit, which scope to put it in, which transport the client speaks, how it signs in to a remote server, and what an administrator can enforce. Each client also has its own page with notes on precedence rules, renamed paths and the limits worth knowing.

How was each row checked?

Every cell restates what the vendor’s current documentation says, read on December 6, 2026. We have not run these clients for this table, so nothing here is a test result.

“not documented” means the vendor pages we read don’t say. It doesn’t mean the feature is missing. Zed’s docs, for example, describe local and remote servers but never name the transport. “none documented” in the admin column means we found no vendor-documented way to restrict MCP servers across an organization.

One cell uses a source that isn’t the vendor’s own: Anthropic’s help center doesn’t print Claude Desktop’s config file path, so that path comes from the MCP project’s guide to connecting local servers, which uses Claude Desktop as its example. The Claude Desktop page says so.

Which clients changed names or config paths?

Three changes in 2026 affect which name to search for or which file to edit:

  • Cursor is now Grok Build. Grok’s announcement is dated November 30, 2026. The docs still use .cursor/mcp.json and ~/.cursor/mcp.json. See Cursor MCP config.
  • Windsurf is now Devin Desktop. The MCP config now lives in .devin/mcp_config.json and ~/.config/devin/mcp_config.json.
  • Gemini CLI was replaced by Antigravity CLI for unpaid tier and Google One users on June 18, 2026, per Gemini CLI’s docs. Antigravity CLI reads a different file, ~/.gemini/config/mcp_config.json, and doesn’t support SSE. Both have rows. See Gemini CLI MCP config.

VS Code is also moving. Its editor-managed .vscode/mcp.json belongs to the Local harness, which VS Code’s docs say “is deprecated and will be removed in February 2027.” The Copilot harness reads ~/.copilot/mcp-config.json, the same file Copilot CLI uses. See VS Code MCP config.

What do the columns mean?

  • Config file uses ~ for your home directory and %APPDATA% or %ProgramData% for Windows folders, as the vendors write them. Admin-only files, such as Claude Code’s managed-mcp.json, are included because they decide what loads.
  • Scopes keeps each vendor’s own terms. Claude Code’s “local” scope is private to one project, while Devin Desktop’s “local” file is a gitignored override. They are not the same thing. See Claude Code MCP config.
  • Transports names stdio, Streamable HTTP and the older HTTP+SSE transport. Several clients mark SSE as deprecated or legacy, and Antigravity CLI doesn’t accept it.
  • Remote OAuth records how the client gets an OAuth client identity: Dynamic Client Registration, a Client ID Metadata Document (CIMD), or a client ID you register yourself. It also gives the callback URL or port where the docs give one. That matters when an authorization server only accepts pre-registered redirect URIs.
  • Admin controls covers policy files, MDM keys and admin-console settings. Some match servers by name only, which a user can get around by renaming a server. Claude Code’s docs and GitHub’s say so directly. Codex CLI’s requirements.toml matches on name plus command or URL; see Codex CLI MCP config.

How can I reuse the data?

Download the CSV or JSON above. The data is licensed CC BY 4.0. Credit “Agents for Devs, MCP client config reference, checked 2026-12-06” and link back. If a vendor’s docs have changed since that date, the vendor’s docs win. Row changes are recorded in the changelog with their date.

Changelog

  • First published with 12 clients.

Cite this page

Agents for Devs. "MCP client config reference." Published Dec 6, 2026. https://agentsfordevs.com/mcp-clients
Cite one section