No single MCP config path works for every AI agent. The file, format, and root key all depend on the app you are using.

This is the reference to check before you add, edit, or remove a server.

TL;DR: Find your agent in the table, confirm user or project scope, check the root key, and back up the file before you touch it.

BFrost inventory showing MCP servers across tools

MCP config file locations table

AgentUser-scope pathProject-scope pathFormatRoot key or structure
Claude Code~/.claude.json.mcp.jsonJSONClaude native MCP structure
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonNoneJSONStandard desktop MCP structure
Codex~/.codex/config.toml.codex/config.tomlTOMLmcp_servers
Cursor~/.cursor/mcp.json.cursor/mcp.jsonJSONmcpServers
VS Codeprofile mcp.json.vscode/mcp.jsonJSONservers
Windsurf~/.codeium/windsurf/mcp_config.jsonNoneJSONmcpServers
Gemini CLI~/.gemini/settings.json.gemini/settings.jsonJSONmcpServers
OpenCode~/.config/opencode/opencode.jsonopencode.jsonJSONmcp.servers
Antigravity IDE~/.gemini/config/mcp_config.json.agents/mcp_config.jsonJSONmcpServers; serverUrl for remote

Why the root key matters

Most files in this list are JSON, but their structure is not identical. Cursor uses mcpServers. VS Code uses servers. Codex uses TOML with mcp_servers.

So a block copied from one app can be valid JSON and still be wrong for the next app.

User scope versus project scope

Use user scope for a server you want available across your work. Use project scope for a server that belongs to one repository.

Claude Code, Codex, Cursor, VS Code, Gemini CLI, OpenCode, and Antigravity IDE all have project-level locations in this table. A change to your user file may not affect the project you are working in right now.

A quick editing checklist

  1. Confirm the path in the table.
  2. Confirm user or project scope.
  3. Confirm the root key and file format.
  4. Make a backup.
  5. Re-open the file after saving, then test the server.

BFrost reads every path in this table natively — the feature list shows what it does for each agent.

BFrost settings and source visibility

FAQ

Where is the Claude Desktop MCP configuration file located?

On macOS, the path is ~/Library/Application Support/Claude/claude_desktop_config.json.

Where is the Cursor MCP config file located?

The user path is ~/.cursor/mcp.json. Project-scoped configuration lives at .cursor/mcp.json.

Does VS Code use mcpServers as its root key?

No. VS Code uses servers in its profile mcp.json and .vscode/mcp.json files.

Which agent in this list uses TOML?

Codex uses TOML at ~/.codex/config.toml and .codex/config.toml.