KosmoKrator

data

Apache Kafka MCP, CLI, and Lua Integration for AI Agents

Apache Kafka integration docs for AI agents: MCP gateway setup, Apache Kafka CLI commands, Lua API reference, credentials, and function schemas.

7 functions 6 read 1 write API token auth

Apache Kafka for agents

Credentials can be configured manually in web or CLI hosts.

Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.

Machine-Readable Metadata
integration_slug
kafka
route_slug
kafka
package
kafka
auth_strategy
api_token API token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Apache Kafka MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Apache Kafka.

Apache Kafka CLI Matrix

Use these pages for direct Apache Kafka CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
kafka.kafka_list_topics Read read 1 List Kafka topics in a cluster. Returns topic names, partition counts, replication factors, and status.
kafka.kafka_get_topic Read read 2 Get full details of a specific Kafka topic by name. Returns partition count, replication factor, and topic configuration.
kafka.kafka_create_topic Write write 5 Create a new Kafka topic in a cluster. Specify the topic name, partition count, and optional replication factor and configs.
kafka.kafka_list_clusters Read read 0 List Kafka clusters in your Confluent Cloud environment. Returns cluster IDs, names, types, and status.
kafka.kafka_get_cluster Read read 1 Get details of a specific Kafka cluster. Returns broker count, controller info, and cluster configuration.
kafka.kafka_list_producers Read read 2 List producers for a specific Kafka topic. Returns producer IDs, client IDs, and connection details.
kafka.kafka_get_current_user Read read 0 Get the currently authenticated Confluent Cloud user. Useful for verifying credentials and identifying the connected account.