Confluent MCP Server
Published
At a glance
- Category
- Data & analytics
- GitHub repository
- confluentinc/mcp-confluent
- Watch out for
- Support is community-based and best-effort, with no service level commitments from Confluent.
Confluent publishes mcp-confluent, an open-source MCP server on npm as @confluentinc/mcp-confluent. It talks to Confluent Cloud, self-managed Confluent Platform and plain Apache Kafka clusters, so an agent can list topics, produce and consume messages, run Flink SQL, inspect connectors and manage Schema Registry subjects from a chat prompt.
It runs locally on Node.js 22.23.4 or later. The default transport is stdio, and the CLI can also serve over HTTP and SSE (the --transport flag takes http, sse and stdio), with the HTTP port set in config.yaml. Which tools show up depends on which service blocks you put in that config file, so a config pointing only at a local broker exposes a much smaller set than a full Confluent Cloud one.
The README is clear that this is a community-supported project with best-effort support and no service level commitments. Confluent Cloud customers who do not need self-managed Kafka support are pointed to a separate, fully managed MCP server instead.
How it connects
Your AI app
An assistant or agent that supports MCP
Confluent MCP Server
Runs as
- npx (Node.js)
Gives the agent
- Kafka topics and messages
- Consumer groups
- Flink SQL
- Connectors
- Schema Registry and tags
- Tableflow, metrics and billing
- Docs and diagnostics
Confluent
Signs in with
- OAuth / browser sign-in
What it can do
- Kafka topics and messages
- list-topics, create-topics, delete-topics, produce-message and consume-messages cover day-to-day topic work, and alter-topic-config and get-topic-config handle settings on Confluent Cloud.
- Consumer groups
- list-consumer-groups, describe-consumer-group and get-consumer-group-lag let an agent check who is reading a topic and how far behind they are.
- Flink SQL
- create-flink-statement, list-flink-statements and get-flink-statement-results run and read queries, while check-flink-statement-health and detect-flink-statement-issues help debug them.
- Connectors
- list-connectors, get-connector-status, get-connector-logs and get-connector-error-recommendations inspect Kafka Connect, and pause-connector, resume-connector and restart-connector change their state.
- Schema Registry and tags
- list-schemas, create-schema and delete-schema manage schemas; search-topics-by-tag and add-tags-to-topic organise topics in the catalog.
- Tableflow, metrics and billing
- Tableflow tools such as create-tableflow-topic, plus query-metrics and list-billing-costs, cover Confluent Cloud operations and cost data.
- Docs and diagnostics
- search-product-docs and explain-disabled-tools work with no credentials at all, which helps when you are working out why a tool is missing.
Setting it up
Install Node.js 22.23.4 or later. Run npx @confluentinc/mcp-confluent --init-config to generate a config.yaml in your project, then fill in your connection details (for a local cluster, a direct connection with kafka.bootstrap_servers and schema_registry.endpoint is enough). For Confluent Cloud you can skip API keys by running npx @confluentinc/mcp-confluent --init-oauth-config, which writes a config with an oauth connection and opens a browser sign-in on the first tool call. In Claude Code, register the server with claude mcp add confluent -- npx -y @confluentinc/mcp-confluent --config /path/to/config.yaml, or put the same command and args under mcpServers in .mcp.json. The repo has matching guides for Claude Desktop, Cursor, VS Code, Windsurf and Gemini CLI. Run npx -y @confluentinc/mcp-confluent --list-tools to check which tools your config turns on.
claude mcp add confluent -- npx -y @confluentinc/mcp-confluentRuns the @confluentinc/mcp-confluent package from npm. Add any API keys, environment variables or extra arguments the setup notes above list. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Check consumer lag on a group after a deploy and report which partitions are falling behind.
- Produce a few test messages to a local topic and consume them back while building a new service.
- Find a failing connector, pull its error summary and logs, and restart it once the config is fixed.
- Run a Flink SQL statement against a Confluent Cloud table and look at its health and profile if it stalls.
- Pull billing costs for a period to see which environment is driving spend.
Limitations and things to watch
- Support is community-based and best-effort, with no service level commitments from Confluent.
- Flink, Tableflow, metrics and billing tools need Confluent Cloud and stay disabled against Confluent Platform or local Kafka.
- OAuth covers most Cloud tool categories, but create-connector and any unmarked categories still need a direct connection with static API keys.
- Several tools are destructive, including delete-topics, delete-connector and delete-schema, so scope credentials carefully.
- HTTP and SSE transports need an API key under server.auth.api_key, and the --disable-auth flag is documented as development-only.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /confluentinc/mcp-confluent
- github.com /confluentinc/mcp-confluent/blob/main/docs/configuring-claude-code.md
- github.com /confluentinc/mcp-confluent/blob/main/CONFIGURATION.md
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.