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.

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.

Agent Surfaces

Machine-Readable Metadata

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.