--- id: mcp version: "2.0.0" license: MIT license_treatment: permissive maintenance: active --- # mcp — Model Context Protocol SDK License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install mcp uv add mcp poetry add mcp ## Description # MCP Python SDK
Python implementation of the Model Context Protocol (MCP) [![PyPI][pypi-badge]][pypi-url] [![MIT licensed][mit-badge]][mit-url] [![Python Version][python-badge]][python-url] [![Documentation][docs-badge]][docs-url] [![Protocol][protocol-badge]][protocol-url] [![Specification][spec-badge]][spec-url]
> [!NOTE] > **This is v2 of the MCP Python SDK, the current stable release line.** It is a major rework of the SDK, both to support the [2026-07-28 MCP specification](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/) (and every earlier revision) and to fix long-standing architectural issues. Coming from v1? See [What's new in v2](https://py.sdk.modelcontextprotocol.io/whats-new/) for the tour of what changed and the [migration guide](https://py.sdk.modelcontextprotocol.io/migration/) for every breaking change. > > **Not ready to migrate?** v1.x lives on the [`v1.x` branch](https://github.com/modelcontextprotocol/python-sdk/tree/v1.x), continues to receive critical bug fixes and security patches, and is documented at . Since `pip install mcp` now... ## AI interpretation — verify before relying Python SDK for building and connecting to Model Context Protocol servers, enabling LLM applications to interact with tools, resources, and prompts through a standardized protocol. Verdict: Production-ready SDK (stable classification) with zero known vulnerabilities, active maintenance, and permissive MIT licensing. Broad Python version support (3.10–3.14) and low install friction make it suitable for immediate adoption in LLM integration projects. [View on SkillFed](https://skillfed.io/packages/mcp) · [View on PyPI](https://pypi.org/project/mcp/)