Call Karzoun MCP over Streamable HTTP from your backend — or connect cloud AI apps (Claude, Manus, ChatGPT, remote Cursor) to the same endpoint.
New: Step-by-step connector guide → AI app connectors
Never call /mcp from browser JavaScript. The app token would be exposed to end users. Use your backend or a trusted worker.
When to use hosted
Authentication
Every request requires the same header as GraphQL:
Optional: x-subdomain when your gateway routes tenants by header.
Session handshake
- POST
initialize — no mcp-session-id yet
- Read
mcp-session-id from response headers
- POST
tools/list, tools/call, etc. with that header on every follow-up
Sessions are tied to the gateway process — re-initialize after deploys or long idle periods.
Initialize example
Save the mcp-session-id header from the response.
Architecture pattern
Store tokens in a secrets manager; inject per tenant if you operate multi-tenant SaaS.
Limits
- Same GraphQL permissions and rate behavior as direct API calls
- Default 512 KB tool response cap (configurable on self-hosted gateway mounts)
- See Security for rotation and scoping
Next steps