Skip to content

Cursor

Connect AllMCP to Cursor for use in AI agent mode.

Get your API key Browse providers

Click the button and approve the dialog inside Cursor — no key, no config editing. Cursor runs the AllMCP sign-in itself the first time the server connects:

Add to Cursor

One command, no placeholder editing — keyless by default (Cursor runs the OAuth sign-in itself):

Terminal window
npx allmcp install cursor

It backs up ~/.cursor/mcp.json to mcp.json.bak and merges AllMCP in alongside your other servers. Then reload the Cursor window.

Want a pinned API key instead of OAuth? Add --key YOUR_API_KEY (or set the ALLMCP_KEY environment variable). Or run the full interactive setup — sign-in, auto-detect, verify — with a bare npx allmcp.


  1. Locate the config file

    Cursor supports both global and project-level MCP config:

    ScopePath
    Global (all projects)~/.cursor/mcp.json
    Project-local.cursor/mcp.json in your project root
  2. Add the allmcp block

    Keyless (recommended) — Cursor indexes tools once, so use the full-catalog URL; the sign-in happens in your browser on first use:

    mcp.json
    {
    "mcpServers": {
    "allmcp": {
    "url": "https://go.allmcp.co/mcp/?full_catalog=true"
    }
    }
    }

    Or pin an API key instead of OAuth (CI, shared machines):

    mcp.json
    {
    "mcpServers": {
    "allmcp": {
    "url": "https://go.allmcp.co/mcp/?full_catalog=true",
    "headers": {
    "X-API-Key": "YOUR_API_KEY"
    }
    }
    }
    }
  3. Apply the config

    Reload the Cursor window:

    Ctrl+Shift+P → Developer: Reload Window

    Or close and reopen Cursor.

  4. Verify it’s working

    Open the Cursor agent panel (Ctrl+L → switch to Agent mode) and type:

    List available AllMCP integrations

If different projects connect to different users’ accounts, use a project-level .cursor/mcp.json with a user_id (user scoping rides on API-key auth, so this variant carries a key):

.cursor/mcp.json
{
"mcpServers": {
"allmcp": {
"url": "https://go.allmcp.co/mcp/?full_catalog=true&user_id=project-owner-uuid",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}