CodeIndex
← Back to Resources

How to set up the CIDX MCP on Zed

This guide shows how to configure the CIDX MCP within the Zed editor.

Last Updated: May 13, 2025

  1. Open Zed preferences

    Under Extensions, find the MCP configuration section.

  2. Insert the configuration below
    {
      "mcpServers": {
        "cidx-mcp": {
          "command": "npx",
          "args": [
            "cidx@latest"
          ]
        }
      }
    }
    Already have other servers?
      "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. Save preferences and restart Zed

For more help, visit our Resources page.