diff --git a/mcp/pyproject.toml b/mcp/pyproject.toml index 53d21d3..3806697 100644 --- a/mcp/pyproject.toml +++ b/mcp/pyproject.toml @@ -13,7 +13,10 @@ readme = "README.md" requires-python = ">=3.10" license = { text = "MIT" } dependencies = [ - "mcp>=1.2", + # Pinned to the 1.x line: the federated gateway ecosystem (mcp-proxy, + # hub_entrypoint, every sibling server) uses the v1 FastMCP API; mcp 2.x + # renamed it to MCPServer and breaks at import inside the gateway venv. + "mcp>=1.2,<2", "httpx>=0.27", ]