modelcontextprotocol/python-sdk v2.0.0b2
Pre-releases are opt-in only; pip install mcp still resolves to the stable 1.x line.
Key points
- Stable v2 is still targeted for 2026-07-28 alongside the spec release - keep pinning an exact version.
- Most code needs no changes; if you pass your own httpclient into a transport, change the import to httpx2.
- TLS verification uses the operating system trust store (via truststore) instead of certifi's bundle. SSLCERTFILE / SSLCERTDIR are honored first.
- Loggers are renamed: httpx -> httpx2, httpcore. -> httpcore2. - update logging filters that match on those names.
Sources (1)
- [1]modelcontextprotocol/python-sdk v2.0.0b2GitHub: modelcontextprotocol/python-sdk · Jul 14, 04:41 PM
Pre-releases are opt-in only; `pip install mcp` still resolves to the stable 1.x line.
Stable v2 is still targeted for 2026-07-28 alongside the spec release - keep pinning an exact version.
Extractive summary: sentences quoted from the sources.