A recent update to the MCP Python package, version 2.0, has introduced breaking changes that cause a ModuleNotFoundError for users relying on the older FastMCP class. The FastMCP class has been renamed to MCPServer and its module path has changed from `mcp.server.fastmcp` to `mcp.server.mcpserver`. This issue affects applications like Claude Desktop, Claude Code, and Cursor+ that integrate with MCP servers, causing them to crash at startup if not updated. Developers can resolve this by updating their import statements and, if necessary, pinning their MCP dependency to a version less than 2.0. AI
IMPACT Developers using the MCP package must update their code to accommodate the recent FastMCP to MCPServer migration, or risk application failures.
RANK_REASON The item describes a breaking change in a Python package and how to fix it, affecting developer tools.
- Claude Code
- Claude Desktop
- Cursor+
- FastMCP
- MCP
- MCPServer
- mcp.server.fastmcp
- mcp.server.mcpserver
- ModuleNotFoundError
- pip
- pyproject.toml
- Uv Python Package
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →