Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Bump dependencies

Jeremiah Lowin0def5c30aa79
diff --git a/pyproject.toml b/pyproject.toml
index 686971602..4e1d9aab3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ dependencies = [
"python-dotenv>=1.1.0",
"exceptiongroup>=1.2.2",
"httpx>=0.28.1",
- "mcp>=1.9.4,<2.0.0",
+ "mcp @ git+https://github.com/modelcontextprotocol/python-sdk.git@main",
"openapi-pydantic>=0.5.1",
"rich>=13.9.4",
"typer>=0.15.2",
@@ -77,6 +77,9 @@ build-backend = "hatchling.build"
[tool.hatch.version]
source = "uv-dynamic-versioning"
+[tool.hatch.metadata]
+allow-direct-references = true
+
[tool.uv-dynamic-versioning]
vcs = "git"
style = "pep440"
diff --git a/uv.lock b/uv.lock
index c390a5bb1..b499f137d 100644
--- a/uv.lock
+++ b/uv.lock
@@ -472,7 +472,7 @@ requires-dist = [
{ name = "authlib", specifier = ">=1.5.2" },
{ name = "exceptiongroup", specifier = ">=1.2.2" },
{ name = "httpx", specifier = ">=0.28.1" },
- { name = "mcp", specifier = ">=1.9.4,<2.0.0" },
+ { name = "mcp", git = "https://github.com/modelcontextprotocol/python-sdk.git?rev=main" },
{ name = "openapi-pydantic", specifier = ">=0.5.1" },
{ name = "python-dotenv", specifier = ">=1.1.0" },
{ name = "rich", specifier = ">=13.9.4" },
@@ -709,8 +709,8 @@ wheels = [
[[package]]
name = "mcp"
-version = "1.9.4"
-source = { registry = "https://pypi.org/simple" }
+version = "1.9.5.dev14+d0443a1"
+source = { git = "https://github.com/modelcontextprotocol/python-sdk.git?rev=main#d0443a18328a2fc9e87da6feee9130f95c0b37a7" }
dependencies = [
{ name = "anyio" },
{ name = "httpx" },
@@ -722,10 +722,6 @@ dependencies = [
{ name = "starlette" },
{ name = "uvicorn", marker = "sys_platform != 'emscripten'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/06/f2/dc2450e566eeccf92d89a00c3e813234ad58e2ba1e31d11467a09ac4f3b9/mcp-1.9.4.tar.gz", hash = "sha256:cfb0bcd1a9535b42edaef89947b9e18a8feb49362e1cc059d6e7fc636f2cb09f", size = 333294, upload-time = "2025-06-12T08:20:30.158Z" }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/97/fc/80e655c955137393c443842ffcc4feccab5b12fa7cb8de9ced90f90e6998/mcp-1.9.4-py3-none-any.whl", hash = "sha256:7fcf36b62936adb8e63f89346bccca1268eeca9bf6dfb562ee10b1dfbda9dac0", size = 130232, upload-time = "2025-06-12T08:20:28.551Z" },
-]
[[package]]
name = "mdurl"