From 90787b58975162bea8e4f28ac30f654aa9a0be4e Mon Sep 17 00:00:00 2001 From: Vishal Habib Date: Mon, 26 Oct 2026 12:59:46 -0400 Subject: [PATCH] fix: cap mcp below 2 so pip install -e . can start the MCP servers All six MCP servers import mcp.server.fastmcp, which mcp 2.x removed. pyproject asks for mcp[cli]>=1.26.0 with no upper bound, so the README's pip install -e . now resolves mcp 2.3.0 and every server fails on import. uv.lock already pins 1.26.0; only the requires-dist line changes there. Signed-off-by: Vishal Habib --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2248de9c3..384e040d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ requires-python = ">=3.12" dependencies = [ "couchdb3>=2.0.2", "fastmcp>=3.2.0", - "mcp[cli]>=1.26.0", + "mcp[cli]>=1.26.0,<2", "pendulum>=3.2.0", "pydantic>=2.12.5", "requests>=2.32.5", diff --git a/uv.lock b/uv.lock index 599aa076b..892a5a5b9 100644 --- a/uv.lock +++ b/uv.lock @@ -329,7 +329,7 @@ requires-dist = [ { name = "langchain-mcp-adapters", specifier = ">=0.2.2" }, { name = "langchain-openai", specifier = ">=1.1.0" }, { name = "litellm", specifier = "==1.94.0" }, - { name = "mcp", extras = ["cli"], specifier = ">=1.26.0" }, + { name = "mcp", extras = ["cli"], specifier = ">=1.26.0,<2" }, { name = "numpy", specifier = ">=1.24" }, { name = "openai", specifier = ">=1.40.0" }, { name = "openai-agents", specifier = ">=0.0.7" },