KosmoKrator

analytics

Mixpanel Analytics MCP Gateway for AI Agents

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

7 functions 7 read 0 write API key auth

Mixpanel Analytics MCP Gateway

Expose Mixpanel Analytics to MCP clients with `kosmokrator mcp:serve --integration=mixpanel`.

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=mixpanel --write=deny --json
{
  "mcpServers": {
    "kosmokrator-mixpanel": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=mixpanel",
        "--write=deny"
      ]
    }
  }
}

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__mixpanel__mixpanel_get_cohort mixpanel.mixpanel_get_cohort Read read
integration__mixpanel__mixpanel_get_current_user mixpanel.mixpanel_get_current_user Read read
integration__mixpanel__mixpanel_get_event mixpanel.mixpanel_get_event Read read
integration__mixpanel__mixpanel_get_funnel mixpanel.mixpanel_get_funnel Read read
integration__mixpanel__mixpanel_list_cohorts mixpanel.mixpanel_list_cohorts Read read
integration__mixpanel__mixpanel_list_events mixpanel.mixpanel_list_events Read read
integration__mixpanel__mixpanel_list_funnels mixpanel.mixpanel_list_funnels 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.