Skip to content

Tags: modelcontextprotocol/python-sdk

Tags

v1.25.0

Toggle v1.25.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ci: add v1.x branch to main-checks workflow (#1802)

v1.24.0

Toggle v1.24.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: use correct python command name in test_stdio.py (#1782)

Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>

v1.23.3

Toggle v1.23.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: remove release-comment workflow (#1758)

v1.23.2

Toggle v1.23.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: skip priming events and close_sse_stream for old protocol versio…

…ns (#1719)

v1.23.1

Toggle v1.23.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: update LATEST_PROTOCOL_VERSION to 2025-11-25 (#1715)

v1.23.0

Toggle v1.23.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge commit from fork

* Auto-enable DNS rebinding protection for localhost servers

When a FastMCP server is created with host="127.0.0.1" or "localhost"
and no explicit transport_security is provided, automatically enable
DNS rebinding protection. Both 127.0.0.1 and localhost are allowed
as valid hosts/origins since clients may use either to connect.

* Add tests for auto DNS rebinding protection on localhost

Tests verify that:
- Protection auto-enables for host=127.0.0.1
- Protection auto-enables for host=localhost
- Both 127.0.0.1 and localhost are in allowed hosts/origins
- Protection does NOT auto-enable for other hosts (e.g., 0.0.0.0)
- Explicit transport_security settings are not overridden

* Add IPv6 localhost (::1) support for DNS rebinding protection

Extend auto-enable DNS rebinding protection to also cover IPv6
localhost. When host="::1", protection is now auto-enabled with
appropriate allowed hosts ([::1]:*) and origins (http://[::1]:*).

* Fix import ordering in test file

v1.22.0

Toggle v1.22.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs: Update examples to use stateless HTTP with JSON responses (#1499)

v1.21.2

Toggle v1.21.2's commit message

Verified

This commit was signed with the committer’s verified signature.
maxisbey Max Isbey
fix get_client_metadata_scopes on 401 (#1631)

Co-authored-by: Max Isbey <224885523+maxisbey@users.noreply.github.com>

v1.21.1

Toggle v1.21.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix CI highest resolution test to actually test highest versions (#1609)

v1.21.0

Toggle v1.21.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add get_server_capabilities() to ClientSession (#1588)