From 5ac55d3136791b3a4da8599b26f3315841ce014b Mon Sep 17 00:00:00 2001 From: Johnathan Neals Date: Sat, 15 Aug 2026 10:25:18 -0600 Subject: [PATCH] fix: cap mcp dependency to <2.0.0 (closes #55) MCP SDK 2.0 removes the 1.x Server decorator API that src/main.py uses (@app.list_tools, @app.call_tool, mcp.server.stdio.stdio_server). A fresh install resolves mcp>=1.0.0 to 2.0.0 and crashes on import. Pin to <2.0.0 so existing installs keep working. A future PR can migrate to the 2.x API surface when ready. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 96d3654..c62cab2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ dependencies = [ "pydantic>=2.5.0", "pydantic-settings>=2.1.0", "nltk>=3.8.1", - "mcp>=1.0.0", + "mcp>=1.0.0,<2.0.0", "packaging>=24.0", ]