Read-only Kafka observability MCP server: cluster health, consumer lag, and replay-readiness for AI agents that must never touch production.
kafka-sentinel-mcp defines 6 read-only tools with clear, domain-specific names (cluster_health, consumer_lag, topic_audit, partition_state, replay_readiness, list_topics). All tools have descriptions (avg ~100 chars) and input schemas with typed parameters. However, output schemas are not documented, LLMs cannot predict response structure. Parameter descriptions are minimal (e.g., 'Consumer group ID' lacks context on format/constraints). Error handling is present (TopicNotFoundError, _permission_denied) but not comprehensive, no guidance on retryability or recovery steps. Tools follow single-responsibility principle and are well-named with action verbs, but lack the depth of documentation and output specification expected for production-grade tools.
Broker count, controller, and under-replicated / offline partition summary.
Per-partition lag for a consumer group on a topic: committed offset vs log-end offset. committed = -1 means no offset stored.
All topics on the cluster with partition and replica counts.
Leader/ISR state per partition, plus leader skew across brokers.
Can this group still replay everything since its committed offsets, or has retention already deleted part of the gap?
Replication and durability config audit for a topic. Flags settings that violate mission-critical best practice.
Output schemas not documented. LLMs cannot predict response structure, field names, or types. Tools return dataclasses (e.g., PartitionLag) but no schema is exposed in tool definitions.
Parameter descriptions lack format/constraint details. 'Consumer group ID' and 'Topic name' do not specify valid formats, length limits, or character restrictions. LLMs cannot validate inputs before calling.
Error handling lacks recovery guidance. TopicNotFoundError and _permission_denied return structured responses, but other failure modes (timeout, broker unavailable, ACL partial denial) are not explicitly handled. No guidance on retryability.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 54 | <=2025-11-25 | v2 |
No pagination support. list_topics returns all topics without limit or offset. Large clusters could return thousands of items, exhausting context window.
Tool descriptions do not explain when to use each tool vs. alternatives. E.g., when should an agent call partition_state vs. topic_audit? No dependency hints or discovery guidance.