Skip to content

Tags: modelcontextprotocol/python-sdk

Tags

v1.7.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add support for serverside oauth (#255)

Co-authored-by: David Soria Parra <davidsp@anthropic.com>
Co-authored-by: Basil Hosmer <basil@anthropic.com>
Co-authored-by: ihrpr <inna@anthropic.com>

v1.6.0

Verified

This commit was signed with the committer’s verified signature.
dsp-ant David Soria Parra
fix

v1.5.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Use default environment even when `env` is provided(#327)

v1.4.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Revert "refactor: reorganize message handling for better type safety …

…and clar…" (#282)

This reverts commit 9d0f2da.

v1.4.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: reorganize message handling for better type safety and clar…

…ity (#239)

* refactor: improve typing with memory stream type aliases

Move memory stream type definitions to models.py and use them throughout
the codebase for better type safety and maintainability.

GitHub-Issue:#201

* refactor: move streams to ParsedMessage

* refactor: update test files to use ParsedMessage

Updates test files to work with the ParsedMessage stream type aliases
and fixes a line length issue in test_201_client_hangs_on_logging.py.

Github-Issue:#201

* refactor: rename ParsedMessage to MessageFrame for clarity

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: move MessageFrame class to types.py for better code organization

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>

* fix pyright

* refactor: update websocket client to use MessageFrame

Modified the websocket client to work with the new MessageFrame type,
preserving raw message text and properly extracting the root JSON-RPC
message when sending.

Github-Issue:#204

* fix: use NoneType instead of None for type parameters in MessageFrame

🤖 Generated with [Claude Code](https://claude.ai/code)

* refactor: rename root to message

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra

v1.2.0

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra
Release v1.2.0

v1.1.3

Verified

This tag was signed with the committer’s verified signature.
dsp-ant David Soria Parra
Release v1.1.3

Changes:
- Add constructor for McpError to allow setting field
- Add version string parameter to Server constructor
- Fix text encoding params in STDIO client
- Fix deprecation warnings