Skip to content

docs(rfd): drop JSON-RPC batches from the HTTP/WebSocket transport - #2729

Merged
benbrandt merged 1 commit into
mainfrom
docs/rfd-transport-no-batches
Oct 30, 2026
Merged

benbrandt merged 1 commit into
mainfrom
docs/rfd-transport-no-batches

Conversation

@benbrandt

Copy link
Copy Markdown
Member

v2 removed JSON-RPC batching (#2625), but the Streamable HTTP/WebSocket transport RFD still says batch requests return 501 and may be added later.

This aligns the RFD with the core rule:

  • An HTTP POST body that is a JSON array returns 400 Bad Request with a single JSON-RPC error response (-32600, id: null), and none of its entries are processed.
  • A WebSocket frame holds a single JSON-RPC message; an array gets the same -32600 response.
  • The MCP comparison table, the deviations list and the Phase 4 plan no longer mention batch support as future work.
  • Adds a revision history entry.

The TypeScript and Rust SDKs are being updated to match in their schema 1.14 sync.

v2 removed JSON-RPC batching, so the transport no longer answers arrays
with 501 or plans batch support. A JSON array gets a single -32600 error
response with id null (400 Bad Request over HTTP), matching the core
transport rule.

Co-Authored-By: Claude <noreply@anthropic.com>
@benbrandt
benbrandt requested a review from a team as a code owner October 30, 2026 12:30
@benbrandt
benbrandt enabled auto-merge (squash) October 30, 2026 12:33
@benbrandt
benbrandt merged commit 90475e7 into main Oct 30, 2026
11 checks passed
@benbrandt
benbrandt deleted the docs/rfd-transport-no-batches branch October 30, 2026 12:34
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.

1 participant