Pin standalone MCP clients to v1 - #2155
Merged
Merged
Conversation
Contributor
ApprovabilityVerdict: Approved This PR makes mechanical dependency version pinning changes to constrain You can customize Macroscope's approvability policy. Learn more. |
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.
Overview
Keep independently resolved MCP clients on the 1.x API until their MCP 2 migration.
Details
The bash, null, and compact uv scripts now use the same MCP 1.x range as the framework package. These PEP 723 environments resolve independently of the repository lock, so the constraint travels with each script.
The RLM harness passes a compatible MCP 1.x requirement through RLM's existing installer hook while preserving caller-supplied install extras. This keeps RLM's current streamable HTTP import contract available in its isolated tool environment.
Note
Low Risk
Dependency version constraints only; no runtime or auth logic changes.
Overview
Pins MCP to the 1.x line everywhere harness code resolves its own Python environment, so installs cannot silently pick up MCP 2 before those paths are migrated.
The compact, bash, and null uv script headers now declare
mcp>=1.24.0,<2instead of an unpinnedmcp. Those PEP 723 blocks resolve independently of the repo lock, so the constraint has to live on each script.The RLM harness appends
--with mcp~=1.28toRLM_EXTRA_UV_ARGSduringrlminstall, preserving any caller-supplied extras so RLM’s isolated tool env still gets a compatible 1.x client for streamable HTTP.Reviewed by Cursor Bugbot for commit 1a48304. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Pin standalone MCP clients to
mcp>=1.24.0,<2mcpdependency from unpinned to>=1.24.0,<2in the script headers for compact/program.py, bash/program.py, and null/program.py.--with mcp~=1.28toRLM_EXTRA_UV_ARGSinRLMHarness.setupso the RLM install step also picks up a compatible version.Macroscope summarized 1a48304.