KosmoKrator

data

Confluent Cloud MCP Integration for Generic MCP Clients

Connect Confluent Cloud to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API token auth

Connect Confluent Cloud to Generic MCP Clients

Connect any stdio-compatible MCP client to local KosmoKrator integration tools.

Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with --write=deny so MCP clients can inspect read-capable tools without receiving write access by default.

Confluent Cloud MCP Config for Generic MCP Clients

Start with read-only write policy and expand only for trusted projects.

{
  "mcpServers": {
    "kosmokrator-confluent": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=confluent",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=confluent --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Confluent Cloud instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Confluent Cloud Tools Visible to MCP clients

MCP clients sees stable MCP tool names generated from the Confluent Cloud integration catalog.

MCP toolSource functionTypeDescription
integration__confluent__confluent_list_topics confluent.confluent_list_topics Read List Kafka topics in a Confluent cluster. Returns topic names, partition counts, replication factors, and status.
integration__confluent__confluent_get_topic confluent.confluent_get_topic Read Get full details of a specific Kafka topic by name. Returns partition count, replication factor, and topic configuration.
integration__confluent__confluent_create_topic confluent.confluent_create_topic Write Create a new Kafka topic in a Confluent cluster. Specify the topic name, partition count, and optional replication factor and configs.
integration__confluent__confluent_list_clusters confluent.confluent_list_clusters Read List Kafka clusters in your Confluent Cloud environment. Returns cluster IDs, names, types, and status.
integration__confluent__confluent_get_cluster confluent.confluent_get_cluster Read Get details of a specific Kafka cluster. Returns broker count, controller info, and cluster configuration.
integration__confluent__confluent_list_environments confluent.confluent_list_environments Read List Confluent Cloud environments. Returns environment IDs, names, and associated cluster resources.
integration__confluent__confluent_get_current_user confluent.confluent_get_current_user Read Get the currently authenticated Confluent Cloud user. Useful for verifying credentials and identifying the connected account.

Related Confluent Cloud Pages