Skip to content

Cap mcp below 2.0 - #7

Merged
odfalik merged 1 commit into
mainfrom
fix/cap-mcp-dependency
Aug 2, 2026
Merged

odfalik merged 1 commit into
mainfrom
fix/cap-mcp-dependency

Conversation

@odfalik

@odfalik odfalik commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

A fresh dependency resolve picks mcp 2.0.0, where the lowlevel Server API moved and has no .list_tools. The module then fails to import outright:

AttributeError: 'Server' object has no attribute 'list_tools'

Existing environments were pinned by their lockfiles and unaffected — which is why nobody hit it. It only bites on a clean install, which is exactly what happens when the plugin is installed standalone rather than through golem.

Verified: with the cap, a fresh venv resolves mcp 1.29.0, imports cleanly, and exposes all 8 tools.

mcp 2.x moved the lowlevel Server API -- there is no .list_tools -- so a fresh
resolve produces an install where the module fails to import outright:

  AttributeError: 'Server' object has no attribute 'list_tools'

Existing environments were pinned by their lockfile and unaffected, which is why
this went unnoticed; it only bites on a clean install. Found while giving the
plugin a standalone venv so it no longer has to be installed via golem.
@odfalik
odfalik merged commit 5a05422 into main Aug 2, 2026
3 of 4 checks passed
@odfalik
odfalik deleted the fix/cap-mcp-dependency branch August 2, 2026 00:02
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