Repository navigation
v0.2.1
Streamable HTTP transport: the MCP spec's current HTTP transport, served at /mcp next to the legacy SSE endpoints.
server.run()now serves Streamable HTTP at/mcpplus the legacy/sse+/messagesendpoints from one app, so new and old clients both connect;server.run("sse")keeps the legacy-only surface- Sessions via
MCP-Session-Id: 192-bit ids bound to the credential that opened them,DELETE /mcpto end one, idle expiry (session_idle_timeout),max_sessionscap Originallowlist on every HTTP endpoint (allowed_origins, loopback origins by default) rejects DNS-rebinding requests with 403- Protocol negotiation for
2024-11-05through2025-11-25; unsupportedMCP-Protocol-Versionheaders get 400;SUPPORTED_PROTOCOL_VERSIONSis exported - Legacy SSE fix:
POST /messagesanswers 202 before the tool finishes, sonotifications/cancelledcan overtake a slow call - Verified against the official MCP Python SDK 2.2.0 and TypeScript SDK 1.30.0 clients
- 13 new tests (99 total)
Backwards compatible with 0.2.0. Install or upgrade: pip install -U easy-mcp-kit (import name: easy_mcp)
What's Changed
- Add Streamable HTTP transport and release 0.2.1 by @Mark007-R in #16
Full Changelog: v0.2.0...v0.2.1