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 <[email protected]>
This commit is contained in:
2026-08-24 12:32:20 -06:00
co-authored by Claude Fable 5
parent 549a1b6879
commit e0bf450e08
+4 -1
View File
@@ -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