fix(python-servers): cap mcp version below v2.0.0 to prevent startup … - #4645
Open
KavyaNagariya wants to merge 1 commit into
Open
fix(python-servers): cap mcp version below v2.0.0 to prevent startup …#4645KavyaNagariya wants to merge 1 commit into
KavyaNagariya wants to merge 1 commit into
Conversation
KavyaNagariya
force-pushed
the
fix/cap-mcp-v1-python-servers
branch
from
August 15, 2026 06:31
b0c96ef to
8959005
Compare
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.
Description
This PR caps the
mcpSDK dependency to<2.0.0for all Python-based reference servers (fetch,git, andtime).Because the Python MCP SDK recently released version
2.0.0with breaking changes (renamingMcpErrortoMCPErrorand removing decorators like@server.list_tools()), unpinned installations likeuvx mcp-server-gitwould resolve the latest2.0.0version and instantly crash on startup. Capping the dependencies ensures these servers continue to run properly on older stable SDK APIs.Server Details
fetch,git,timepyproject.tomldependenciesMotivation and Context
This resolves three active startup crash issues:
How Has This Been Tested?
Tested locally by compiling the package and verifying that the dependency resolution caps the
mcpSDK below2.0.0.Breaking Changes
No (prevents breaking changes introduced by the SDK upgrade).
Types of changes
Checklist