Configuring VS Code

May 13, 2026 ยท View on GitHub

Add the MCP server to your VS Code user settings (settings.json) or workspace .vscode/mcp.json:

{
  "servers": {
    "confluent": {
      "command": "npx",
      "args": [
        "-y",
        "@confluentinc/mcp-confluent",
        "--config",
        "/path/to/config.yaml"
      ]
    }
  }
}

See CONFIGURATION.md for what to put in config.yaml, and the VS Code MCP documentation for client-side details. Legacy env-var configuration (-e /path/to/config.env) still works during the deprecation window.

For starting and restarting the server within VS Code, open the mcp.json settings file and use the IDE's built-in codelens actions.