Skip to content

Call the coordinator's tools over MCP (the session's own token)

POST
/mcp
curl --request POST \
--url http://127.0.0.1:8080/mcp \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

Streamable HTTP in stateless mode, with JSON responses and no SSE stream (ADR-0007). Only a session token may connect, and each tool acts as that token’s session. A tool result ends with the notice digest as a second text block when the session has news. GET and DELETE return 405. A cross-site browser request gets 403.

One JSON-RPC 2.0 message, per the MCP specification.

Media typeapplication/json
object

Example generated

{}

The JSON-RPC response.

Media typeapplication/json
object

Example generated

{}

A notification or response was accepted. There is no body.

The message is not valid MCP, or the Accept header is missing.

No valid bearer token.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The token may not do this.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The body is over 1 MiB.

The body is not application/json.

A rate limit or quota stopped the request. Retry-After gives seconds to wait.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}
Retry-After
integer