CodeIndex
← Back to Resources

How to set up the CIDX MCP on VS Code

Follow these steps to enable the CIDX MCP inside Visual Studio Code without any additional extensions.

Last Updated: May 13, 2025

  1. Open the MCP settings

    Open the command palette (Ctrl+Shift+P) and search for MCP: Configure.

  2. Paste the following configuration
    {
      "mcpServers": {
        "cidx-mcp": {
          "command": "npx",
          "args": [
            "cidx@latest"
          ]
        }
      }
    }
    If you already have other servers defined, use this chunk:
      "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 and reload

    After saving the settings file, reload VS Code to start using CIDX MCP.

Need help? Visit our Resources page or contact support.