feat: add Streamable HTTP transport alongside SSE #38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "add-streamable-http-transport"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
StreamableHTTPServerTransportat/mcp(stateless mode), running on the same HTTP server as the existing SSE endpoints.MCP_TRANSPORT=sseorMCP_TRANSPORT=httpboth start the network server (stdio stays the default)./mcptransport teardown so request flow is visible inactual-mcp.log.Test plan
npm run buildcleannpm testgreen (130 tests)running on stdiocurl -N http://localhost:3000/ssestill streams; existing/messagesPOST flow workscurl -X POST http://localhost:3000/mcpwith aninitializeJSON-RPC envelope returns 200actual-mcp.logshows the new lifecycle log lines for each request