diff --git a/pyproject.toml b/pyproject.toml index d918ff1..d42fb4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ classifiers = [ dependencies = [ # mcp 2.x removed `mcp.server.fastmcp`; pin <2.0 until we adapt to the new API. - "mcp>=1.6.0,<2.0", + "mcp>=2.1.1,<3.0", "pyyaml>=6.0", "tomli>=2.0.0; python_version<'3.11'", ] diff --git a/requirements.txt b/requirements.txt index 083c5bd..5826ea7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,6 @@ # Lightweight: no torch / transformers / tree-sitter required — the # server parses Python with the standard-library `ast` module. # mcp 2.x removed `mcp.server.fastmcp`; pin <2.0 until we adapt to the new API. -mcp>=1.6.0,<2.0 +mcp>=2.1.1,<3.0 pyyaml>=6.0 tomli>=2.0.0; python_version<"3.11"