Pin mcp SDK below 2.0
A fresh image build pulled mcp 2.0.0, which removed mcp.server.fastmcp and crash-looped the container (ModuleNotFoundError). Pin to the 1.x line the server is written against; the 2.x migration is a deliberate change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1 +1,4 @@
|
||||
mcp>=1.2.0
|
||||
# Pinned below 2.0: mcp 2.0.0 removed mcp.server.fastmcp (and the 1.x
|
||||
# lowlevel/transport_security layout this server imports). Migrating to the
|
||||
# 2.x API is a deliberate change, not a rebuild side effect.
|
||||
mcp>=1.2.0,<2
|
||||
|
||||
Reference in New Issue
Block a user