MCP reference
For a walkthrough with working clients, see Connect over MCP.
Connection
Section titled “Connection”| Endpoint | POST /mcp on the agent listener |
| Transport | Stateless Streamable HTTP |
| Protocol revision | 2026-07-28, and no other |
| Authentication | Authorization: Bearer <token>, an OAuth access token for the agent listener’s audience |
| Discovery | GET /.well-known/oauth-protected-resource |
Your tool list depends on your bundle
Section titled “Your tool list depends on your bundle”MCP clients discover tools with tools/list, so that answer is the reference for your deployment. Each intent the caller is granted becomes one tool, with the first dot replaced by a hyphen: procurement.get_budget becomes procurement-get_budget. An intent the caller is not granted is not listed, and calling it gets the protocol’s unknown-tool error.
Arguments of an intent tool
Section titled “Arguments of an intent tool”| Argument | Required | Description |
|---|---|---|
input |
Yes | The intent’s input, as its schema in tools/list describes |
idempotency_key |
For writes | One key per business action, reused on retry. Pattern: ^[A-Za-z0-9_-]{16,128}$ |
rationale |
No | Why the agent is asking, at most 2000 characters. Shown to approvers as unverified, and never affects a decision |
Tools every agent gets
Section titled “Tools every agent gets”sefra-get_execution
Section titled “sefra-get_execution”Read the current result of one of your executions by its execution_id.
| Field | Type | Required | Description |
|---|---|---|---|
execution_id |
string | Yes |
sefra-cancel_execution
Section titled “sefra-cancel_execution”Cancel one of your executions while it is pending approval, by its execution_id. Refused in any other status.
| Field | Type | Required | Description |
|---|---|---|---|
execution_id |
string | Yes |
sefra-submit_plan
Section titled “sefra-submit_plan”Submit an ordered plan of 2 to 16 steps, run one after another. Each step names a granted intent type (the tool name with the hyphen as a dot, for example procurement.create_vendor) and an input that follows that tool’s input schema. A value in a later step may be {“$ref”: “steps.
| Field | Type | Required | Description |
|---|---|---|---|
idempotency_key |
string | No | Generate one key per business action and reuse it when retrying that action. Pattern: ^[A-Za-z0-9_-]{16,128}$. |
rationale |
string | No | Optional, agent-supplied and unverified. Shown to approvers; never influences a decision. At most, in characters: 2000. |
steps |
array of object | Yes | At most, in items: 16. |
Each entry of steps:
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | Pattern: ^[a-z0-9_]{1,32}$. |
input |
object | Yes | |
intent |
string | Yes |
The result of every tool
Section titled “The result of every tool”Every tool returns this object in structuredContent, and the same JSON in a text block. isError is true when the status is rejected, failed, rolled_back, needs_intervention or resolved_manually.
| Field | Type | Required | Description |
|---|---|---|---|
approval |
object | No | |
error |
object | No | |
execution_id |
string or null | Yes | |
poll_after_s |
integer | No | Minimum: 0. |
replayed |
boolean | No | |
status |
any | No | One of pending_approval, executing, compensating, succeeded, rejected, failed, rolled_back, needs_intervention, resolved_manually. |
steps |
array of object | No |
Every status and code is listed under Statuses and error codes, and Handle every outcome says what an agent should do with each.