On this page
Connection#
http
POST /api/v2/mcp HTTP/1.1
Host: principal.example.com
Authorization: Bearer prn_pat_xxxxxxxxxxxxxxxxxxxx
Content-Type: application/json| Setting | Value |
|---|---|
Endpoint |
https://<host>/api/v2/mcp (Streamable HTTP) |
Auth |
Authorization: Bearer <token>. Enforces token roles, rights, org, rate limits, maintenance mode, and audit. |
Revocation |
Revoking the token stops the agent immediately. |
Size cap |
Responses over 256 KiB are cut with a note to narrow limit, cursor, or filters. |
Tools#
| Tool | Purpose |
|---|---|
principal_find_operations |
Search API operations by keyword or area. |
principal_describe_operation |
Show parameters, body, and responses for one operation. |
principal_read |
Run a read-only ( GET) operation. |
principal_change |
Run a changing operation (marked destructive, so agents confirm first). |
Access and safety#
All API-token operations in the API reference are reachable. Refused calls return standard errors and details.reason (What tokens cannot do). Target and user strings are returned as JSON data, never instructions.