MCP.so
Sign In

Kafka MCP Server

@Joel-hanson

About Kafka MCP Server

This project provides a **Model Context Protocol (MCP)** server that enables interaction with a Kafka cluster via standard tool-based interfaces. It exposes Kafka operations like producing messages, consuming, listing topics, and more — all accessible through Claude Desktop or an

Basic information

Category

Other

License

Apache-2.0 license

Runtime

python

Transports

stdio

Publisher

Joel-hanson

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "kafka-mcp-server-joel-hanson": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Kafka MCP Server?

The Kafka MCP Server is a Model Context Protocol (MCP) server that enables interactions with a Kafka cluster through standard tool-based interfaces. It exposes Kafka operations like producing messages, consuming, listing topics, and more – all accessible through Claude Desktop or any MCP-compatible client.

How to use Kafka MCP Server?

Clone the repository, set up a Python 3.10 environment (e.g., with conda), install dependencies from requirements.txt, then either start the server with mcp dev for local testing or run python server.py. Configure an MCP client (e.g., Claude Desktop) by adding a JSON entry pointing to the server.py script. Before use, create a Kafka properties file with your cluster’s bootstrap.servers and any security settings, then call the kafka_initialize_connection tool.

Key features of Kafka MCP Server

  • Configuration from standard Kafka properties files
  • List, create, delete, and inspect topics
  • Efficient connection pooling and cleanup
  • Comprehensive error handling with informative messages
  • Extensible design for adding more Kafka operations
  • MCP‑compatible tools for Claude Desktop and other clients

Use cases of Kafka MCP Server

  • Initialize a connection to a Kafka cluster via a properties file
  • List all topics in the cluster
  • Create a topic with custom partitions and replication factor
  • Get detailed information (partitions, replicas, ISR) for a topic
  • Delete an existing topic

FAQ from Kafka MCP Server

How do I connect the server to my Kafka cluster?

Comments

More Other MCP servers