Documentation

Bellaso MCP / Agent API

Registry version 8bfe6b0a86d6f539 · 47 tools (32 read, 15 write).

The Bellaso agent surface lets an organization point its own AI agent — Claude Code, Claude.ai, an internal agent, any MCP client — or any HTTP client at its Bellaso data. The agent gets scoped, rate-limited, audited access to that organization's marketing marts and a small set of low-risk write tools, and nothing else. There is no SQL surface.

There are two doors onto the same pipeline:

New here? Start with the Quickstart.

Endpoints and transport

PurposeURLMethod
MCP (Streamable HTTP)https://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp/mcpPOST
Tool indexhttps://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp/api/v1/toolsGET
Call a toolhttps://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp/api/v1/tools/{name}POST
This surface's context packhttps://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp/api/v1/context-packGET
OpenAPI 3.1 contract (unauthenticated)https://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp/api/v1/openapi.jsonGET

The bare function root (https://dtrgbxembnbwlmpvhhms.supabase.co/functions/v1/cortex-mcp) also speaks MCP, for clients that will not accept a path suffix.

  • MCP body: a single JSON-RPC 2.0 message. Batching (a JSON array body) is not supported. Bodies are capped at 1 MiB.
  • Notifications (a message with no id, e.g. notifications/initialized) get an empty 202.
  • REST body: the tool's arguments, as a JSON object. Capped at 64 KiB. Every REST response carries an X-Request-Id — quote it in support requests and it maps to one audit row.
  • serverInfo reports { "name": "cortex-mcp", "version": "1.0.0" }.

What's in these docs

PageWhat it covers
QuickstartMint a token, list tools, call a read tool, connect an MCP client
AuthenticationThe organization-scoped ck_… bearer token
Rate limitsPer-minute and per-day caps, Retry-After
ErrorsJSON-RPC error codes and REST status codes
Protocol & methodsSupported MCP protocol versions and methods
Tool scopingThe per-endpoint enabled_tools allowlist
AuditingThe append-only audit log
Connecting an MCP clientClient configuration for HTTP and stdio-only clients
Calling the REST twinThe uniform REST shape and the OpenAPI contract
Context packThe agent grounding document
Tools overviewAll 47 tools, grouped into read and write
API ReferenceInteractive OpenAPI reference and playground
Last modified on