Request path
- The agent picks a tool (e.g.
customerDetail) and passes arguments. - The MCP server builds a GraphQL query or mutation from the committed tool manifest.
- The server POSTs to your tenant GraphQL URL with
x-app-token. - The result is returned as JSON text to the agent.
Tool naming
Tool names match GraphQL operation names exactly:
Browse the full list in the tool catalog. Field-level documentation lives in the GraphQL reference.
Limiting tools
Large manifests can overwhelm smaller models. Set a prefix to expose only what you need:customers are registered (e.g. customers, customersAdd, customerDetail).
Response size
Responses are capped at 512 KB by default (KARZOUN_MCP_MAX_RESPONSE_BYTES). If a list query returns too much data, the tool fails with a clear error — narrow page / perPage or filter arguments, same as pagination in GraphQL.
Errors
Failed tools return JSON with anerror field:
Stdio vs hosted
Hosted mode also supports optional
x-subdomain when routing through multi-tenant gateways. See Hosted MCP.