Configuring Claude Code

May 13, 2026 ยท View on GitHub

Claude Code supports MCP servers natively. Add the server to your project configuration:

claude mcp add confluent -- npx -y @confluentinc/mcp-confluent --config /path/to/config.yaml

Or add it to your .mcp.json file directly:

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

See CONFIGURATION.md for what to put in config.yaml. Legacy env-var configuration (-e /path/to/config.env) still works during the deprecation window.