Okapi Okapi

Model Context Protocol streamablehttp_client removal

Stopped workingSubscribe to Model Context ProtocolShare

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.


Calls it hits

  • SDK mcp streamablehttp_client from major 2

What to use instead of these calls

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

In Model Context Protocol's words

streamablehttp_client removed

Model Context Protocol, Announcement

Facts

API
Model Context Protocol modelcontextprotocol.io
Kind
Removal
Takes effect
July 28, 2026
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Model Context Protocol's own pages

Questions

When does this change take effect?

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

What happens to calls after July 28, 2026?

They have failed since July 28, 2026.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Model Context Protocol 1

  1. No date transport sseRemoval Deprecated, no date

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Model Context Protocol

Hear about each breaking change Model Context Protocol announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Model Context Protocol

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.