Skip to content

Commit 91f8920

Browse files
authored
chore: pin mcp>=1.28.1,<2 ahead of MCP Python SDK v2 stable release (#5840)
The MCP Python SDK v2 stable release (targeted 2026-07-27/28) is a major rework with pervasive breaking changes (FastMCP rename, mcp.types split, WebSocket transport removal). Upstream guidance is to add a <2 upper bound before the release. Bound every first-party manifest and regenerate uv.lock; resolution stays on the 1.28.x line. fastmcp needs no change: its own mcp dependency is intersected with our direct <2 pin. Closes #5839 Signed-off-by: Ahmad Al Tamimi <altamimi.dev@gmail.com>
1 parent 3fe3035 commit 91f8920

9 files changed

Lines changed: 15 additions & 15 deletions

File tree

mcp-servers/python/data_analysis_server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = "README.md"
1010
requires-python = ">=3.11"
1111
dependencies = [
1212
"matplotlib>=3.11.0",
13-
"mcp>=1.28.1",
13+
"mcp>=1.28.1,<2",
1414
"numpy>=2.4.4",
1515
"openpyxl>=3.1.5",
1616
"orjson>=3.11.9",

mcp-servers/python/data_analysis_server/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
matplotlib>=3.11.0
2-
mcp>=1.28.1
2+
mcp>=1.28.1,<2
33
numpy>=2.5.1
44
openpyxl>=3.1.5
55
pandas>=3.0.3

mcp-servers/python/mcp_eval_server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"diskcache>=5.6.3",
3030
"httpx>=0.28.1",
3131
"jinja2>=3.1.6",
32-
"mcp>=1.28.1",
32+
"mcp>=1.28.1,<2",
3333
"numpy>=2.4.4",
3434
"openai>=2.44.0",
3535
"orjson>=3.11.9",

mcp-servers/templates/python/{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = { text = "{{ cookiecutter.license }}" }
99
readme = "README.md"
1010
requires-python = ">={{ cookiecutter.python_min }}"
1111
dependencies = [
12-
"mcp>=1.0.0",
12+
"mcp>=1.0.0,<2",
1313
"orjson>=3.11.5",
1414
"pydantic>=2.5.0",
1515
]

plugins/external/cedar/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ authors = [
4545

4646
dependencies = [
4747
"cedarpy>=4.8.7",
48-
"mcp>=1.28.1",
48+
"mcp>=1.28.1,<2",
4949
"mcp-contextforge-gateway>=1.0.6",
5050
]
5151

plugins/external/llmguard/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ authors = [
4545

4646
dependencies = [
4747
"llm-guard>=0.3.16",
48-
"mcp>=1.28.1",
48+
"mcp>=1.28.1,<2",
4949
"orjson>=3.11.9",
5050
"rapidfuzz>=3.14.5",
5151
"redis>=8.0.1",

plugins/external/opa/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ authors = [
4545

4646
dependencies = [
4747
"httpx>=0.28.1",
48-
"mcp>=1.28.1",
48+
"mcp>=1.28.1,<2",
4949
"mcp-contextforge-gateway>=1.0.6",
5050
]
5151

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ dependencies = [
121121
"jsonpath-ng>=1.8.0",
122122
"jsonschema>=4.26.0",
123123
"Mako>=1.3.12", # Transitive pin (alembic)
124-
"mcp>=1.28.1",
124+
"mcp>=1.28.1,<2",
125125
"msgpack>=1.2.1",
126126
"orjson>=3.11.9",
127127
"parse>=1.22.1",

uv.lock

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

0 commit comments

Comments
 (0)