Transport
JSON-RPC methods, HTTP behavior, origin validation, and SSE limits.
The adapter provides JSON-RPC 2.0 over one Elysia HTTP endpoint, defaulting to /mcp.
Supported methods
initializepingtools/listtools/callresources/listresources/templates/listresources/readprompts/listprompts/get
JSON-RPC batches are supported. Notifications and client responses receive no JSON-RPC response; the HTTP response uses status 202 when a request produces no messages.
POST
POST is the primary transport. Send content-type: application/json with one JSON-RPC request or a batch.
GET and SSE
GET SSE is disabled by default and returns 405 Method Not Allowed.
mcp({
transport: { enableGetSse: true }
})The current SSE behavior emits a minimal connected event and closes. It does not provide resumable streams, server-initiated requests, or long-lived sessions.
DELETE
DELETE session handling is disabled by default. When enableDeleteSession is enabled, DELETE returns 202, but the adapter does not maintain stateful MCP sessions.
Protocol version
The default protocol version is 2025-11-25. Override transport.protocolVersion only when your clients require a different negotiated version and the implemented method surface remains compatible.