Apache Kafka MCP

DevOpsstdio
Репозиторий

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.

Подключение

Добавьте эту конфигурацию в .claude/mcp.json

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

Инструменты (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"
    }
  }
}

Ресурсы

Этот сервер не предоставляет ресурсы.

Промпты

Этот сервер не предоставляет промпты.

Сведения о сервере

Автор
tuannvm (@tuannvm)
Репозиторий
https://github.com/tuannvm/kafka-mcp-server
Лицензия
MIT
Звёзды
0
Последнее обновление
25 июля 2026 г.