mysi Find

Brief in AI engineering

MCP client configuration files

States where MCP clients keep their server lists, their top-level keys, variable syntax, defaults and scopes.

Most clients use a JSON object keyed mcpServers. Exceptions: VS Code editor files use servers, Zed uses context_servers, Codex uses TOML tables [mcp_servers.<name>]. Cursor docs now redirect to Grok Build; Windsurf docs now redirect to Devin Desktop.

Facts

Client Setting Value
Claude Code Entry with no type Read as a stdio server [1]
Claude Code Entry with url but no type Configuration error; Claude Code skips that server [1]
Claude Code type: "streamable-http" Accepted as an alias for http [1]
Claude Code Default scope of claude mcp add Local; --scope project or --scope user changes it [1]
Claude Code -- in claude mcp add Separates Claude's own options from the stdio server command [1]
Codex startup_timeout_sec default 10 seconds [2]
Codex tool_timeout_sec default 60 seconds [2]
Codex disabled_tools Deny list, applied after the enabled_tools allow list [2]
VS Code Portable user file (key mcpServers) $COPILOT_HOME/mcp-config.json, else ~/.copilot/mcp-config.json [3]
VS Code Portable workspace file .mcp.json at the workspace root, offered when the experimental setting chat.mcp.workspaceRootConfig.enabled is on [3]
VS Code Editor-managed files .vscode/mcp.json and profile mcp.json, top-level key servers [3]
VS Code Editor-only fields inputs, envFile, dev, sandboxEnabled; not for portable files [3]
VS Code Variables in portable files ${NAME} or ${NAME:-default} [3]
VS Code Variables in editor-managed files ${env:NAME}; prompts use ${input:id} [3]
VS Code Bare $NAME Literal text in the VS Code MCP client [3]
VS Code Local harness (reads the editor-managed files) Deprecated; removed in February 2027 [3]
Grok Build Global file ~/.cursor/mcp.json Read by the editor and by the Grok Build TUI [4]
Grok Build Hosted cloud agents Do not read ~/.cursor/mcp.json; use servers configured at cursor.com/agents [4]
Grok Build Variable syntax ${env:NAME}, ${userHome}, ${workspaceFolder} [4]
Grok Build Fields where variables resolve command, args, env, url, headers [4]
Grok Build envFile Stdio servers only [4]
Gemini CLI timeout default 600,000 milliseconds (10 minutes) [5]
Gemini CLI Tool in both includeTools and excludeTools Excluded [5]
Gemini CLI gemini mcp add -s user Writes ~/.gemini/settings.json [5]
Gemini CLI gemini mcp add -s project Writes .gemini/settings.json; project is the default [5]
Zed Remote server with no authorization header Zed prompts the user to authenticate [6]
Devin Desktop Project file, shared via version control .devin/mcp_config.json [7]
Devin Desktop Local override, gitignored .devin/mcp_config.local.json [7]
Devin Desktop User file ~/.config/devin/mcp_config.json [7]
Devin CLI Remote entry fields url and transport (http or sse) under mcpServers [8]
Devin CLI Default scope for new servers Local (.devin/mcp_config.local.json) [8]
Devin CLI Since v3000.3 Servers moved from config.json to the mcp_config files; old entries migrate at startup [8]

Use it for

  • Choosing the file and top-level key when writing an MCP entry for a given client.
  • Converting one entry between clients (remote URL field, type field, variable syntax).
  • Not for authentication flows, managed policy files or client versions.

Sources

Pairs with

Tested

Tested 4 Dec 2026: claude-haiku-5-5 stated 1 of its 32 facts without this page and 29 with it; claude-fable-5-2 stated 1 of its 32 facts without this page and 32 with it.

Changes

Cite as: mysi, MCP client configuration files, mysi.dev/mcp-client-config, version 1, changed 2026-12-04. Text and data CC BY 4.0.