MCPX translates the single canonicalDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/davidpastorvicente/mcpx-cli/llms.txt
Use this file to discover all available pages before exploring further.
.agents/mcp.json file into 8 different provider-specific configuration formats. Each provider has its own file location, root key, serialization format, and field-naming conventions. You never need to touch these generated files directly — MCPX manages them for you. This page documents exactly what each provider expects so you understand what MCPX produces and why.
Valid provider IDs
The following IDs are accepted in theproviders array of the canonical config file:
antigravity-cliclaude-codecopilot-cliintellijkimi-cliopenai-codexopencodevscode
Provider details
Claude Code
Claude Code
Provider ID:
Field mappings:
claude-code| Aspect | Detail |
|---|---|
| Project config | .mcp.json |
| Global config | ~/.claude.json |
| Format | JSON |
| Root key | mcpServers |
| Scope support | Project and global |
- Every server entry receives an explicit
typefield set to"stdio"or"http"matching the canonicaltransportvalue. envmaps directly toenv.- HTTP servers emit
urland optionalheaders.
~/.claude.json, MCPX merges the mcpServers key into the existing file so that other Claude Code settings (such as preferences) are preserved.Example output (project):Antigravity CLI
Antigravity CLI
Provider ID:
Field mappings:
antigravity-cli| Aspect | Detail |
|---|---|
| Project config | .gemini/config/mcp_config.json |
| Global config | ~/.gemini/config/mcp_config.json |
| Format | JSON |
| Root key | mcpServers |
| Scope support | Project and global |
- Unlike most other providers, Antigravity CLI does not emit a
typefield. - HTTP servers use
serverUrl(noturl) for the remote endpoint. - Disabled servers (where
enabled: false) are included in the output withdisabled: truerather than omitted. envandheadersmap directly.
Kimi CLI
Kimi CLI
Provider ID:
Field mappings:
kimi-cli| Aspect | Detail |
|---|---|
| Project config | .kimi-code/mcp.json |
| Global config | ~/.kimi-code/mcp.json |
| Format | JSON |
| Root key | mcpServers |
| Scope support | Project and global |
- No
typefield is emitted. - HTTP servers emit
urldirectly. envandheadersmap directly.- Disabled servers are omitted from output entirely.
$KIMI_CODE_HOME environment variable. If KIMI_CODE_HOME is set, MCPX writes the global config to $KIMI_CODE_HOME/mcp.json instead of ~/.kimi-code/mcp.json.Example output:OpenAI Codex
OpenAI Codex
Provider ID:
Field mappings:
openai-codex| Aspect | Detail |
|---|---|
| Project config | .codex/config.toml |
| Global config | ~/.codex/config.toml |
| Format | TOML |
| Root key | mcp_servers |
| Scope support | Project and global |
- The only provider that uses TOML format instead of JSON.
- The root key is
mcp_servers(underscore, not camelCase). - HTTP servers emit
urlandhttp_headers(notheaders). - Disabled servers are omitted.
.codex/config.toml already exists, MCPX parses the full file, replaces only the mcp_servers table, and re-serializes it. This preserves any existing Codex settings such as model, approval_mode, and custom instructions.Example output:OpenCode
OpenCode
Provider ID:
Field mappings:
opencode| Aspect | Detail |
|---|---|
| Project config | opencode.json |
| Global config | ~/.config/opencode/opencode.jsonc (falls back to ~/.config/opencode/opencode.json) |
| Format | JSONC (global) / JSON (project) |
| Root key | mcp |
| Scope support | Project and global |
commandandargsare merged into a single array under thecommandkey:[command, ...args].- Environment variables are stored under
environment(notenv). - stdio servers receive
type: "local". - HTTP servers receive
type: "remote". - The
enabledfield is written explicitly in every server entry. - The generated file always includes a
$schemakey pointing to the OpenCode config schema.
Copilot CLI
Copilot CLI
Provider ID:
Field mappings:
copilot-cli| Aspect | Detail |
|---|---|
| Project config | .copilot/mcp-config.json |
| Global config | ~/.copilot/mcp-config.json |
| Format | JSON |
| Root key | mcpServers |
| Scope support | Project and global |
- Every server entry receives an explicit
typefield ("stdio"or"http"). - Every server entry also receives a
toolsfield defaulted to["*"], which grants access to all tools exposed by that server. - Disabled servers are omitted.
envandheadersmap directly.
VS Code
VS Code
Provider ID:
Field mappings:
vscode| Aspect | Detail |
|---|---|
| Project config | .vscode/mcp.json |
| Global config | Not supported |
| Format | JSON |
| Root key | servers |
| Scope support | Project only |
- Root key is
servers(notmcpServers). - Every server entry receives an explicit
typefield. - HTTP transport is mapped to
type: "sse"(not"http"), because VS Code uses the SSE transport label for remote servers. - Disabled servers are omitted.
envandheadersmap directly.
IntelliJ IDEA
IntelliJ IDEA
Provider ID:
Field mappings:
intellij| Aspect | Detail |
|---|---|
| Project config | .idea/mcp.json |
| Global config | Not supported |
| Format | JSON |
| Root key | mcpServers |
| Scope support | Project only |
- No
typefield is emitted. IntelliJ IDEA infers the transport type from the presence ofcommand(stdio) orurl(HTTP). envandheadersmap directly.- Disabled servers are omitted.
Summary table
| Provider ID | Display Name | Format | Project Config | Global Config |
|---|---|---|---|---|
claude-code | Claude Code | JSON | .mcp.json | ~/.claude.json |
antigravity-cli | Antigravity CLI | JSON | .gemini/config/mcp_config.json | ~/.gemini/config/mcp_config.json |
kimi-cli | Kimi CLI | JSON | .kimi-code/mcp.json | ~/.kimi-code/mcp.json |
openai-codex | OpenAI Codex | TOML | .codex/config.toml | ~/.codex/config.toml |
opencode | OpenCode | JSONC/JSON | opencode.json | ~/.config/opencode/opencode.jsonc |
copilot-cli | Copilot CLI | JSON | .copilot/mcp-config.json | ~/.copilot/mcp-config.json |
vscode | VS Code | JSON | .vscode/mcp.json | Not supported |
intellij | IntelliJ IDEA | JSON | .idea/mcp.json | Not supported |
When a provider is removed from the
providers array and mcpx sync is run,
MCPX deletes that provider’s config file for the active scope. Make sure the
file is not checked in anywhere critical before removing a provider, or commit
the deletion intentionally.