Open an MCP server-to-client SSE stream
GET/v1/mcp
Open a long-lived server-to-client SSE stream for the current MCP session as defined by the Streamable HTTP transport. The Mcp-Session-Id header must identify an existing session created via POST /v1/mcp.
Request​
Responses​
- 200
- 401
- 403
- 404
SSE stream (text/event-stream) of server-originated MCP messages.
Unauthorized. The /v1/mcp endpoint requires runtime.auth to be configured. Configure an API key provider in your Spicepod and retry with credentials.
Forbidden. The Host header value is not in the runtime.mcp.allowed_hosts list.
Unknown or expired Mcp-Session-Id.
