From e0bf450e08c8f0f7764f413018bac4e20d6298a2 Mon Sep 17 00:00:00 2001 From: spencerm Date: Mon, 24 Aug 2026 12:32:20 -0600 Subject: [PATCH] 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 --- mcp-server/requirements.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mcp-server/requirements.txt b/mcp-server/requirements.txt index a5aa6e2..d4498f9 100644 --- a/mcp-server/requirements.txt +++ b/mcp-server/requirements.txt @@ -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