KosmoKrator

documents

API Template IO MCP Gateway for AI Agents

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

5 functions 3 read 2 write API key auth

API Template IO MCP Gateway

Expose API Template IO to MCP clients with `kosmokrator mcp:serve --integration=apitemplateio`.

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

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__apitemplateio__apitemplateio_create_pdf apitemplateio.apitemplateio_create_pdf Write write
integration__apitemplateio__apitemplateio_create_image apitemplateio.apitemplateio_create_image Write write
integration__apitemplateio__apitemplateio_list_templates apitemplateio.apitemplateio_list_templates Read read
integration__apitemplateio__apitemplateio_get_template apitemplateio.apitemplateio_get_template Read read
integration__apitemplateio__apitemplateio_get_current_user apitemplateio.apitemplateio_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.