MCP Python SDK (official)
The official Python SDK for building MCP servers and clients.
Sources and review
Checked against public documentation on . Suitability guidance is our editorial judgment; this is not a performance benchmark or an endorsement.
Python developers building MCP servers or clients on the reference implementation.
About MCP Python SDK (official)
The official MCP Python SDK implements servers and clients in Python. Version 2, the current stable line, was reworked to support the 2026-07-28 specification and every earlier revision; version 1.x continues on its own branch with critical fixes and security patches. A server fits in about fifteen lines, and a CLI runs servers over stdio or streamable HTTP.
MCP Python SDK (official) is listed in this index written primarily in Python, with 25k stars on GitHub. Its latest recorded repository push was in November 2026; that is not an ASE editorial review date.
pip install "mcp[cli]"