MCP Go SDK — JSON-RPC Fix (contributor)

Live

Merged fix in the official Model Context Protocol Go SDK (★5.2k): when a handler's result fails to marshal, the JSON-RPC layer now sends an error response instead of leaving the client waiting. A second fix, detaching the SSE client event stream from the Connect context, is in review.

Oct 2026 – now· Open source· 2 views

Overview#

The MCP Go SDK is the official Go implementation of Model Context Protocol servers and clients, maintained with Google.

Contribution#

  • #1400 — internal/jsonrpc2: send error response when result fails to marshal (merged).
  • #1403 — mcp: detach SSE client event stream from the Connect context (in review).

Tech stack: Go, JSON-RPC 2.0, Server-Sent Events

More projects