AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Mcp Kafka

mcp-kanapuli-mcp-kafka · by kanapuli

A Model Context Protocol Server to perform Kafka client operations

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add mcp-kanapuli-mcp-kafka

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-kanapuli-mcp-kafka)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
stale · 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mcp Kafka? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

mcp-kafka

A Model Context Protocol (MCP) server for performing Kafka client operations from AI assistants.

Overview

mcp-kafka provides a bridge between AI assistants and Apache Kafka, allowing them to interact with Kafka clusters through the Model Context Protocol. This tool enables AI assistants to create, manage, and interact with Kafka topics and messages directly.

Here is a short video demo on youtube

Features

The mcp-kafka server provides the following Kafka operations:

  • Create Topic: Create a new Kafka topic with configurable partitions and replication factor
  • List Topics: Get a list of all available Kafka topics in the cluster
  • Delete Topic: Remove an existing Kafka topic
  • Describe Topic: Get detailed information about a specific topic, including partition details
  • Produce Message: Send messages to a Kafka topic with support for message keys and headers
  • Consume Messages: Read messages from a Kafka topic with configurable timeout

Installation

Prerequisites

  • Go 1.24 or higher
  • A running Kafka cluster (default connection: localhost:9092)

Building from Source

  1. Clone the repository:

``bash git clone https://github.com/kanapuli/mcp-kafka.git cd mcp-kafka ``

  1. Build the application:

``bash make build ``

  1. Optionally, build for a specific platform:

``bash make build GOOS=darwin GOARCH=arm64 ``

Installing as a Claude Desktop Tool

To use mcp-kafka with Claude Desktop:

  1. Build the application as mentioned above.
  1. Place the executable in a location included in your system PATH or in a dedicated tools directory.
  1. Please follow this Claude Desktop Tool Installation Guide to install the tool.

The JSON to be added to the claudedesktopconfig.json file is as follows, Use the right username and password for SASL login. Leave them empty for PLAINTEXT authentication.

{
  "mcpServers": {
    "kafka": {
	    "command": "/Your-mcp-kafka-executable-path/mcp-kafka-darwin-arm64",
      "args": [
          "--bootstrap-servers=localhost:9092",
          "--consumer-group-id=mcp-kafka-consumer-group",
          "--username=",
          "--password="
        ],
      "env": {}
    }
  }
}

Configuration

The mcp-kafka tool accepts the following configuration parameters:

| Parameter | Description | Default | |-----------|-------------|---------| | topic | Topic to interact with | (required) | | numpartitions | Number of partitions for topic creation | (optional) | | replicationfactor | Replication factor for topic creation | (optional) | | producemessagekey | Key for produced messages | (optional) | | producemessagevalue | Value for produced messages | (optional) | | producemessageheaders | Headers for produced messages | (optional) | | consumer_timeout | Timeout in seconds for message consumption | 10 |

These parameters will be automatically derived from your Natural language message to the LLM.

CLI flags for the mcp-kafka tool

The following flags should be used to configure the Kafka client:

--bootstrap-servers=localhost:9092
--consumer-group-id=mcp-kafka-consumer-group
--username='your_sasl_username'
--password='your_sasl_password'

NOTE: Currently, SASLPLAINTEXT is supported along with PLAINTEXT authentication. SASLSSL is not supported.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

[MIT License](LICENSE)

Acknowledgments

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.