# streamablehttp_client stops working

Calls to SDK mcp streamablehttp_client from major 2 on Model Context Protocol stopped working on July 28, 2026.

On July 28, 2026, streamablehttp_client was removed from the SDK mcp streamablehttp_client from major 2. Following this change, calls using this function fail.

## What to use instead

Import streamable_http_client from mcp.client.streamable_http, which keeps the same keyword arguments. Alternatively, pin mcp below version 2.

- API: Model Context Protocol (modelcontextprotocol.io)
- Kind: Removal
- Takes effect: July 28, 2026
- Calls after that day: fail
- Calls it hits: `SDK mcp streamablehttp_client from major 2`
- Source: [Announcement](https://github.com/modelcontextprotocol/python-sdk/blob/main/docs/migration.md)
- Verified: November 6, 2026, against Model Context Protocol's own pages
- Page: https://www.okapi.bot/providers/model-context-protocol/breaking-changes/streamablehttp-client-stops-working/

## Model Context Protocol's words

> streamablehttp_client removed

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
