Skip to content

mcp: remove support for batching on streamable connections#948

Open
wucm667 wants to merge 1 commit intomodelcontextprotocol:mainfrom
wucm667:feat/remove-streamable-batching
Open

mcp: remove support for batching on streamable connections#948
wucm667 wants to merge 1 commit intomodelcontextprotocol:mainfrom
wucm667:feat/remove-streamable-batching

Conversation

@wucm667
Copy link
Copy Markdown
Contributor

@wucm667 wucm667 commented May 7, 2026

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.

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

Replace readBatch calls with single message decoding, remove batch-related
checks and comments, and delete batch-specific tests.

Closes modelcontextprotocol#911

Signed-off-by: wucm667 <stevenwucongmin@gmail.com>
@maciej-kisiel
Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove support for batching on streamable connection

2 participants