Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KAFKA_CLIENT_IDNoClient ID for connectionkafka-mcp
KAFKA_BOOTSTRAP_SERVERSYesComma-separated list of broker urls (e.g., localhost:9092).

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
describe_clusterA

Returns information about the Kafka cluster (brokers, controller).

describe_brokersB

Returns a list of brokers with their details.

list_topicsB

Returns a list of all topic names in the cluster.

describe_topicB

Returns detailed information about a specific topic.

create_topicC

Creates a new topic.

delete_topicC

Deletes a topic.

create_partitionsB

Increases the number of partitions for a topic. Note: Partition count can only be increased, not decreased.

describe_configsB

Get dynamic configs for a resource. resource_type: "topic", "broker", or "group" (case insensitive)

alter_configsB

Update dynamic configs for a resource. resource_type: "topic", "broker", or "group" configs: Dictionary of config key-value pairs

consume_messagesB

Consumes messages from a topic. offset_spec: 'earliest', 'latest', or specific integer offset. timeout: seconds to wait for messages.

list_consumer_groupsB

Lists all consumer groups.

describe_consumer_groupC

Describes a specific consumer group.

get_consumer_group_offsetsA

Get the committed offsets and lag for a specific consumer group and topic. Returns the committed offset, high/low watermarks, and calculated lag for each partition.

reset_consumer_group_offsetA

Resets the offset of a consumer group using AdminClient. offset_spec: 'earliest', 'latest', or a specific integer offset string. dry_run: If True, only calculates and returns the proposed offset changes without applying them. force: If True, forces the modification even if the group is active or STABLE.

rewind_consumer_group_offset_by_timestampB

Rewinds consumer group offsets manually based on a specific timestamp. Finds offsets matching the timestamp using Consumer, then sets using AdminClient. dry_run: If True, only calculates and returns the proposed offset changes without applying them. force: If True, forces the modification even if the group is active or STABLE.

produce_messageC

Produces a message to a topic.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wklee610/kafka-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server