Skip to main content
Cruq AI exposes a Model Context Protocol server so agents and MCP clients (Claude, Cursor, and others) can drive the platform directly, using the same tools as the REST API.

Endpoint

  • URL: https://api.cruq.ai/mcp
  • Transport: Streamable HTTP
  • Auth: the same API key as the REST API, sent as a bearer token: Authorization: Bearer cruq_sk_.... A runtime key gets the tools that run, read and search. A management key (cruq_mk_...) also gets the build tools, which create and change agents.
The server is stateless, so any MCP client that speaks Streamable HTTP can connect without session setup.

Connecting a client

Point your MCP client at the endpoint with an Authorization header. For a client configured via JSON:

Tools

Each tool maps to the same operation as the REST API; see the OpenAPI spec for the full schema.

Build tools

With a management key, the server also lists tools for building agents from a conversation. This is what the Agent Builder team runs on, and any MCP client can use them the same way. create_agent and update_agent take tools by name, not by id:
  • builtins are builtin tool keys. browser also needs browser_domains, the sites it may open.
  • tools are tool names as list_capabilities shows them. A connector’s own name ("Tavily") picks all of its tools.
  • On update_agent, a builtins, tools or subagents list replaces that list only, so adding a builtin keeps the agent’s integrations.
  • Results carry warnings, for example a model whose provider is not connected, or an integration that is attached but not connected yet.
None of the build tools delete anything. Agents with routers or several agent nodes can be read with get_agent but must be edited in the dashboard.