API ReferenceGeneratedAgents

MCP endpoint (JSON-RPC)

A native Model Context Protocol server for this app. Point any MCP client at this URL with your api key as the bearer token and the agent's permitted surface appears as tools. One key is one server, scoped to that key's agent. There is no separate MCP configuration: the tools are the same policy-derived surface `GET /agent/tools` returns, over the same execution core, with the same halt on high-risk steps. Supported methods include `initialize`, `tools/list`, and `tools/call`.

POST
/{appUid}/mcp

Authorization

bearerAuth
AuthorizationBearer <token>

Authorization for API

In: header

Path Parameters

appUid*string

Your app's unique id. Find it in the console under the app's Settings, or in the URL of any app page.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/497f6eca-6276-4993-bfeb-53cbbbba6f08/mcp" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "tools/list"  }'
{  "jsonrpc": "2.0",  "id": "string",  "result": {},  "error": {    "code": 0,    "message": "string"  }}