Migrate all MCP client and server code from MCP Python SDK v1 to v2.0.0b1, applying every breaking API change (renamed clients/errors/types, FastMCP → MCPServer, host/port moved to run methods, session termination via terminate_on_close, pre-built httpx.AsyncClient).
Pins mcp == 2.0.0b1 and mcp-types == 2.0.0b1.
Migrate all MCP client and server code from MCP Python SDK v1 to v2.0.0b1, applying every breaking API change (renamed clients/errors/types,
FastMCP→MCPServer,host/portmoved to run methods, session termination viaterminate_on_close, pre-builthttpx.AsyncClient).Pins
mcp == 2.0.0b1andmcp-types == 2.0.0b1.