KosmoKrator

marketing

Dub.co MCP Gateway for AI Agents

Expose Dub.co 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

Dub.co MCP Gateway

Expose Dub.co to MCP clients with `kosmokrator mcp:serve --integration=dub`.

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

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__dub__dub_list_links dub.dub_list_links Read read
integration__dub__dub_get_link dub.dub_get_link Read read
integration__dub__dub_create_link dub.dub_create_link Write write
integration__dub__dub_list_domains dub.dub_list_domains Read read
integration__dub__dub_get_domain dub.dub_get_domain Read read
integration__dub__dub_list_tags dub.dub_list_tags Read read
integration__dub__dub_get_current_user dub.dub_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.