KosmoKrator

automation

Apify MCP Gateway for AI Agents

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

10 functions 9 read 1 write API token auth

Apify MCP Gateway

Expose Apify to MCP clients with `kosmokrator mcp:serve --integration=apify`.

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

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__apify__apify_run_actor apify.apify_run_actor Write write
integration__apify__apify_get_run apify.apify_get_run Read read
integration__apify__apify_list_actors apify.apify_list_actors Read read
integration__apify__apify_get_actor apify.apify_get_actor Read read
integration__apify__apify_list_datasets apify.apify_list_datasets Read read
integration__apify__apify_get_dataset apify.apify_get_dataset Read read
integration__apify__apify_get_dataset_items apify.apify_get_dataset_items Read read
integration__apify__apify_list_key_value_stores apify.apify_list_key_value_stores Read read
integration__apify__apify_get_record apify.apify_get_record Read read
integration__apify__apify_get_current_user apify.apify_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.