Skip to content

Commit 246cbfd

Browse files
committed
py(deps[mcp]): Pin fastmcp to >=3.1.0,<4.0.0
why: The previous pin `>=2.3.0` was too loose — FastMCP 3.x has a different API from 2.x (e.g. `title=` kwarg on `mcp.tool()`, `version=` on constructor). A future 4.x release could also break. The server uses 3.x features added in 3.1.0. what: - Pin fastmcp to `>=3.1.0,<4.0.0` - Update uv.lock
1 parent d08261d commit 246cbfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ lint = [
114114

115115
[project.optional-dependencies]
116116
mcp = [
117-
"fastmcp>=2.3.0; python_version >= '3.10'",
117+
"fastmcp>=3.1.0,<4.0.0; python_version >= '3.10'",
118118
]
119119

120120
[project.scripts]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)