Skip to content

fix(deps): cap mcp<2 so serving works from binary/uvx/pip + v0.9.5 - #258

Merged
ernanibmurtinho merged 1 commit into
mainfrom
fix/mcp-cap-0.9.5
Jul 31, 2026
Merged

fix(deps): cap mcp<2 so serving works from binary/uvx/pip + v0.9.5#258
ernanibmurtinho merged 1 commit into
mainfrom
fix/mcp-cap-0.9.5

Conversation

@ernanibmurtinho

Copy link
Copy Markdown
Contributor

Root cause of the frozen-binary serve crash: mcp 2.0.0 removed the low-level Server.list_tools/call_tool decorators the serve path uses. Unpinned installs (PyInstaller binary + uvx/pip, which don't read uv.lock) resolved 2.0.0 → every bundled surface crashed on serve ('Server' object has no attribute 'list_tools'), incl. the npx orquestra path. Tests/hosted/dev used 1.x via uv.lock, so it was invisible until the binary serve was smoke-tested.

Fix: cap mcp[cli]>=1.28.1,<2. Verified with a minimal PyInstaller build — the frozen binary regains list_tools and serves. mypy clean (128 files), serve/stdio/http suites green. All markers → 0.9.5.

Tag v0.9.5 publishes; then I re-smoke the binary's orquestra --stdio derive.

🤖 Generated with Claude Code

….9.5

Root cause of the crash uncovered while smoke-testing the frozen binary's serve:
mcp 2.0.0 removed the low-level `Server.list_tools`/`call_tool` decorators our serve
path uses (gecko.mcp_server / gecko.http_server). Installs that DON'T read uv.lock —
the PyInstaller binary (npx) and `uvx`/`pip` — resolved `mcp[cli]>=1.28.1` to 2.0.0,
so EVERY bundled surface (jupiter-mcp/txline-mcp/ore-mcp/orquestra) crashed on serve
with `'Server' object has no attribute 'list_tools'`. Tests + the hosted server +
dev all used 1.x via uv.lock, so it was invisible until the binary serve was tested.

Fix: cap `mcp[cli]>=1.28.1,<2` in the serve extra. Verified with a minimal PyInstaller
build — the frozen binary regains `list_tools` and serves. mypy clean (128 files),
serve/stdio/http suites green, demo smoke ok, mcp pinned 1.28.1.

All markers bumped to 0.9.5 in lockstep + CHANGELOG.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ernanibmurtinho
ernanibmurtinho merged commit 23bf0e8 into main Jul 31, 2026
1 check failed
@ernanibmurtinho
ernanibmurtinho deleted the fix/mcp-cap-0.9.5 branch July 31, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant