You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 108ffac
Browse filesBrowse the repository at this point in the historyBrowse files
mcp 2.x removed the WebSocket client and renamed or reshaped several APIs,
which broke the MCP plugin import on fresh installs.
- McpError -> MCPError; tool/result fields are snake_case
(input_schema, mime_type, is_error).
- Add the Streamable HTTP transport ("streamable_http", also
"streamable-http"/"http") with headers and timeouts via
create_mcp_http_client. "websocket" now fails with a clear error
pointing to streamable_http or sse.
- LoggingClientSession logs the method/params of 2.x request and
notification objects.
- Detect server capabilities by value; hasattr was always true.
- Handle non-CallToolResult results (e.g. InputRequiredResult).
- Share header env expansion between SSE and Streamable HTTP.
- Require mcp>=2,<3 (replaces the earlier <2 pin); update README and tests.
Verified against real mcp 2.2.0 servers over stdio, SSE and Streamable
HTTP (connect, discover, call tool).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments