Skip to content

Commit 01fa628

Browse files
ochafikclaude
andauthored
fix(say-server): pin mcp to released version instead of main branch (#366)
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 <noreply@anthropic.com>
1 parent f9abb74 commit 01fa628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/say-server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# /// script
33
# requires-python = ">=3.10"
44
# dependencies = [
5-
# "mcp @ git+https://github.com/modelcontextprotocol/python-sdk@main",
5+
# "mcp>=1.26.0",
66
# "uvicorn>=0.34.0",
77
# "starlette>=0.46.0",
88
# "pocket-tts>=1.0.1",

0 commit comments

Comments
 (0)