Apache Kafka MCP

DevOpsstdio
Repository

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.

Verbinden

Fügen Sie diese Konfiguration hinzu zu .claude/mcp.json

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

Werkzeuge (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"
    }
  }
}

Ressourcen

Dieser Server stellt keine Ressourcen bereit.

Prompts

Dieser Server stellt keine Prompts bereit.

Serverinformationen

Autor
tuannvm (@tuannvm)
Repository
https://github.com/tuannvm/kafka-mcp-server
Lizenz
MIT
Sterne
0
Zuletzt aktualisiert
25. Juli 2026