KosmoKrator

accounting

FreshBooks MCP Gateway for AI Agents

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

8 functions 7 read 1 write Bearer token auth

FreshBooks MCP Gateway

Expose FreshBooks to MCP clients with `kosmokrator mcp:serve --integration=freshbooks`.

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

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__freshbooks__freshbooks_list_invoices freshbooks.freshbooks_list_invoices Read read
integration__freshbooks__freshbooks_get_invoice freshbooks.freshbooks_get_invoice Read read
integration__freshbooks__freshbooks_create_invoice freshbooks.freshbooks_create_invoice Write write
integration__freshbooks__freshbooks_list_clients freshbooks.freshbooks_list_clients Read read
integration__freshbooks__freshbooks_get_client freshbooks.freshbooks_get_client Read read
integration__freshbooks__freshbooks_list_projects freshbooks.freshbooks_list_projects Read read
integration__freshbooks__freshbooks_list_payments freshbooks.freshbooks_list_payments Read read
integration__freshbooks__freshbooks_get_current_user freshbooks.freshbooks_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.