Description
apps/orchestrator/pyproject.toml pins the MCP SDK below 2.x, with a comment
explaining why:
# so an unconstrained `>=1.2` resolved to 2.x on any fresh install and the
# bundled server failed on first run (issue #138). Lift this when that
# import is ported to the 2.x API, not before.
"mcp>=1.2,<2",Nothing enforces that except the comment.
Dependabot opened #164 to widen it to <3. All nine checks passed. CI
installed the MCP SDK 2.x and the whole suite went green, because no test
imports the file the pin protects:
$ grep -rln "vault_fs_server" --include="*.py" apps/orchestrator/tests/
# nothingMeanwhile tools/vault_fs_server.py:16 still reads:
from mcp.server.fastmcp import FastMCPwhich is the 1.x path 2.x removed. So the exact break reported in #138 would
have shipped, past a fully green pipeline, on the word of a bot that cannot read
comments. #164 is closed, but it will come back every time the SDK releases.
Why this is the interesting half
The bump is a five second decision. The gap is that a constraint defending a
known, reproduced, externally reported install failure has no test behind it.
This project's habit is to turn a claim into a test the moment it matters:
test_readme_claims.py for the README, test_version.py for the version,
test_ingest_roundtrip.py after fields were silently dropped twice,
test_powershell_encoding.py after #133. This pin is the same shape and never
got one.
It is also the third time the pattern has bitten in this area. #133, #137 and
#138 were all clean-install failures found by a contributor rather than by CI,
because the suite runs in an environment that is already correct.
Two ways out, and they are not equivalent
Add a smoke test that imports the bundled server. Small, immediate, and it
makes the pin self-defending: the next widening bump goes red with a message
naming the reason. This does not fix anything for a user on 2.x, but it stops
the regression reaching them.
Port vault_fs_server.py to the 2.x API. The real fix. FastMCP became
MCPServer per #138. Then the pin can be widened deliberately, with the port
and the widening in the same pull request, which is where they belong.
Do the first regardless. Do the second when there is a reason to be on 2.x.
Scope
apps/orchestrator/tests/ for the smoke test, tools/vault_fs_server.py and
pyproject.toml for the port. Nothing under the detection freeze.
Activity
docs: three notes about the dashboard outlived the facts they described
docs(claude): the "short of" paragraph describes 2026-10-10, not 2026…
chore(ci): ignore dependabot bumps for the mcp pin