mcp
Model Context Protocol Python SDK by Model Context Protocol
Model Context Protocol SDK
pip install "mcp==2.3.0"Model Context Protocol Python SDK (mcp) is currently at v2.3.0 on PYPI (published 2026-10-02), with a 90-day stability score of 78/100 (B) and HIGH schema drift risk across 9 releases in the past 90 days. v2.x restructures FastMCP lifespan context, StreamableHTTP session handling, and CallToolResult structuredContent validation. Production teams should pin pip install "mcp==2.3.0" rather than using unpinned @latest tags.
Breaking Changes & Tool Schema Drift Analysis
v2.x restructures FastMCP lifespan context, StreamableHTTP session handling, and CallToolResult structuredContent validation.
FastMCPClientSessionstreamablehttp_clientCallToolResultfrom mcp.client.sse import sse_client
async with sse_client("http://localhost:8000/sse") as (read, write):
async with ClientSession(read, write) as session:
await session.initialize()from mcp.client.streamable_http import streamablehttp_client
async with streamablehttp_client("http://localhost:8000/mcp") as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()Frequently Asked Questions: mcp
What is the latest version of mcp on PYPI?
As of 2026-10-24, the latest stable version of mcp (Model Context Protocol Python SDK by Model Context Protocol) on PYPI is v2.3.0, published on 2026-10-02. It has shipped 9 releases in the last 90 days.
Does mcp v2.3.0 have breaking changes or MCP schema drift risk?
mcp currently carries a HIGH schema drift risk rating with a Stability Score of 78/100 (Grade B). v2.x restructures FastMCP lifespan context, StreamableHTTP session handling, and CallToolResult structuredContent validation.
How do I safely pin mcp in production?
Avoid unpinned @latest tags in production agent configs. Pin the exact verified version using `pip install "mcp==2.3.0"` and monitor FastMCP, ClientSession, streamablehttp_client, CallToolResult for parameter or schema changes.
Get Instant Breaking-Change Alerts for mcp
We poll PYPI and modelcontextprotocol/python-sdk every 30 minutes. Get an email with the exact diff when mcp ships a breaking release beyond v2.3.0.
Recent PYPI Releases
Verified release timestamps from live registry metadata.
Related in Agent SDKs
View Hub ->OpenAI Node SDK • Stability B (78)
Anthropic TypeScript SDK • Stability C+ (70)
Model Context Protocol TypeScript SDK • Stability B (78)
Vercel AI SDK Core • Stability C+ (70)
Vercel AI SDK OpenAI Provider • Stability B (78)
Vercel AI SDK Anthropic Provider • Stability B (78)