π The fast, Pythonic way to build MCP servers and clients.
pin mcp dependency to git commit
Jeremiah Lowinc84131407eff
diff --git a/pyproject.toml b/pyproject.tomlindex a20927592..b87bd627c 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -7,7 +7,9 @@ dependencies = ["python-dotenv>=1.1.0","exceptiongroup>=1.2.2","httpx>=0.28.1",- "mcp>=1.7.1,<2.0.0",+ # "mcp>=1.7.1,<2.0.0",+ # use git commit until 1.7.2 is released+ "mcp","openapi-pydantic>=0.5.1","rich>=13.9.4","typer>=0.15.2",@@ -62,6 +64,7 @@ Homepage = "https://gofastmcp.com"Repository = "https://github.com/jlowin/fastmcp"Documentation = "https://gofastmcp.com"+[build-system]requires = ["hatchling", "uv-dynamic-versioning>=0.7.0"]build-backend = "hatchling.build"@@ -77,6 +80,9 @@ fallback-version = "0.0.0"[tool.uv]++[tool.uv.sources]+mcp = { git = "https://github.com/modelcontextprotocol/python-sdk", rev = "a027d75f609000378522c5873c2a16aa1963d487" }# uncomment to omit `dev` default group# default-groups = []