Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mcp-kafka

MCP server by dockndevai Community

Monitors and manages Apache Kafka clusters for MCP-capable AI clients. Covers topics, partitions, configs and consumer groups, including consumer lag. Starts read-only, with flags to allow writes and deletes.

  • Score 82
  • 2 stars
  • 1.4k a week
  • MIT
  • Updated

Install mcp-kafka

Built from the published package, never by AI.

claude mcp add mcp-kafka -e KAFKA_BROKERS=YOUR_KAFKA_BROKERS -- npx -y @dockndevai/mcp-kafka

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install mcp-kafka in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-kafka block.

About

mcp-kafka is a Model Context Protocol server for Apache Kafka. It lets an MCP-capable client, such as Claude Desktop or Claude Code, monitor and manage clusters. Monitoring covers cluster and broker info, topic metadata and offsets, consumer groups, and per-partition and total consumer lag.

Management covers creating topics, adding partitions, altering topic configs and resetting consumer group offsets. The KAFKA_MODE setting controls access and starts as read-only, and it can be raised to read-write or admin. Safety flags include a topic allowlist, protection for internal topics, delete gating, dry-run and JSON audit logging. It suits teams that want an AI assistant to inspect Kafka while keeping writes and deletes under control.

Written from the project's README and checked against it.

Tools it gives your assistant

  • cluster_infoReturns cluster and broker information.
  • list_topicsLists topics on the Kafka cluster.
  • describe_topicDescribes a topic's metadata.
  • topic_offsetsShows offsets for a topic.
  • list_consumer_groupsLists consumer groups.
  • describe_consumer_groupDescribes a consumer group, including its lag.
  • create_topicCreates a new topic. Requires read-write mode or higher.
  • create_partitionsAdds partitions to a topic. Requires read-write mode or higher.
  • alter_topic_configChanges topic configuration. Requires read-write mode or higher.
  • reset_consumer_group_offsetsResets consumer group offsets. Requires read-write mode or higher.

What you need

  • Node.js, since the server runs with npx
  • Access to a Kafka cluster through KAFKA_BROKERS
SettingNeededWhat it is
KAFKA_BROKERSEnvironment variableRequiredComma-separated broker list (host:port).
KAFKA_MODEEnvironment variableOptionalAccess mode: read-only | read-write | admin.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Which consumer groups have the most lag right now?
  • Describe the orders topic and show its offsets.
  • Create a topic events with 6 partitions and 7-day retention.

Good to know

  • Starts in read-only mode by default.
  • Delete tools need admin mode and KAFKA_ALLOW_DELETE set to true.
  • Topics starting with an underscore are protected from changes by default.
  • Tools above the selected mode are not registered.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mcp-kafka

All alternatives →
Azure MCP Server microsoft
100

Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.

AAA Local 261k/wk
openstatus openstatusHQ
98

Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.

ACA Remote 9.3k
SmartBear MCP SmartBear
97

SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.

AAC Local and remote 17k/wk
Fettle fettlesh
97

Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.

AAC Local and remote 22k/wk
Superlog superloglabs
95

Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.

AAA Remote 1.5k
Microsoft Learn MCP MicrosoftDocs
94

Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.

ACA Remote 2k

Compare with Azure MCP Server, openstatus or SmartBear MCP

mcp-kafka: common questions

Can mcp-kafka delete Kafka topics?

Only when the server runs in admin mode and KAFKA_ALLOW_DELETE is set to true. Otherwise the delete tools are not available.

How does mcp-kafka show consumer lag?

The describe_consumer_group tool reports lag, and the source says monitoring includes per-partition and total consumer lag.

Does mcp-kafka support secure connections to Kafka?

The source lists plaintext, TLS, and SASL (PLAIN, SCRAM-SHA-256 and SCRAM-SHA-512) authentication options.

How do I install mcp-kafka?

In Claude Code run claude mcp add mcp-kafka -e KAFKA_BROKERS=YOUR_KAFKA_BROKERS -- npx -y @dockndevai/mcp-kafka. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is mcp-kafka the official server?

mcp-kafka is a community project by dockndevai, not verified by a company domain.

Is mcp-kafka free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mcp-kafka safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mcp-kafka?

Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.

Does mcp-kafka work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

mcp-kafka Install

Add to stack

Loading.