KosmoKrator

sales

Freshsales MCP Gateway for AI Agents

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

7 functions 6 read 1 write API key auth

Freshsales MCP Gateway

Expose Freshsales to MCP clients with `kosmokrator mcp:serve --integration=freshsales`.

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

Serve Manually

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

MCP Tool Names

KosmoKrator exposes integration tools through the gateway with stable names:

MCP toolSource functionType
integration__freshsales__freshsales_create_contact freshsales.freshsales_create_contact Write write
integration__freshsales__freshsales_get_contact freshsales.freshsales_get_contact Read read
integration__freshsales__freshsales_get_current_user freshsales.freshsales_get_current_user Read read
integration__freshsales__freshsales_get_deal freshsales.freshsales_get_deal Read read
integration__freshsales__freshsales_list_accounts freshsales.freshsales_list_accounts Read read
integration__freshsales__freshsales_list_contacts freshsales.freshsales_list_contacts Read read
integration__freshsales__freshsales_list_deals freshsales.freshsales_list_deals 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.