Skip to content

Releases: modelcontextprotocol/python-sdk

v1.25.0

Choose a tag to compare

@maxisbey maxisbey released this 18 Dec 17:15
ef96a31

Branching Update

Starting with this release, the repository has adopted a new branching strategy for v2 development:

  • main — v2 development (breaking changes)
  • v1.x — v1 maintenance (security and critical bug fixes only, with very rare feature additions ported from main)

Users who need to stay on v1.x should pin to mcp>=1.25,<2.

The current plan is to work through v2 and have it released some time in Q1. This also relies on the next upcoming spec release which will heavily change how the transport layer works, which in turn will guide a lot of how we architect v2.


What's Changed

New Contributors

Full Changelog: v1.24.0...v1.25.0

v1.24.0

Choose a tag to compare

@maxisbey maxisbey released this 12 Dec 14:11
65b36de

What's Changed

  • feat: client-side support for SEP-1577 sampling with tools by @jlowin in #1722
  • Fix JSON-RPC error response ID matching by @crondinini-ant in #1720
  • Add streamable_http_client which accepts httpx.AsyncClient instead of httpx_client_factory by @Kludex in #1177
  • fix: use correct python command name in test_stdio.py by @WOnder93 in #1782

New Contributors

Full Changelog: v1.23.3...v1.24.0

v1.23.3

Choose a tag to compare

@maxisbey maxisbey released this 09 Dec 15:46
779271a

What's Changed

New Contributors

Full Changelog: v1.23.2...v1.23.3

v1.23.2

Choose a tag to compare

@felixweinberger felixweinberger released this 04 Dec 14:46
89ff338

What's Changed

  • fix: add lifespan context manager to StreamableHTTP mounting examples by @TheMailmans in #1669
  • fix: handle ClosedResourceError in StreamableHTTP message router by @Edison-A-N in #1384
  • fix: skip priming events and close_sse_stream for old protocol versions by @felixweinberger in #1719

New Contributors

Full Changelog: v1.23.1...v1.23.2

v1.23.1

Choose a tag to compare

@felixweinberger felixweinberger released this 02 Dec 18:29
8e02fc1

What's Changed

Full Changelog: v1.23.0...v1.23.1

v1.23.0

Choose a tag to compare

@pcarleton pcarleton released this 02 Dec 13:28
d3a1841

Summary

This release brings us up to speed with the latest MCP spec 2025-11-25. Take a look at the latest spec as well as the release blog post.

What's Changed

New Contributors

Full Changelog: v1.22.0...v1.23.0

v1.22.0

Choose a tag to compare

@maxisbey maxisbey released this 20 Nov 19:56
fcffa14

What's Changed

  • feat: Pass through and expose additional parameters in ClientSessionGroup.call_tool and .connect_to_server by @inaku-Gyan in #1576
  • chore: Lazy import jsonschema library by @wuliang229 in #1596
  • docs: Update examples to use stateless HTTP with JSON responses by @domdomegg in #1499

New Contributors

Full Changelog: v1.21.1...v1.22.0

v1.21.2

Choose a tag to compare

@maxisbey maxisbey released this 17 Nov 13:38
c429549

Hotfix Release

This is a hotfix release to address a critical bug in OAuth scope handling that caused failures on 401 responses.

Related:

What's Changed

New Contributors

Full Changelog: v1.21.1...v1.21.2

v1.21.1

Choose a tag to compare

@maxisbey maxisbey released this 13 Nov 20:29
9724ad1

What's Changed

New Contributors

Full Changelog: v1.21.0...v1.21.1

v1.21.0

Choose a tag to compare

@felixweinberger felixweinberger released this 06 Nov 22:53
9eae96a

What's Changed

New Contributors

Full Changelog: v1.20.0...v1.21.0