Configure MCP (Model Context Protocol) server for Kafka integration. Auto-detects and configures kanapuli, tuannvm, Joel-hanson, or Confluent MCP servers.
Auto-detects and configures MCP servers for Kafka integration, generating Claude Desktop config with natural language operations support.
/plugin marketplace add anton-abyzov/specweave/plugin install sw-kafka@specweaveSet up MCP (Model Context Protocol) server integration for natural language Kafka operations.
| Server | Language | Features | Best For |
|---|---|---|---|
| Confluent Official | - | Natural language, Flink SQL, Enterprise | Production + Confluent Cloud |
| tuannvm/kafka-mcp-server | Go | Advanced SASL (SCRAM-SHA-256/512) | Security-focused deployments |
| kanapuli/mcp-kafka | Node.js | Basic operations, SASL_PLAINTEXT | Quick start, dev environments |
| Joel-hanson/kafka-mcp-server | Python | Claude Desktop integration | Desktop AI workflows |
# Start MCP configuration wizard
/sw-kafka:mcp-configure
# I'll:
# 1. Detect installed MCP servers (npm, go, pip, CLI)
# 2. Rank servers (Confluent > tuannvm > kanapuli > Joel-hanson)
# 3. Generate Claude Desktop config (~/.claude/settings.json)
# 4. Test connection to Kafka
# 5. Show natural language examples
Claude Desktop Config (~/.claude/settings.json):
{
"mcpServers": {
"kafka": {
"command": "npx",
"args": ["mcp-kafka"],
"env": {
"KAFKA_BROKERS": "localhost:9092",
"KAFKA_SASL_USERNAME": "admin",
"KAFKA_SASL_PASSWORD": "admin-secret"
}
}
}
}
After MCP is configured, you can use natural language with Claude:
You: "List all Kafka topics"
Claude: [Uses MCP to call listTopics()]
Output: user-events, order-events, payment-events
You: "Create a topic called 'analytics' with 12 partitions and RF=3"
Claude: [Uses MCP to call createTopic()]
Output: Topic 'analytics' created successfully
You: "What's the consumer lag for group 'orders-consumer'?"
Claude: [Uses MCP to call getConsumerGroupOffsets()]
Output: Total lag: 1,234 messages across 6 partitions
You: "Send a test message to 'user-events' topic"
Claude: [Uses MCP to call produceMessage()]
Output: Message sent to partition 3, offset 12345
After MCP is configured, I'll:
Skills Activated: kafka-mcp-integration Related Commands: /sw-kafka:deploy, /sw-kafka:dev-env MCP Docs: https://modelcontextprotocol.io/