Kafka Sentinel
v0.1.2Read-only Kafka observability MCP server: cluster health, consumer lag, and replay-readiness.
Starts only with mcp<2 (written for an older SDK); the install commands pin it.
Values you need
| Variable | What it is | |
|---|---|---|
KAFKA_BOOTSTRAP | required | Kafka bootstrap servers, e.g. broker1:9092,broker2:9092 |
KAFKA_SECURITY_PROTOCOL | optional | librdkafka security.protocol, e.g. SASL_SSL |
KAFKA_SASL_MECHANISM | optional | librdkafka sasl.mechanism, e.g. PLAIN or SCRAM-SHA-512 |
KAFKA_SASL_USERNAME | optional | SASL username |
KAFKA_SASL_PASSWORD | optional secret | SASL password |
KAFKA_SSL_CA_LOCATION | optional | Path to CA certificate for SSL |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add kafka-sentinel-mcp -e 'KAFKA_BOOTSTRAP=<KAFKA_BOOTSTRAP>' -- uvx --with 'mcp<2' kafka-sentinel-mcp==0.1.2Add to
claude_desktop_config.json{
"mcpServers": {
"kafka-sentinel-mcp": {
"args": [
"--with",
"mcp<2",
"kafka-sentinel-mcp==0.1.2"
],
"command": "uvx",
"env": {
"KAFKA_BOOTSTRAP": "<KAFKA_BOOTSTRAP>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"kafka-sentinel-mcp": {
"args": [
"--with",
"mcp<2",
"kafka-sentinel-mcp==0.1.2"
],
"command": "uvx",
"env": {
"KAFKA_BOOTSTRAP": "<KAFKA_BOOTSTRAP>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "KAFKA_BOOTSTRAP",
"id": "kafka-bootstrap",
"password": true,
"type": "promptString"
}
],
"servers": {
"kafka-sentinel-mcp": {
"args": [
"--with",
"mcp<2",
"kafka-sentinel-mcp==0.1.2"
],
"command": "uvx",
"env": {
"KAFKA_BOOTSTRAP": "${input:kafka-bootstrap}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.kafka-sentinel-mcp]
command = "uvx"
args = ["--with", "mcp<2", "kafka-sentinel-mcp==0.1.2"]
env = { "KAFKA_BOOTSTRAP" = "<KAFKA_BOOTSTRAP>" }For AI agents
- Ask the user for: KAFKA_BOOTSTRAP. 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_health, consumer_lag, topic_audit, partition_state, replay_readiness, list_topics, list_consumer_groups, incident_snapshot.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json