Repository navigation
chore(deps): bump mcp from 2.0.0 to 2.2.0 - #2878
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
hallerite
previously approved these changes
Oct 16, 2026
dependabot
Bot
force-pushed
the
dependabot/uv/mcp-2.2.0
branch
from
October 22, 2026 11:04
00dd329 to
f5cc1c4
Compare
Bumps [mcp](https://github.com/modelcontextprotocol/python-sdk) from 2.0.0 to 2.2.0. - [Release notes](https://github.com/modelcontextprotocol/python-sdk/releases) - [Changelog](https://github.com/modelcontextprotocol/python-sdk/blob/main/RELEASE.md) - [Commits](modelcontextprotocol/python-sdk@v2.0.0...v2.2.0) --- updated-dependencies: - dependency-name: mcp dependency-version: 2.2.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/uv/mcp-2.2.0
branch
from
October 24, 2026 13:32
f5cc1c4 to
1209e57
Compare
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
hallerite
added a commit
that referenced
this pull request
Oct 26, 2026
…#2982) ## Summary Bumps `mcp` 2.0.0 → 2.2.0 (dependabot's commit from #2878, unchanged) and fixes the one behavior change in that range that silently affects our tasksets. Since mcp 2.1.0 (modelcontextprotocol/python-sdk#3314), `MCPServer` treats any exception a tool raises, other than `ToolError`/`MCPError`, as a crash. The client then gets only `Error executing tool <name>`, without the exception text. Our tools raise to tell the model what went wrong (an unknown id, an invalid argument), so on 2.2.0 the model would lose that feedback: | tool raises `ValueError("Order A-17 not found")` | tool result the model sees | |---|---| | mcp 2.0.0 | `Error executing tool lookup: Order A-17 not found` | | mcp 2.2.0 | `Error executing tool lookup` | | mcp 2.2.0 + this PR | `Error executing tool lookup: Order A-17 not found` | `ServerBase._with_state` now re-raises a tool's own exception as `ToolError`, the channel upstream keeps for messages meant for the model. That keeps the 2.0 text byte-for-byte, and the server logs one INFO line instead of a traceback. This covers every `@vf.tool` and every `add_tool(self._with_state(...))` registration. Toolsets that replace `MCPServer.call_tool` directly (Harbor, NeMo Gym) already kept their messages. Nothing else in 2.1/2.2 affects us: - Idle-session expiry and the session cap apply only to stateful servers; ours run `stateless_http=True`. - The new same-origin redirect policy doesn't matter here: our server URLs are `http://host:port/mcp` and don't redirect. - The PEP 723 chat programs keep their own `mcp==2.0.0` pin, so they are unchanged here. Supersedes #2878. ## Testing - New integration cell `test_tool_error` in `tests/integration/test_multi_turn_tool.py` (`tool-error` fixture, runs in the Multi-Turn Tool job): the tool always raises a stamped message, and the reward is 1.0 only if the stamp reaches the trace. It **fails** on the bump alone (the tool message is `Error executing tool lookup`) and passes with the fix. - Ran locally on 2.2.0 with the fix: - echo-tool cells (`test_tool` null-in-prime, plus `test_tool_placement` with the tool colocated, in a Compose service, as a subprocess, and on its own Prime VM) - `test_stateful_tool` - `test_shared_tool` - `tests/unit`, ruff, ty
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.
Bumps mcp from 2.0.0 to 2.2.0.
Release notes
Sourced from mcp's releases.
... (truncated)
Commits
9972c21Replace RootModel wrappers with type aliases and TypeAdapter validation (#3470)fd66270docs: refresh translations, and translate pages in parallel (#3458)08a3bc8docs: ask for AI disclosure on comments too (#3459)7bb486adocs: stop presenting the in-memory client as the way to connect (#3443)0c91368Add AuthSettings.validate_token_resource to check a bearer token's resource (...9771e6bKeep following a relative redirect when the endpoint URL carries userinfo (#3...a925e55Bump the locked versions of eight dev and test dependencies (#3449)e8b9486Bump pymdown-extensions from 11.0 to 11.0.1 (#3285)c6762e8Follow redirects only within the MCP endpoint's origin (#3397)5fd3abcSkip automatic docs previews for fork PRs and drop the setup-uv retry steps (...