go-sdk icon indicating copy to clipboard operation
go-sdk copied to clipboard

mcp: remove support for batching on streamable connections

Open wucm667 opened this issue 6 months ago • 1 comments

Fixes #911

Batching was already deprecated and rejected for protocol versions >= 2025-06-18. Remove it entirely to simplify the streamable transport code.

Replaces readBatch calls with single message decoding, removes batch-related checks and comments, and deletes batch-specific tests. No behavioral change for single-message requests.

wucm667 avatar May 07 '26 03:05 wucm667

Thanks for the contribution. We're still analyzing our backwards compatibility stance on this and when exactly we would like to remove it. I'll update you when this is resolved.

maciej-kisiel avatar May 07 '26 08:05 maciej-kisiel