Skip to content

Commit 53dbe83

Browse files
olaservoclaude
andcommitted
fix(python): require mcp>=1.29.0,<2 in fetch, git, and time
mcp 2.0.0 renamed McpError to MCPError and replaced the low-level Server decorators with constructor handlers. The three servers had no upper bound, so a fresh uvx install has resolved 2.0.0 since 2026-07-28 and failed to start: fetch and time raise ImportError on the McpError import, git raises AttributeError on server.list_tools(). The floor moves to 1.29.0, the last 1.x release. The previous floors (1.0.0 for git, 1.1.3 for fetch, 1.23.0 for time) resolved versions affected by GHSA-vj7q-gjh5-988w, GHSA-jpw9-pfvf-9f58, and GHSA-hvrp-rf83-w775. Porting to the v2 SDK is tracked separately. Closes #4560 Closes #4570 Closes #4580 Co-Authored-By: Claude Opus 5 <[email protected]>
1 parent 76d64c8 commit 53dbe83

6 files changed

Lines changed: 15 additions & 15 deletions

File tree

‎src/fetch/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ classifiers = [
1818
dependencies = [
1919
"httpx>=0.27",
2020
"markdownify>=0.13.1",
21-
"mcp>=1.1.3",
21+
"mcp>=1.29.0,<2",
2222
"protego>=0.3.1",
2323
"pydantic>=2.0.0",
2424
"readabilipy>=0.2.0",

‎src/fetch/uv.lock‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/git/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ classifiers = [
1818
dependencies = [
1919
"click>=8.1.7",
2020
"gitpython>=3.1.50",
21-
"mcp>=1.0.0",
21+
"mcp>=1.29.0,<2",
2222
"pydantic>=2.0.0",
2323
]
2424

‎src/git/uv.lock‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/time/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ classifiers = [
1717
"Programming Language :: Python :: 3.10",
1818
]
1919
dependencies = [
20-
"mcp>=1.23.0",
20+
"mcp>=1.29.0,<2",
2121
"pydantic>=2.0.0",
2222
"tzdata>=2024.2",
2323
"tzlocal>=5.3.1",

‎src/time/uv.lock‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)