Tools
MCP Go SDK fixes single-request batches being unwrapped from their JSON array, breaking legacy initialization
PR #1214, merged 2026-08-31 into modelcontextprotocol/go-sdk, restores JSON-RPC batch semantics: a single-request legacy batch must come back as a one-element JSON array, but the JSON response path was unwrapping it into a bare object. The fix preserves the original batch state on the logical stream and adds a regression test for legacy initialization batches, closing issue #1211. Anyone whose MCP client sends a legacy initialize as a batch of one would have seen a malformed response from a Go server.
Source
↳ Follow the thread