AION
Open-source releaseMLOps, Tooling & Infrastructure1 source · Jun 16, 2026

modelcontextprotocol/python-sdk v1.28.0

The TypeScript SDK has likewise removed its WebSocket client for v2 (modelcontextprotocol/typescript-sdk#1783).

Key points

  • 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.websocketclient and mcp.server.websocket.websocketserver.
  • 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.

Sources (1)

  • [1]modelcontextprotocol/python-sdk v1.28.0
    GitHub: modelcontextprotocol/python-sdk · Jun 16, 09:30 PM
    The TypeScript SDK has likewise removed its WebSocket client for v2 (modelcontextprotocol/typescript-sdk#1783).
    Two API surfaces now emit `DeprecationWarning` ahead of their removal in v2.

Extractive summary: sentences quoted from the sources.