GitHub repo

modelcontextprotocol/python-sdk

Python Tracked since 2024-09-24 Updated 2026-07-16 View source ↗

#112 of 783 by Stars among GitHub repos

23.6k Stars

The official Python SDK for Model Context Protocol servers and clients

About

Python implementation of the Model Context Protocol (MCP)

This README documents v2 of the MCP Python SDK — a pre-release (alpha/beta) line under active development. Do not use v2 in production. Pre-releases are published to PyPI as 2.0.0aN / 2.0.0bN, and each pre-release may contain breaking changes from the previous one. Pin an exact version and expect to update your code when you bump the pin. > v1.x is the only stable release line and remains recommended for production. It lives on the v1.x branch and continues to receive critical bug fixes and security patches; see the v1.x README for its documentation. pip and uv don't select a pre-release unless you explicitly request one, so…

Excerpted from github.com/modelcontextprotocol/python-sdk

Latest metrics

Stars 23.6k 2026-07-16
Forks 3.6k 2026-07-16
Commits 981 2026-07-16
Releases 62 2026-07-16
Watchers 173 2026-07-16
Open issues 252 2026-07-16
Open PRs 292 2026-07-16