Submit

MCP Kafka工具

@yufule

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

What is MCP Kafka Tool?

MCP Kafka Tool is a utility that connects to Kafka using the Model Context Protocol (MCP), allowing users to query topic information, read and write data, and replay historical data.

How to use MCP Kafka Tool?

To use the MCP Kafka Tool, you can run it in local mode by executing the mcp_kafka_server.py file or in web service mode by running the mcp_kafka_sse_server.py file and connecting through an MCP client.

Key features of MCP Kafka Tool?

  • List all available Kafka topics.
  • Retrieve detailed information about specific topics.
  • Send messages to specified topics.
  • Read the latest messages from topics.
  • Replay historical messages within a specified time range.

Use cases of MCP Kafka Tool?

  1. Managing Kafka topics and monitoring their status.
  2. Sending and receiving messages for real-time data processing.
  3. Analyzing historical data by replaying messages from specific time periods.

FAQ from MCP Kafka Tool?

  • What programming language is MCP Kafka Tool written in?

MCP Kafka Tool is written in Python.

  • How do I install the required dependencies?

You can install the dependencies by running pip install -r requirements.txt.

  • Can I modify the Kafka connection settings?

Yes, you can change the connection address in the KafkaManager class initialization parameters.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.