From 01fa6287bf33f50541e3ed5f541b6f4126209fed Mon Sep 17 00:00:00 2001 From: Olivier Chafik Date: Mon, 26 Jan 2026 18:55:26 +0000 Subject: [PATCH] fix(say-server): pin mcp to released version instead of main branch (#366) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The main branch of the MCP Python SDK has removed `FastMCP` (likely moving it to the standalone `fastmcp` package), causing import errors. Pin to mcp>=1.26.0 which is the latest release that still includes `mcp.server.fastmcp`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 --- examples/say-server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/say-server/server.py b/examples/say-server/server.py index 64b7417..ce171d6 100755 --- a/examples/say-server/server.py +++ b/examples/say-server/server.py @@ -2,7 +2,7 @@ # /// script # requires-python = ">=3.10" # dependencies = [ -# "mcp @ git+https://github.com/modelcontextprotocol/python-sdk@main", +# "mcp>=1.26.0", # "uvicorn>=0.34.0", # "starlette>=0.46.0", # "pocket-tts>=1.0.1",