Back to MCP Servers

Apache Kafka

Produce and consume messages, manage topics, inspect consumer groups, and monitor Apache Kafka clusters

kafkamessagingstreamingevent-driveninfrastructure

Installation

pip install kafka-mcp-server

Configuration

{
  "mcpServers": {
    "kafka": {
      "command": "uvx",
      "args": ["kafka-mcp-server"],
      "env": {
        "KAFKA_BOOTSTRAP_SERVERS": "localhost:9092",
        "KAFKA_SECURITY_PROTOCOL": "PLAINTEXT"
      }
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub