kafka-dataops-mcp

v0.1.0
io.github.Aguantar/kafka-dataops-mcp Checked 10 hours ago Published 8 months ago

DataOps Kafka MCP server with consumer lag diagnosis and broker monitoring

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

kafka_consumer_lag

Monitor consumer group lag with operational diagnosis. Checks committed offsets vs log-end-offsets for each partition and generates diagnosis based on actual incident patterns: - Flink groups with "no active members" is NORMAL (checkpoint-based offset management) - Flink groups with no active members AND growing lag = likely Flink crash (matches 2026-02-21 incident: MySQL DELETE → tombstone → NPE → 50h outage) - Non-Flink groups with no active members = consuming application is down - Uneven lag distribution = possible hot partition or stuck consumer A…

ParameterTypeDescription
groupstring

kafka_topic_info

Get topic details: partitions, replicas, ISR, configs, and health diagnosis. Checks replication health: - ISR < min.insync.replicas = writes FAILING (critical) - ISR < replication.factor but >= min.insync.replicas = degraded (warning) - Retention policy info (size-based deletion warnings) Args: topic: Topic name to inspect

ParameterTypeDescription
topic *string

kafka_broker_status

Check Kafka cluster health: brokers, controller, under-replicated partitions. Detects: - Missing brokers (expected 3 for this cluster) - ClusterIdMismatch pattern (Docker volume recreation issue) - Under-replicated partitions across all topics

kafka_list_topics

List all Kafka topics with partition count, replication factor, and descriptions. Built-in descriptions for known topics (CDC pipeline, Circuit Connect). Args: include_internal: Include internal topics starting with '_' (default: False)

ParameterTypeDescription
include_internalboolean