CodeIndex
← Back to Resources

How to set up the CIDX MCP on Claude Code

This walkthrough explains how to enable CIDX MCP within Claude Code.

Last Updated: May 13, 2025

  1. Open Claude Code preferences
  2. Add the configuration below
    {
      "mcpServers": {
        "cidx-mcp": {
          "command": "npx",
          "args": [
            "cidx@latest"
          ]
        }
      }
    }
    If other servers exist, use this snippet:
      "cidx-mcp": {
        "command": "npx",
        "args": [
          "cidx@latest"
        ]
      }
    Example with another server:
    {
      "mcpServers": {
        "cidx-mcp": {
          "command": "npx",
          "args": ["cidx@latest"]
        },
        "dummy-server": {
          "command": "dummy",
          "args": ["--mcp"]
        }
      }
    }
  3. Restart Claude Code

For additional assistance, check our Resources page.