MCP Catalogs
Home

kafka-mcp-server

by Joel-hanson·1·Score 31

A MCP server enabling Kafka interaction with tools for topic management and message operations.

databasedeveloper-toolsops-infra
1
Forks
0
Open issues
12 mo ago
Last commit
2d ago
Indexed

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:

you:Managing Kafka topics through AI assistants
you:Automating topic lifecycle operations
you:Monitoring topic configuration and health
you:How do I connect to Kafka?
you:Can I produce and consume messages?

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 README
  • kafka_initialize_connection

    Connect to Kafka using a properties file

  • kafka_list_topics

    List all topics in the cluster

  • kafka_create_topic

    Create a new topic

  • kafka_delete_topic

    Delete an existing topic

  • kafka_get_topic_info

    Get detailed information about a topic

Comparable tools

kafka-pythonconfluent-cloud-mcpshell-mcp

Installation

Installation

  1. Clone the repository:
git clone https://github.com/joel-hanson/kafka-mcp-server.git
cd kafka-mcp-server
  1. Setup Python environment:
conda create -n kafka-mcp python=3.10 -y
conda activate kafka-mcp
pip install -r requirements.txt
  1. 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.