Two API surfaces now emit DeprecationWarning ahead of their removal in v2. Nothing is removed in 1.x, and the warnings fire only when the deprecated API is called - importing the modules stays silent.
WebSocket transport - mcp.client.websocket.websocket_client and mcp.server.websocket.websocket_server. WebSocket was never part of the MCP specification; use the streamable HTTP transport instead. The TypeScript SDK has likewise removed its WebSocket client for v2 (modelcontextprotocol/typescript-sdk#1783).
Experimental tasks API - ClientSession.experimental, Server.experimental, ServerSession.experimental, and the experimental_task_handlers= kwarg on ClientSession. Tasks (SEP-1686) were removed from the MCP specification and are expected to return as a separate MCP extension.
If your test suite runs with filterwarnings = ["error"] and exercises these paths, add a scoped ignore such as ignore:The experimental tasks API is deprecated:DeprecationWarning or ignore:The WebSocket .* transport is deprecated:DeprecationWarning.
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [mcp](https://github.com/modelcontextprotocol/python-sdk) | `==1.27.2` → `==1.28.1` |  |  |
---
### Release Notes
<details>
<summary>modelcontextprotocol/python-sdk (mcp)</summary>
### [`v1.28.1`](https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.1)
[Compare Source](https://github.com/modelcontextprotocol/python-sdk/compare/v1.28.0...v1.28.1)
#### What's Changed
- \[v1.x] Buffer per-request StreamableHTTP streams; store priming event before dispatch by [@​maxisbey](https://github.com/maxisbey) in [#​2948](https://github.com/modelcontextprotocol/python-sdk/pull/2948)
- \[v1.x] Set Development Status classifier to Production/Stable by [@​maxisbey](https://github.com/maxisbey) in [#​2976](https://github.com/modelcontextprotocol/python-sdk/pull/2976)
- \[v1.x] Support TransportSecuritySettings in the WebSocket server transport by [@​maxisbey](https://github.com/maxisbey) in [#​2992](https://github.com/modelcontextprotocol/python-sdk/pull/2992)
**Full Changelog**: <https://github.com/modelcontextprotocol/python-sdk/compare/v1.28.0...v1.28.1>
### [`v1.28.0`](https://github.com/modelcontextprotocol/python-sdk/releases/tag/v1.28.0)
[Compare Source](https://github.com/modelcontextprotocol/python-sdk/compare/v1.27.2...v1.28.0)
#### Deprecations
Two API surfaces now emit `DeprecationWarning` ahead of their removal in v2. Nothing is removed in 1.x, and the warnings fire only when the deprecated API is *called* - importing the modules stays silent.
- **WebSocket transport** - `mcp.client.websocket.websocket_client` and `mcp.server.websocket.websocket_server`. WebSocket was never part of the MCP specification; use the streamable HTTP transport instead. The TypeScript SDK has likewise removed its WebSocket client for v2 ([modelcontextprotocol/typescript-sdk#1783](https://github.com/modelcontextprotocol/typescript-sdk/issues/1783)).
- **Experimental tasks API** - `ClientSession.experimental`, `Server.experimental`, `ServerSession.experimental`, and the `experimental_task_handlers=` kwarg on `ClientSession`. Tasks (SEP-1686) were removed from the MCP specification and are expected to return as a separate MCP extension.
If your test suite runs with `filterwarnings = ["error"]` and exercises these paths, add a scoped ignore such as `ignore:The experimental tasks API is deprecated:DeprecationWarning` or `ignore:The WebSocket .* transport is deprecated:DeprecationWarning`.
See [#​2828](https://github.com/modelcontextprotocol/python-sdk/issues/2828) for full details.
#### What's Changed
- \[v1.x] Support Python 3.14 by [@​maxisbey](https://github.com/maxisbey) in [#​2769](https://github.com/modelcontextprotocol/python-sdk/pull/2769)
- fix: omit null optional fields from task result payloads by [@​liuzemei](https://github.com/liuzemei) in [#​2809](https://github.com/modelcontextprotocol/python-sdk/pull/2809)
- \[v1.x] Deprecate the WebSocket transport and the experimental tasks entry points by [@​maxisbey](https://github.com/maxisbey) in [#​2828](https://github.com/modelcontextprotocol/python-sdk/pull/2828)
- \[v1.x] Add a v2 status banner to the README by [@​maxisbey](https://github.com/maxisbey) in [#​2835](https://github.com/modelcontextprotocol/python-sdk/pull/2835)
- \[v1.x] Deflake the child process cleanup tests by [@​maxisbey](https://github.com/maxisbey) in [#​2839](https://github.com/modelcontextprotocol/python-sdk/pull/2839)
#### New Contributors
- [@​liuzemei](https://github.com/liuzemei) made their first contribution in [#​2809](https://github.com/modelcontextprotocol/python-sdk/pull/2809)
**Full Changelog**: <https://github.com/modelcontextprotocol/python-sdk/compare/v1.27.2...v1.28.0>
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjQuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
jcabillot
was assigned by renovate2026-06-16 17:57:23 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
==1.27.2→==1.28.1Release Notes
modelcontextprotocol/python-sdk (mcp)
v1.28.1Compare Source
What's Changed
Full Changelog: https://github.com/modelcontextprotocol/python-sdk/compare/v1.28.0...v1.28.1
v1.28.0Compare Source
Deprecations
Two API surfaces now emit
DeprecationWarningahead of their removal in v2. Nothing is removed in 1.x, and the warnings fire only when the deprecated API is called - importing the modules stays silent.mcp.client.websocket.websocket_clientandmcp.server.websocket.websocket_server. WebSocket was never part of the MCP specification; use the streamable HTTP transport instead. The TypeScript SDK has likewise removed its WebSocket client for v2 (modelcontextprotocol/typescript-sdk#1783).ClientSession.experimental,Server.experimental,ServerSession.experimental, and theexperimental_task_handlers=kwarg onClientSession. Tasks (SEP-1686) were removed from the MCP specification and are expected to return as a separate MCP extension.If your test suite runs with
filterwarnings = ["error"]and exercises these paths, add a scoped ignore such asignore:The experimental tasks API is deprecated:DeprecationWarningorignore:The WebSocket .* transport is deprecated:DeprecationWarning.See #2828 for full details.
What's Changed
New Contributors
Full Changelog: https://github.com/modelcontextprotocol/python-sdk/compare/v1.27.2...v1.28.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
edaaddd024tof2ca2c0b3dchore(deps): update dependency mcp to v1.28.0to chore(deps): update dependency mcp to v1.28.1