Kafka MCP
An open-source Model Context Protocol server that enables LLM agents to debug Kafka clusters. It provides tools to find messages by order ID, measure consumer lag, unblock stuck consumers, and compare cluster configurations. It supports read-only endpoints for safe investigation and previews before any write operations, connecting via stdio or streamable HTTP.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Find a specific message in Kafka by order ID
- Measure consumer lag to identify bottlenecks
- Unblock a stuck consumer to resume processing
- Compare two Kafka clusters for configuration differences
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/denizgursoy/kafka-mcp:v0.2.8
{
"transport": "stdio",
"identifier": "ghcr.io/denizgursoy/kafka-mcp:v0.2.8",
"runtimeHint": "docker",
"registryType": "oci",
"packageArguments": [
{
"type": "positional",
"value": "--server=false",
"description": "Serve over stdio instead of the image's default HTTP mode"
},
{
"name": "--endpoint",
"type": "named",
"description": "Endpoint from the file to serve. Required when the file defines more than one"
}
],
"runtimeArguments": [
{
"name": "--mount",
"type": "named",
"value": "type=bind,src={config_file},dst=/config/kafka-mcp.yaml,readonly",
"variables": {
"config_file": {
"format": "filepath",
"isRequired": true,
"description": "Path to your kafka-mcp.yaml: the clusters to connect to and the endpoints to expose"
}
},
"isRequired": true,
"description": "Mount your kafka-mcp.yaml into the container, read-only"
}
],
"environmentVariables": [
{
"name": "CONFIG_FILE",
"value": "/config/kafka-mcp.yaml",
"description": "Where the mounted configuration is read from inside the container"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"kafka-mcp-v0-2-8": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CONFIG_FILE=<YOUR_CONFIG_FILE>",
"ghcr.io/denizgursoy/kafka-mcp:v0.2.8",
"--server=false"
],
"env": {
"CONFIG_FILE": "<YOUR_CONFIG_FILE>"
}
}
}
}Cline
{
"mcpServers": {
"kafka-mcp-v0-2-8": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CONFIG_FILE=<YOUR_CONFIG_FILE>",
"ghcr.io/denizgursoy/kafka-mcp:v0.2.8",
"--server=false"
],
"env": {
"CONFIG_FILE": "<YOUR_CONFIG_FILE>"
}
}
}
}VS Code
{
"servers": {
"kafka-mcp-v0-2-8": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CONFIG_FILE=<YOUR_CONFIG_FILE>",
"ghcr.io/denizgursoy/kafka-mcp:v0.2.8",
"--server=false"
],
"env": {
"CONFIG_FILE": "<YOUR_CONFIG_FILE>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"kafka-mcp-v0-2-8": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CONFIG_FILE=<YOUR_CONFIG_FILE>",
"ghcr.io/denizgursoy/kafka-mcp:v0.2.8",
"--server=false"
],
"env": {
"CONFIG_FILE": "<YOUR_CONFIG_FILE>"
}
}
}
}Let your agent find its tools
Find servers like Kafka MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.