modelcontextprotocol/python-sdk v2.0.0rc1
Pre-releases are opt-in only; pip install mcp still resolves to the stable 1.x line.
Key points
- Stable v2 is planned for 2026-07-28 alongside the spec release - keep pinning an exact version until then.
- API cleanup ahead of stable (breaking for beta users)
- Client(cache=False) is now Client(cache=None): CacheConfig() is the default and None switches the response cache off (#3164).
- RFC7523OAuthClientProvider and JWTParameters are removed - use ClientCredentialsOAuthProvider, PrivateKeyJWTOAuthProvider, or IdentityAssertionOAuthProvider (#3169).
Sources (1)
- [1]modelcontextprotocol/python-sdk v2.0.0rc1GitHub: modelcontextprotocol/python-sdk · Jul 27, 01:29 PM
Pre-releases are opt-in only; `pip install mcp` still resolves to the stable 1.x line.
Stable v2 is planned for 2026-07-28 alongside the spec release - keep pinning an exact version until then.
Extractive summary: sentences quoted from the sources.