MCPX gives you a single canonical config file —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.
.agents/mcp.json — and automatically generates the correct config format for every AI tool you use. This guide takes you from a fresh installation to a fully-configured project with working provider files for Claude Code, GitHub Copilot, VS Code, and more.
Prerequisites
- Node.js >= 20 (check with
node --version) - A project directory you want to configure
- At least one supported AI tool installed: Claude Code, GitHub Copilot CLI, VS Code, Kimi CLI, Antigravity CLI, OpenAI Codex, OpenCode, or IntelliJ IDEA
.agents/mcp.json inside your project folder (recommended for per-project servers)~/.agents/mcp.json for your user account (if you run mcpx from your home directory, MCPX selects global scope automatically)If MCPX finds existing provider config files in the directory (e.g. an existing
.mcp.json from Claude Code), it shows you what it detected and asks whether to import those servers — select Yes to bring them in automatically.If no existing configs are detected, the wizard enters server setup mode. For each server you add, you’ll be asked:
github, jira, or my-server (letters, numbers, hyphens, dots, and underscores)stdio for a local command, or http for a remote server URLenv map (stdio); or Headers — key/value pairs sent with every request (http)After configuring at least one server, the wizard asks you to select providers — the AI tools you want MCPX to generate config files for. Use the spacebar to toggle each one, then press Enter.
{
"version": 1,
"providers": [
"claude-code",
"copilot-cli",
"vscode"
],
"servers": {
"github": {
"enabled": true,
"transport": "stdio",
"command": "npx",
"args": ["-y", "@anthropic-ai/mcp-github-server"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_xxx"
}
}
}
}
MCPX also created a provider config file for each selected provider. For the example above you would see:
.mcp.json.copilot/mcp-config.json.vscode/mcp.jsonEach file uses the correct format, field names, and structure required by that tool — you don’t need to touch them.
This compares each provider file against what MCPX would generate from
.agents/mcp.json and reports one of three states per provider:Example: adding a stdio server (npx-based GitHub server)
Here is what the wizard looks like when adding annpx-based GitHub MCP server:
.agents/mcp.json:
Example: adding an http server with an authorization header
For a remote MCP server that requires a bearer token, choosehttp transport:
.agents/mcp.json: