Feedback

MCP Kafka工具

@yufule Claim

Basic information

Runtime
python
Category
License
Not specified
Transports
stdio
Author
yufule
Submitted by
Community
Quality
20

About MCP Kafka工具 Server

MCP Kafka服务器 - 通过MCP协议连接Kafka,支持查询Topic信息、读写数据和回放历史数据

MCP Kafka工具 is a MCP server in the Other category listed in the AddMCP.net directory, published by yufule. Supported transport: stdio. Runtime: python. Source code is hosted on github.com.

Setup

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

MCP Kafka工具 config

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

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

MCP Kafka工具 tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Overview

What is MCP Kafka工具?

MCP Kafka工具是一个基于MCP(Model Context Protocol)协议的Kafka工具,可以通过大模型连接Kafka,实现查询主题信息、数据读写以及按时间回放等操作。

How to use MCP Kafka工具?

安装依赖后,以本地模式直接运行mcp_kafka_server.py,或以Web服务模式运行mcp_kafka_sse_server.py(启动在localhost:8000),然后在MCP客户端(如Claude、Cherry Studio)中连接对应节点即可使用。

Key features of MCP Kafka工具

  • 列出所有Kafka Topic
  • 获取指定Topic的详细信息
  • 向Topic发送消息
  • 读取Topic最新消息
  • 回放指定时间段的历史消息
  • 支持STDIO和SSE运行模式

Use cases of MCP Kafka工具

  • 通过大模型查询Kafka中所有主题
  • 通过大模型向指定主题发送消息
  • 通过大模型读取指定主题的最新消息
  • 通过大模型回放指定时间范围内的历史消息
  • 集成到Cherry Studio等MCP客户端中管理Kafka数据

Frequently asked questions

1 MCP Kafka工具需要哪些依赖?

需要Python环境,通过pip install -r requirements.txt安装依赖。

2 MCP Kafka工具默认连接的Kafka地址是什么?

默认连接到localhost:9092,可以在KafkaManager类的初始化参数中修改bootstrap_servers。

3 MCP Kafka工具支持哪些运行模式?

支持本地模式(STDIO)和Web服务模式(SSE),分别运行mcp_kafka_server.py和mcp_kafka_sse_server.py即可。

MCP Kafka工具能实现哪些

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬