URL: http://github.com/modelcontextprotocol/python-sdk/pull/2365.patch
n32'" }, +] ws = [ { name = "websockets" }, ] @@ -826,7 +828,7 @@ dev = [ { name = "coverage", extra = ["toml"] }, { name = "dirty-equals" }, { name = "inline-snapshot" }, - { name = "mcp", extra = ["cli", "ws"] }, + { name = "mcp", extra = ["cli", "stdio", "ws"] }, { name = "pillow" }, { name = "pyright" }, { name = "pytest" }, @@ -858,7 +860,7 @@ requires-dist = [ { name = "pyjwt", extras = ["crypto"], specifier = ">=2.10.1" }, { name = "python-dotenv", marker = "extra == 'cli'", specifier = ">=1.0.0" }, { name = "python-multipart", specifier = ">=0.0.9" }, - { name = "pywin32", marker = "sys_platform == 'win32'", specifier = ">=311" }, + { name = "pywin32", marker = "sys_platform == 'win32' and extra == 'stdio'", specifier = ">=311" }, { name = "rich", marker = "extra == 'rich'", specifier = ">=13.9.4" }, { name = "sse-starlette", specifier = ">=3.0.0" }, { name = "starlette", marker = "python_full_version < '3.14'", specifier = ">=0.27" }, @@ -869,14 +871,14 @@ requires-dist = [ { name = "uvicorn", marker = "sys_platform != 'emscripten'", specifier = ">=0.31.1" }, { name = "websockets", marker = "extra == 'ws'", specifier = ">=15.0.1" }, ] -provides-extras = ["cli", "rich", "ws"] +provides-extras = ["cli", "rich", "stdio", "ws"] [package.metadata.requires-dev] dev = [ { name = "coverage", extras = ["toml"], specifier = ">=7.10.7,<=7.13" }, { name = "dirty-equals", specifier = ">=0.9.0" }, { name = "inline-snapshot", specifier = ">=0.23.0" }, - { name = "mcp", extras = ["cli", "ws"], editable = "." }, + { name = "mcp", extras = ["cli", "stdio", "ws"], editable = "." }, { name = "pillow", specifier = ">=12.0" }, { name = "pyright", specifier = ">=1.1.400" }, { name = "pytest", specifier = ">=8.3.4" }, From b5c7f9706b5f4afd4e7a1ba63f74eec97d2d8d20 Mon Sep 17 00:00:00 2001 From: Raashish Aggarwal <94279692+raashish1601@users.noreply.github.com> Date: Sat, 28 Mar 2026 07:36:21 +0530 Subject: [PATCH 2/2] docs: keep stdio note in README.v2 only --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 2fa3a9f6d..487d48bee 100644 --- a/README.md +++ b/README.md @@ -123,13 +123,6 @@ Alternatively, for projects using pip for dependencies: pip install "mcp[cli]" ``` -On Windows, add the `stdio` extra if you want `pywin32`-backed Job Object cleanup for subprocesses spawned through `mcp.client.stdio`: - -```bash -uv add "mcp[cli,stdio]" -pip install "mcp[cli,stdio]" -``` - ### Running the standalone MCP development tools To run the mcp command with uv:Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: