The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(deps): bump mcp 2.0.0 → 2.3.0 (medium, GHSA-84m7-p3x7-pcfv)
Maciej Lisiewskie27dee203527
diff --git a/pyproject.toml b/pyproject.tomlindex 41c7030167e..fbb28b6e0f6 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -388,7 +388,7 @@ pty = []# extra that exposes a Starlette-backed server surface so pip/uv can't resolve# a vulnerable pre-1.0.1 transitive. Bump in lockstep with uv.lock.#-# mcp 2.0.0 implements MCP revision 2026-07-28 and moved its own HTTP stack+# mcp 2.x implements MCP revision 2026-07-28 and moved its own HTTP stack# from `httpx` to `httpx2`. httpx2 arrives transitively, but tools/mcp_tool.py# and tools/mcp_oauth_manager.py import it by name to build the client objects# they hand to the SDK, so it is pinned here explicitly rather than left to@@ -396,7 +396,7 @@ pty = []# unaffected — the two distributions install side by side under different# module names.mcp = [- "mcp==2.0.0",+ "mcp==2.3.0","httpx2==2.12.0","starlette==1.3.1",] # starlette: CVE-2026-48710@@ -411,7 +411,7 @@ teams = [# Computer use talks to PM's pinned cua-driver over MCP stdio. This extra# provides the MCP client, independently of the native driver package.computer-use = [- "mcp==2.0.0",+ "mcp==2.3.0","httpx2==2.12.0","starlette==1.3.1",] # starlette: CVE-2026-48710@@ -533,7 +533,7 @@ dev = ["debugpy==1.8.20","pytest==9.1.1","pytest-asyncio==1.3.0",- "mcp==2.0.0",+ "mcp==2.3.0","httpx2==2.12.0","starlette==1.3.1","ty==0.0.82",diff --git a/uv.lock b/uv.lockindex 777dbf539ef..8ca569e60b7 100644--- a/uv.lock+++ b/uv.lock@@ -2600,8 +2600,8 @@ requires-dist = [{ name = "lark-oapi", marker = "extra == 'feishu'", specifier = "==1.6.8" },{ name = "markdown", marker = "python_full_version >= '3.14'", specifier = "==3.10.2" },{ name = "mautrix", extras = ["encryption"], marker = "sys_platform == 'linux' and extra == 'matrix'", specifier = "==0.21.1" },- { name = "mcp", marker = "extra == 'computer-use'", specifier = "==2.0.0" },- { name = "mcp", marker = "extra == 'mcp'", specifier = "==2.0.0" },+ { name = "mcp", marker = "extra == 'computer-use'", specifier = "==2.3.0" },+ { name = "mcp", marker = "extra == 'mcp'", specifier = "==2.3.0" },{ name = "microsoft-teams-apps", marker = "extra == 'teams'", specifier = "==2.0.13.4" },{ name = "misaki", extras = ["en"], marker = "(platform_machine != 'x86_64' and sys_platform == 'darwin' and extra == 'kittentts') or (platform_machine != 'ARM64' and sys_platform == 'win32' and extra == 'kittentts') or (sys_platform != 'darwin' and sys_platform != 'win32' and extra == 'kittentts')", git = "https://github.com/NousResearch/misaki.git?rev=f03fd2be7346952a83d3d4845c217fc7667f322d" },{ name = "mistralai", marker = "extra == 'mistral'", specifier = "==2.4.8" },@@ -2692,7 +2692,7 @@ provides-extras = ["uvloop", "anthropic", "exa", "firecrawl", "parallel-web", "ddev = [{ name = "debugpy", specifier = "==1.8.20" },{ name = "httpx2", specifier = "==2.12.0" },- { name = "mcp", specifier = "==2.0.0" },+ { name = "mcp", specifier = "==2.3.0" },{ name = "pytest", specifier = "==9.1.1" },{ name = "pytest-asyncio", specifier = "==1.3.0" },{ name = "ruff", specifier = "==0.15.10" },@@ -3380,7 +3380,7 @@ encryption = [[[package]]name = "mcp"-version = "2.0.0"+version = "2.3.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "anyio" },@@ -3398,22 +3398,22 @@ dependencies = [{ name = "typing-inspection" },{ name = "uvicorn", marker = "sys_platform != 'emscripten'" },]-sdist = { url = "https://files.pythonhosted.org/packages/74/33/32d4dff2c95bb5d897c3ef4c83649a08996b17b58f0a326d2495d4c81179/mcp-2.0.0.tar.gz", hash = "sha256:0f440e735c13ece8bb19bc62cf0b86f4313448432fbb77d35e14034f4e050728", size = 1662284, upload-time = "2026-07-28T13:45:32.346Z" }+sdist = { url = "https://files.pythonhosted.org/packages/9d/8d/e0d339616f4810e9051d4aba6887afab289ab1f81875fe908b606cdfd0e3/mcp-2.3.0.tar.gz", hash = "sha256:8b147a50441cf059dc88c684e0aeed3687f0aa0f39c6cde7b90330effd2b34d8", size = 4171955, upload-time = "2026-10-02T22:06:56.091Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/67/72/7d7897418912c1d12e87556630dfb7bf0eac71160e9bef8b447960804ee3/mcp-2.0.0-py3-none-any.whl", hash = "sha256:1cb4c75d2d2c7b8c1d756355e5d82a39f2822cc7f13e22a2051d7ca3592349d6", size = 349980, upload-time = "2026-07-28T13:45:28.853Z" },+ { url = "https://files.pythonhosted.org/packages/20/d7/4a2878f128df729db3ca04e71bfce26405cc2e0c9ebe19c592feeb4c61b9/mcp-2.3.0-py3-none-any.whl", hash = "sha256:dd0c44c089d16453e8ae31a3877a0054d7a2314caaa81f5e0541b9b1734b2377", size = 368664, upload-time = "2026-10-02T22:06:52.119Z" },][[package]]name = "mcp-types"-version = "2.0.0"+version = "2.3.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "pydantic" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/bb/56/9b8e1c152f61f6c6b07c4b5896c88c7d0ae90bac6ee6306f852fcc5c1eb0/mcp_types-2.0.0.tar.gz", hash = "sha256:d7d939b9285c9961ae8866ba75ef85da34d12bafe276efbf4eb6a131786d8379", size = 66632, upload-time = "2026-07-28T13:45:33.804Z" }+sdist = { url = "https://files.pythonhosted.org/packages/9e/2d/7c251e34207f6c51000312fc8839111ac45cfe02023f90b44e7f1051dd8e/mcp_types-2.3.0.tar.gz", hash = "sha256:d1e46549edb35ee19a94940fcee6d1addd7e589ab7ea92dda83f5d84781fc362", size = 65898, upload-time = "2026-10-02T22:06:57.863Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/f5/4c/c78d78c3d52b0ac594ad7cc8ef5972adfe070e3597a8a4c6ce0cd39196ea/mcp_types-2.0.0-py3-none-any.whl", hash = "sha256:6b2de797ca2797f568b79529e1b25948e34de511bcc0bd82fef1039a6d1b8eb0", size = 69649, upload-time = "2026-07-28T13:45:30.713Z" },+ { url = "https://files.pythonhosted.org/packages/ce/48/32583066b155bb5d4507e7887dc88ee23118cc4de8e2a12870c49719e2a8/mcp_types-2.3.0-py3-none-any.whl", hash = "sha256:968efdbdaedfab06adae40d378a34395f1090c5921d4be3c9cde283aaf76d91d", size = 69108, upload-time = "2026-10-02T22:06:54.099Z" },][[package]]