kafka-mcp-server
by Joel-hanson·★ 1·Score 31
A MCP server enabling Kafka interaction with tools for topic management and message operations.
Overview
The kafka-mcp-server provides a Model Context Protocol implementation for interacting with Kafka clusters. It exposes tools for listing, creating, and deleting topics, as well as retrieving topic information. The server uses FastMCP framework and supports both development and production configurations. While it currently focuses on topic operations, the project indicates plans to expand to message production, consumption, and consumer group management in future releases.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you need to manage Kafka topics through Claude Desktop and want a simple interface without writing custom Kafka clients.
When NOT to choose this
Don't choose this if you need advanced Kafka operations like message production/consumption, consumer group management, or require robust authentication - these features are not yet implemented.
Tools this server exposes
5 tools extracted from the READMEkafka_initialize_connectionConnect to Kafka using a properties file
kafka_list_topicsList all topics in the cluster
kafka_create_topicCreate a new topic
kafka_delete_topicDelete an existing topic
kafka_get_topic_infoGet detailed information about a topic
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/joel-hanson/kafka-mcp-server.git
cd kafka-mcp-server- Setup Python environment:
conda create -n kafka-mcp python=3.10 -y
conda activate kafka-mcp
pip install -r requirements.txt- Configure Claude Desktop:
Add this to your Claude Desktop configuration:
{
"mcpServers": {
"kafka": {
"command": "python",
"args": ["/path/to/server.py"]
}
}
}FAQ
- How do I connect to Kafka?
- Use the kafka_initialize_connection tool with your Kafka properties file path that contains connection details like bootstrap.servers.
- Can I produce and consume messages?
- Currently the server only supports topic operations. Message production and consumption are planned features for future releases.
Compare kafka-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.