Pin mcp<2.0.0: v2 removed FastMCP from mcp.server.fastmcp

MCP SDK v2.0.0 extracted FastMCP into a separate package,
breaking the import at mcp.server.fastmcp.FastMCP. Pin to
v1.x until the server code is updated for the v2 API.
This commit is contained in:
Claude 2026-08-03 03:45:18 +00:00
parent 8aab7c0c4a
commit 00fcc9f0c6

View file

@ -42,7 +42,7 @@ postgres = [
"asyncpg>=0.30.0", "asyncpg>=0.30.0",
] ]
mcp = [ mcp = [
"mcp[cli]>=1.0.0", "mcp[cli]>=1.0.0,<2.0.0",
] ]
dev = [ dev = [
"pytest>=8.0", "pytest>=8.0",