KosmoKrator

marketing

Bitly MCP Gateway for AI Agents

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

8 functions 5 read 3 write Bearer token auth

Bitly MCP Gateway

Expose Bitly to MCP clients with `kosmokrator mcp:serve --integration=bitly`.

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

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__bitly__bitly_shorten_link bitly.bitly_shorten_link Write write
integration__bitly__bitly_get_link bitly.bitly_get_link Read read
integration__bitly__bitly_update_link bitly.bitly_update_link Write write
integration__bitly__bitly_get_clicks bitly.bitly_get_clicks Read read
integration__bitly__bitly_list_groups bitly.bitly_list_groups Read read
integration__bitly__bitly_get_group bitly.bitly_get_group Read read
integration__bitly__bitly_create_bitlink bitly.bitly_create_bitlink Write write
integration__bitly__bitly_get_current_user bitly.bitly_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.