deps: migrate to mcp 2.x (lift the <2 pin) (#6)
Image rebuild (skip scrape) / build (push) Successful in 1h31m29s

Co-authored-by: claude <[email protected]>
This commit was merged in pull request #6.
This commit is contained in:
2026-09-10 19:50:11 -04:00
committed by claude
parent 98842d1ed6
commit e390655640
6 changed files with 52 additions and 25 deletions
+1 -7
View File
@@ -1,11 +1,5 @@
# MCP server
# Pinned below 2.0: mcp 2.0.0 removed `mcp.server.fastmcp`, which this
# server imports. The unpinned floor pulled 2.0.0 into a rebuild on
# 2026-08-11 and crash-looped zerto-docs with
# "ModuleNotFoundError: No module named 'mcp.server.fastmcp'".
# 2.0 also drops the [fastmcp] extra. Migrating to the 2.x API is a
# deliberate piece of work — do not lift this pin without it.
mcp[fastmcp]>=1.0.0,<2
mcp>=2,<3 # 2.x: no [fastmcp] extra; FastMCP -> MCPServer
pydantic>=2.0
httpx>=0.27