Skip to main content

handler

Function handler 

Source
async fn handler(__arg0: State<Api>, body: String) -> Response
Expand description

The MCP endpoint: JSON-RPC in, one of the eight tools in TOOLS out.

Streamable HTTP with no session and no SSE, because every tool here is a single request and a single response. An agent points at this URL and has the same reads the UI does.