The current requirements.txt doesn't pin a major version, meaning that as of July 28th it resolves to mcp 2.0.0.
FastMCP v2 has a breaking change which results in this error:
ModuleNotFoundError: No module named 'mcp.server.fastmcp'
File "/Users/effy/agentchattr/app.py", line 322, in _background_checks
import mcp_bridge
File "/Users/effy/agentchattr/mcp_bridge.py", line 15, in <module>
from mcp.server.fastmcp import Context, FastMCP
ModuleNotFoundError: No module named 'mcp.server.fastmcp'
Workaround for now is to pin it in requirements.txt:
The current
requirements.txtdoesn't pin a major version, meaning that as of July 28th it resolves tomcp 2.0.0.FastMCP v2 has a breaking change which results in this error:
Workaround for now is to pin it in
requirements.txt: