KosmoKrator

marketing

Customer.io MCP Gateway for AI Agents

Expose Customer.io tools to Claude Code, Cursor, Codex, and other MCP clients through the local KosmoKrator MCP gateway.

7 functions 5 read 2 write API key auth

Customer.io MCP Gateway

Expose Customer.io to MCP clients with `kosmokrator mcp:serve --integration=customerio`.

If the client has never used KosmoKrator before, install it first, then register this integration as a stdio MCP server. The gateway exposes only the selected integration in the example below.

curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
kosmokrator mcp:gateway:install --integration=customerio --write=deny --json
{
  "mcpServers": {
    "kosmokrator-customerio": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=customerio",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__customerio__customerio_identify_customer customerio.customerio_identify_customer Write write
integration__customerio__customerio_track_event customerio.customerio_track_event Write write
integration__customerio__customerio_list_segments customerio.customerio_list_segments Read read
integration__customerio__customerio_list_campaigns customerio.customerio_list_campaigns Read read
integration__customerio__customerio_get_campaign customerio.customerio_get_campaign Read read
integration__customerio__customerio_list_newsletters customerio.customerio_list_newsletters Read read
integration__customerio__customerio_get_current_user customerio.customerio_get_current_user Read read

Write Access

Start with --write=deny for read-only MCP clients. Use --write=ask or --write=allow only when the client and workspace are trusted.