The MCP Python SDK provides a Python implementation for building MCP servers and clients, with v2 as the current stable line and multiple pre-releases. It supports Python 3.10+, MIT license, and includes a CLI via the mcp extra. Example usage shows server and client patterns.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
The MCP Python SDK is the Python implementation of the Model Context Protocol (MCP). It enables building MCP servers that expose tools, resources, and prompts to MCP hosts, and MCP clients that connect to MCP servers. It supports stdio, Streamable HTTP, and SSE transports.
How it works
The SDK provides a MCPServer class for server definitions and a Client for consuming MCP services. It includes a CLI via the mcp extra (uv add "mcp[cli]" or pip install "mcp[cli]"). The documentation links describe how to write a server in 15 lines and a client in 10 lines, illustrating the intended usage with small code snippets.
Getting started
Installation:
uv add "mcp[cli]" # or: pip install "mcp[cli]"
The cli extra adds the mcp command-line tool (mcp dev, mcp run, mcp install).
For one-off commands, uv run --with "mcp[cli]" mcp ... works without a project.
Recent releases
Latest releases include:
- v2.0.0 v2.0.0 (2026-07-28): # MCP Python SDK v2 Stable Release
- v1.29.0 v1.29.0 (2026-07-28)
- v2.0.0rc1 v2.0.0rc1 (2026-07-27)
- v2.0.0b2 v2.0.0b2 (2026-07-14)
- v2.0.0b1 v2.0.0b1 (2026-06-30)
Traction
The repository has 23886 stars and 3741 forks as of the latest data, with 503 open issues.
Behind the repo
Not included in the README: linkage to a startup or company page.
Caveats
The project uses MIT license. It is Python 3.10+ compatible per the README. The description notes a major rework to v2 and migration guidance, including references to v1.x retirement and updating requirements.






