Skip to content

Dependencies broken by FastMCP v2 #85

Description

@ineffyble

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:

-mcp<2.0
+mcp>=1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions