Apache Kafka MCP

DevOpsstdio
Repositorio

A Model Context Protocol server for Apache Kafka implemented in Go. Lets AI assistants inspect clusters, list and describe topics and consumer groups, produce test messages, and consume recent records, making it easier to debug and operate event-streaming pipelines from natural language.

Conectar

Añade esta configuración a .claude/mcp.json

{
  "mcpServers": {
    "kafka": {
      "command": "npx",
      "args": [],
      "env": {
        "KAFKA_BROKERS": "<YOUR_KAFKA_BROKERS>"
      }
    }
  }
}

Herramientas (3)

list_topics

List Kafka topics in the connected cluster.

{
  "type": "object",
  "properties": {}
}

produce_message

Produce a message to a topic.

{
  "type": "object",
  "required": [
    "topic",
    "value"
  ],
  "properties": {
    "topic": {
      "type": "string",
      "description": "Target topic name"
    },
    "value": {
      "type": "string",
      "description": "Message payload"
    }
  }
}

consume_messages

Consume recent messages from a topic.

{
  "type": "object",
  "required": [
    "topic"
  ],
  "properties": {
    "topic": {
      "type": "string",
      "description": "Source topic name"
    },
    "max_messages": {
      "type": "integer",
      "description": "Maximum number of messages to read"
    }
  }
}

Recursos

Este servidor no expone ningún recurso.

Prompts

Este servidor no expone ningún prompt.

Información del servidor

Autor
tuannvm (@tuannvm)
Repositorio
https://github.com/tuannvm/kafka-mcp-server
Licencia
MIT
Estrellas
0
Última actualización
25 de julio de 2026