You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mcp>=1.0.0 unpinned causes crash with mcp 2.0.0 (AttributeError: 'Server' object has no attribute 'list_tools') #16
finmind-mcp fails to start when installed via both uvx finmind-mcp and pipx install finmind-mcp, because pyproject.toml declares mcp>=1.0.0 with no upper bound. The mcp SDK just released a breaking major version 2.0.0 (removed the old @app.list_tools() / @app.call_tool() decorator API on Server), so pip/uv resolve to mcp==2.0.0, and finmind_mcp/server.py (written against the 1.x API) crashes at import time:
Traceback (most recent call last):
File ".../bin/finmind-mcp", line 3, in <module>
from finmind_mcp.server import main
File ".../site-packages/finmind_mcp/server.py", line 28, in <module>
@app.list_tools()
AttributeError: 'Server' object has no attribute 'list_tools'
Thanks for the detailed report and for confirming the fix with mcp==1.29.0 — much appreciated!
You're right: mcp 2.0.0 removed the 1.x Server decorator API and our unpinned mcp>=1.0.0 picked it up. We've pinned mcp>=1.0.0,<2.0.0 (#18) and released finmind-mcp 0.0.6 to PyPI, so a fresh pip install / uvx finmind-mcp / pipx install finmind-mcp now resolves to mcp 1.x and starts cleanly.
Activity
Pin mcp<2.0.0 — mcp 2.0 removed the Server decorator API
linsamtw commentedon Aug 1, 2026
Thanks for the detailed report and for confirming the fix with
mcp==1.29.0— much appreciated!You're right:
mcp2.0.0 removed the 1.xServerdecorator API and our unpinnedmcp>=1.0.0picked it up. We've pinnedmcp>=1.0.0,<2.0.0(#18) and released finmind-mcp 0.0.6 to PyPI, so a freshpip install/uvx finmind-mcp/pipx install finmind-mcpnow resolves to mcp 1.x and starts cleanly.If you have an existing broken environment:
Migrating
server.pyto the mcp 2.0 API is tracked separately in #20. Thanks again!