Repository navigation
fix: cap mcp below 2 in the call-for-papers MCP example - #145
Closed
vishalhabib99 wants to merge 1 commit into
Closed
vishalhabib99 wants to merge 1 commit into
vishalhabib99 wants to merge 1 commit into
Conversation
Signed-off-by: Vishal Habib <vishalhabib99@gmail.com>
5 tasks done
Author
|
Closing this since #147 moved the example to mcp 2.x, which fixes the start-up problem at the source. Thanks for the migration! |
Member
|
Thanks for digging into this! We have migrated our agent examples to MCP 2.x, which avoids the version downgrade (#146). Closing this PR, the report was helpful in getting us there. Thank you! We appreciate! |
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
The call-for-papers MCP example's
requirements.txtlistsmcpwith no version, sopip install -r requirements.txt(the README step, and the example's Dockerfile) now installs mcp 2.3.0.server.pyimportsfrom mcp.server.fastmcp import FastMCP, which mcp 2.x removed, so the server fails on import:This is the same break the root
pyproject.tomlcapped in 0.2.1 (#118); this example has its own requirements file, so the cap didn't reach it.Changes
examples/call-for-papers-mcp/requirements.txt:mcp->mcp<2.CHANGELOG.md: a Fixed entry under[Unreleased].Checks
uv pip compileof the example'srequirements.txt(Python 3.11):from mcp.server.fastmcp import FastMCPmcp==2.3.0,langchain-mcp-adapters==0.3.1ModuleNotFoundErrormcp==1.30.0,langchain-mcp-adapters==0.3.2make cipasses: not run. The change is limited to an example's requirements file and the changelog, outsidesrc/.CHANGELOG.mdupdated under## [Unreleased]