After your initial MCPX setup, you manage your server roster through a handful of focused commands. Every mutation command —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.
add, remove, enable, disable — automatically reads .agents/mcp.json, applies the change, and regenerates all provider config files so everything stays in sync without any extra steps.
Adding a server
Usemcpx add to launch the interactive server wizard:
- Server name — a short identifier (letters, numbers, hyphens, dots, and underscores)
- Transport type —
stdio(local command) orhttp(remote URL) - Command (stdio) — the executable to run, e.g.
uvx,npx,docker - Arguments (stdio) — comma-separated args passed to the command
- Environment variables (stdio) — key/value pairs for the server process
- URL (http) — the remote server endpoint
- Headers (http) — key/value pairs sent with every request
.agents/mcp.json and updates all provider files. The new entry looks like this:
.agents/mcp.json, MCPX will warn you and abort. Either choose a different name or remove the existing entry first.
Temporarily disabling a server
Disabling a server keeps its configuration in.agents/mcp.json but tells MCPX to omit it from all generated provider files. This is useful when you want to pause a server without losing its settings.
"enabled": false in .agents/mcp.json and regenerates all provider files immediately.
To bring the server back:
"enabled": true and re-adds the server to every provider file.
Removing a server permanently
.agents/mcp.json and all provider files are regenerated without it.
Listing all servers
.agents/mcp.json, showing its name, transport, command or URL, and enabled status.
Checking provider sync status
.agents/mcp.json and reports one of three states for each configured provider:
| Status | Meaning |
|---|---|
sync | The provider file matches MCPX’s expected output exactly |
desync | The file exists but its contents differ from expected (e.g. edited manually) |
missing | The provider file does not exist on disk |
desync or missing, run:
.agents/mcp.json.
Manually editing .agents/mcp.json
Direct edits to .agents/mcp.json are fully supported. The file is plain JSON and you can add, change, or remove server entries, update the providers list, or toggle enabled flags with any text editor. The canonical field order MCPX expects is:
mcpx sync to push the changes out to all provider files:
created, updated, unchanged, or error so you can see exactly what changed.