Confluent Cloud managed MCP server
OFFICIAL SERVERConfluent-hosted MCP endpoints for Kafka clusters, connectors, schemas and Flink SQL in Confluent Cloud
Confluent's MCP server for Kafka topics, Flink SQL, connectors and Schema Registry, on Cloud or self-managed
Official · Confluent Inc. TypeScript Local · stdio DatabasesCloud platformsDevOps and monitoring
63 popularity score ★ 169 ↓ 1.9k/wk
Opens the app, which asks before it adds the server. Then replace each <NAME> in its settings with your value.
npx @confluentinc/mcp-confluent --init-configclaude mcp add confluent -- npx -y @confluentinc/mcp-confluent --config '<ABSOLUTE_PATH_TO_CONFIG_YAML>'{
"mcpServers": {
"confluent": {
"command": "npx",
"args": [
"-y",
"@confluentinc/mcp-confluent",
"--config",
"<ABSOLUTE_PATH_TO_CONFIG_YAML>"
]
}
}
}{
"mcpServers": {
"confluent": {
"command": "npx",
"args": [
"-y",
"@confluentinc/mcp-confluent",
"--config",
"<ABSOLUTE_PATH_TO_CONFIG_YAML>"
]
}
}
}{
"servers": {
"confluent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@confluentinc/mcp-confluent",
"--config",
"<ABSOLUTE_PATH_TO_CONFIG_YAML>"
]
}
}
}[mcp_servers.confluent]
command = "npx"
args = ["-y", "@confluentinc/mcp-confluent", "--config", "<ABSOLUTE_PATH_TO_CONFIG_YAML>"]gemini mcp add --scope user confluent npx -- -y @confluentinc/mcp-confluent --config '<ABSOLUTE_PATH_TO_CONFIG_YAML>'Opens the app, which asks before it adds the server. Then replace each <NAME> in its settings with your value.
git clone https://github.com/confluentinc/mcp-confluent.git
cd mcp-confluent
pnpm install
pnpm run buildclaude mcp add confluent -- node '<ABSOLUTE_PATH_TO_CLONE>/dist/index.js' --config '<ABSOLUTE_PATH_TO_CONFIG_YAML>'{
"mcpServers": {
"confluent": {
"command": "node",
"args": [
"<ABSOLUTE_PATH_TO_CLONE>/dist/index.js",
"--config",
"<ABSOLUTE_PATH_TO_CONFIG_YAML>"
]
}
}
}{
"mcpServers": {
"confluent": {
"command": "node",
"args": [
"<ABSOLUTE_PATH_TO_CLONE>/dist/index.js",
"--config",
"<ABSOLUTE_PATH_TO_CONFIG_YAML>"
]
}
}
}{
"servers": {
"confluent": {
"type": "stdio",
"command": "node",
"args": [
"<ABSOLUTE_PATH_TO_CLONE>/dist/index.js",
"--config",
"<ABSOLUTE_PATH_TO_CONFIG_YAML>"
]
}
}
}[mcp_servers.confluent]
command = "node"
args = ["<ABSOLUTE_PATH_TO_CLONE>/dist/index.js", "--config", "<ABSOLUTE_PATH_TO_CONFIG_YAML>"]gemini mcp add --scope user confluent node -- '<ABSOLUTE_PATH_TO_CLONE>/dist/index.js' --config '<ABSOLUTE_PATH_TO_CONFIG_YAML>'KAFKA_API_KEY |
Optional: Kafka API key, read into config.yaml through ${KAFKA_API_KEY}; with KAFKA_API_SECRET. |
|---|---|
KAFKA_API_SECRET |
Optional: Secret for the Kafka API key. |
SCHEMA_REGISTRY_API_KEY |
Optional: Schema Registry API key for config.yaml interpolation. |
SCHEMA_REGISTRY_API_SECRET |
Optional: Secret for the Schema Registry API key. |
CONFLUENT_CLOUD_API_KEY |
Optional: Confluent Cloud API key for the confluent_cloud block. |
CONFLUENT_CLOUD_API_SECRET |
Optional: Secret for the Confluent Cloud API key. |
DO_NOT_TRACK |
Optional: Set to true to stop usage data and Sentry error reports. |
NODE_EXTRA_CA_CERTS |
Optional: CA bundle path for brokers or Schema Registry behind an internal CA. |
MCP_API_KEY |
Optional: API key clients must send when the http or sse transport is on. |
MCP Confluent is a local Node.js server from Confluent that gives an assistant tools for Apache Kafka and the services around it. It works against Confluent Cloud, Confluent Platform and plain self-managed Kafka: it can list, create and delete topics, produce and consume records, inspect consumer groups and their lag, register and delete schemas, and, on Confluent Cloud, run Flink SQL statements, manage Kafka Connect connectors, tag topics, manage Tableflow, query operational metrics and read billing costs.
What it exposes depends on a config.yaml you pass with --config. Each connection in the file is either direct (bootstrap servers, Schema Registry endpoint and API keys per service) or oauth (a Confluent Cloud browser sign-in), and each service block you fill in switches on its group of tools. A file may hold several direct connections but at most one oauth one, and each tool call names the connection it targets. With no connections at all, only the documentation search and config-diagnostic tools are on. Tools can be narrowed further with --allow-tools and --block-tools.
The README talks of "50+ tools"; the tool-name list in the v1.6.0 source holds 73, including get-partition-offsets, which the README's tables leave out. Confluent also runs a fully managed MCP server for Confluent Cloud and points Cloud customers to it; this open-source one is the choice for Confluent Platform or self-managed Kafka, or for changing the toolset.
| Runtime | Node.js 22+ |
|---|
Node.js 22.19.0 or later (npx). A config.yaml, made with --init-config or --init-oauth-config, pointing at a reachable Kafka and/or Schema Registry, or a Confluent Cloud account with API keys or a browser sign-in. Cloud-only tools (Flink, connectors, Tableflow, metrics, billing) need Confluent Cloud. Tableflow tools also need IAM roles on your cloud account linked into Confluent Cloud first. pnpm only to build from source.
In v1.6.0, OAuth sign-in covers only the Kafka topic and message tools, topic config, Schema Registry, organization/environment/cluster listing and billing; Flink, connectors, Tableflow, metrics and catalog tags still need a direct connection with API keys (CONFIGURATION.md at v1.6.0; the main-branch README marks more as OAuth-ready, which is not yet released). On Confluent Platform or plain Kafka only the Kafka and Schema Registry tools work. Configuring by environment variables alone is deprecated and set to be removed. Confluent calls it community-supported: best-effort help, no SLA.
Suits teams on Confluent Platform or self-managed Kafka who want an assistant to inspect topics, consumer lag and schemas, and Confluent Cloud users who want Flink SQL, connector and Tableflow work from a local process with their own keys. Many tools write and delete (topics, schemas, connectors, Flink statements), so pair it with --allow-tools or a read-only key when the cluster matters. Confluent Cloud customers who want nothing to install can use Confluent's managed MCP server instead, which its README recommends for them.
list-topicscreate-topicsdelete-topicsproduce-messageconsume-messagesget-partition-offsetslist-consumer-groupsdescribe-consumer-groupget-consumer-group-lagget-topic-configalter-topic-configcreate-flink-statementlist-flink-statementsget-flink-statement-resultsdelete-flink-statementsget-flink-statement-exceptionscheck-flink-statement-healthdetect-flink-statement-issuesget-flink-statement-profilelist-compute-poolslist-flink-catalogslist-flink-tablesdescribe-flink-tablelist-connectorsget-connector-configget-connector-statusget-connector-error-summaryget-connector-error-recommendationsget-connector-logscreate-connectorupdate-connector-configpause-connectorrestart-connectordelete-connectorlist-schemascreate-schemadelete-schemalist-tagscreate-topic-tagsadd-tags-to-topicdelete-tagsearch-topics-by-tagsearch-topics-by-namelist-organizationslist-environmentslist-clusterslist-tableflow-topicscreate-tableflow-topicdelete-tableflow-topiclist-tableflow-regionscreate-tableflow-catalog-integrationlist-tableflow-catalog-integrationslist-available-metricsquery-metricslist-billing-costssearch-product-docsget-product-doc-pageexplain-disabled-toolslist-configured-connectionsconfig-help