go-sdk
go-sdk copied to clipboard
mcp: remove support for batching on streamable connections
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.
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.