feat(mcp): migrate to mcp 2.x (MCPServer) (#10)
Co-authored-by: claude <[email protected]>
This commit was merged in pull request #10.
This commit is contained in:
+2
-7
@@ -1,11 +1,6 @@
|
||||
# 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
|
||||
# 2.x: no [fastmcp] extra; FastMCP -> MCPServer (see docs_mcp/server.py).
|
||||
mcp>=2,<3
|
||||
pydantic>=2.0
|
||||
httpx>=0.27
|
||||
|
||||
|
||||
Reference in New Issue
Block a user