If you already have MCP servers configured in one of your AI tools,Documentation 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.
mcpx import reads that provider’s existing config file, parses the server definitions, and merges your selected servers into .agents/mcp.json. This is the quickest path to getting MCPX set up in a project that already has one or more provider configs — no manual copy-paste required.
Arguments
| Argument | Required | Description |
|---|---|---|
[provider] | No | Provider ID to import from. If omitted, MCPX detects all present configs and shows an interactive picker. |
claude-code, antigravity-cli, kimi-cli, openai-codex, opencode, copilot-cli, vscode, intellij.
Import flow
Scan for existing configs
MCPX scans the target directory (and global paths, depending on scope) for all supported provider config files.
Show detected configurations
A summary is displayed listing each detected provider, the config file path, and the number of servers found inside it.
Select a provider
If
[provider] was not specified on the command line, MCPX shows an interactive list of the detected providers. Select the one you want to import from.Choose servers to import
MCPX parses the selected provider’s config and presents a multi-select list of all servers found. All servers are pre-selected; deselect any you want to skip.
Save to canonical config
The selected servers are written into
.agents/mcp.json. If no canonical config exists yet, MCPX creates a minimal one before importing.Examples
Provider reference
| Provider ID | Display Name | Config file |
|---|---|---|
claude-code | Claude Code | .mcp.json |
antigravity-cli | Antigravity CLI | .gemini/config/mcp_config.json |
kimi-cli | Kimi CLI | .kimi-code/mcp.json |
openai-codex | OpenAI Codex | .codex/config.toml |
opencode | OpenCode | opencode.json |
copilot-cli | Copilot CLI | .copilot/mcp-config.json |
vscode | VS Code | .vscode/mcp.json |
intellij | IntelliJ IDEA | .idea/mcp.json |
If no
.agents/mcp.json exists when you run mcpx import, MCPX automatically creates a minimal canonical config before writing the imported servers. You can then run mcpx init to select providers and generate their config files.