fix: bump MCP SDK to >=1.23.0 for protocol 2025-11-25 support#118
Merged
Wh1isper merged 1 commit intoai-zerolab:mainfrom Feb 14, 2026
Merged
fix: bump MCP SDK to >=1.23.0 for protocol 2025-11-25 support#118Wh1isper merged 1 commit intoai-zerolab:mainfrom
Wh1isper merged 1 commit intoai-zerolab:mainfrom
Conversation
Claude Desktop now requires MCP protocol version 2025-11-25, but mcp v1.16.0 only supports 2025-06-18. This causes Claude Desktop to silently refuse to expose tools despite a successful handshake. Bumps mcp[cli] from >=1.3.0 to >=1.23.0,<2 (resolves to v1.26.0). The <2 upper bound avoids upcoming v2 breaking changes per upstream SDK guidance. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mcp[cli]from>=1.3.0to>=1.23.0,<2(resolves to v1.26.0)2025-11-25, but mcp v1.16.0 only supports2025-06-18<2upper bound avoids upcoming v2 breaking changes per upstream SDK guidanceContext
Despite a fully successful MCP handshake (server starts,
tools/listreturns 20+ tools), Claude Desktop silently refuses to expose the tools in conversations when the protocol version doesn't match. The server responds withprotocolVersion: "2025-06-18"but the client expects2025-11-25.v1.23.0 of the Python MCP SDK introduced support for protocol
2025-11-25.What changed
One line in
pyproject.toml:Plus the regenerated
uv.lock(mcp resolves from 1.16.0 → 1.26.0).No source code changes. The project only imports
FastMCPand uses@mcp.tool()/mcp.run()— all stable APIs across this version range.Test plan
uv lock && uv syncsucceeds (mcp 1.16.0 → 1.26.0)uv run pytest tests/ -v— all 130 tests pass🤖 Generated with Claude Code