KosmoKrator

ai

HeyGen MCP Gateway for AI Agents

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

7 functions 6 read 1 write Bearer token auth

HeyGen MCP Gateway

Expose HeyGen to MCP clients with `kosmokrator mcp:serve --integration=heygen`.

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

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__heygen__heygen_list_videos heygen.heygen_list_videos Read read
integration__heygen__heygen_get_video heygen.heygen_get_video Read read
integration__heygen__heygen_create_video heygen.heygen_create_video Write write
integration__heygen__heygen_list_avatars heygen.heygen_list_avatars Read read
integration__heygen__heygen_list_voices heygen.heygen_list_voices Read read
integration__heygen__heygen_get_current_user heygen.heygen_get_current_user Read read
integration__heygen__heygen_list_templates heygen.heygen_list_templates 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.