mcp-kafka
v0.3.3Apache Kafka monitoring & management for AI agents (with consumer lag) — governed.
Values you need
| Variable | What it is | |
|---|---|---|
KAFKA_BROKERS | required | Comma-separated broker list (host:port). |
KAFKA_MODE | optional | Access mode: read-only | read-write | admin. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-kafka -e 'KAFKA_BROKERS=<KAFKA_BROKERS>' -- npx -y @dockndevai/mcp-kafka@0.3.3Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-kafka": {
"args": [
"-y",
"@dockndevai/mcp-kafka@0.3.3"
],
"command": "npx",
"env": {
"KAFKA_BROKERS": "<KAFKA_BROKERS>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-kafka": {
"args": [
"-y",
"@dockndevai/mcp-kafka@0.3.3"
],
"command": "npx",
"env": {
"KAFKA_BROKERS": "<KAFKA_BROKERS>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "KAFKA_BROKERS",
"id": "kafka-brokers",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-kafka": {
"args": [
"-y",
"@dockndevai/mcp-kafka@0.3.3"
],
"command": "npx",
"env": {
"KAFKA_BROKERS": "${input:kafka-brokers}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-kafka]
command = "npx"
args = ["-y", "@dockndevai/mcp-kafka@0.3.3"]
env = { "KAFKA_BROKERS" = "<KAFKA_BROKERS>" }For AI agents
- Ask the user for: KAFKA_BROKERS. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: cluster_info, list_topics, describe_topic, topic_offsets, list_consumer_groups, describe_consumer_group.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json