Skip to main content
Version: Next

Send a Model Context Protocol message

POST 

/v1/mcp

Send a JSON-RPC message to the Spice MCP server using the MCP Streamable HTTP transport. Spice is dual-era: 2026-07-28 clients call server/discover and tools without a session; legacy clients may still initialize and use Mcp-Session-Id. The response is either a single JSON-RPC response (application/json) or an SSE stream (text/event-stream), selected via the Accept header.

Request​

Responses​

JSON-RPC response. Returned as application/json for a single response or text/event-stream when the server streams additional messages.