Skip to content

Pin mcp<2.0.0 — mcp 2.0 removed the Server decorator API - #18

Merged
linsamtw merged 1 commit into
masterfrom
fix/pin-mcp-lt-2
Aug 1, 2026
Merged

Pin mcp<2.0.0 — mcp 2.0 removed the Server decorator API#18
linsamtw merged 1 commit into
masterfrom
fix/pin-mcp-lt-2

Conversation

@linsamtw

@linsamtw linsamtw commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

mcp 2.0.0 dropped the 1.x @app.list_tools()/@app.call_tool() decorator API, so fresh installs resolving mcp>=1.0.0 to 2.0.0 crash at import with AttributeError: 'Server' object has no attribute 'list_tools'.

Fixes #16

mcp 2.0.0 dropped the 1.x @app.list_tools()/@app.call_tool() decorator
API, so fresh installs resolving mcp>=1.0.0 to 2.0.0 crash at import
with AttributeError: 'Server' object has no attribute 'list_tools'.

Fixes #16

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

mcp>=1.0.0 unpinned causes crash with mcp 2.0.0 (AttributeError: 'Server' object has no attribute 'list_tools')

1 participant