47 model prices
  1. Home
  2. Releases
  3. MCP Go SDK
  4. 1.6.1

MCP Go SDK 1.6.1 release notes

MCP Go SDK 1.6.1 was released on May 22, 2026. The latest version is 1.8.0.

v1.6.1 · · 1 listed changes

Release notes

This release adds an MCPGODEBUG flag to opt out of the Content-Type check on POST requests.

Behavior Changes

Prior to v1.6.0 (v1.4.0...v1.5.0), the Content-Type check on POST requests was gated by the same disablecrossoriginprotection MCPGODEBUG flag as the cross-origin protection. In v1.6.0, the cross-origin protection was disabled by default (replaced by the opt-in enableoriginverification flag), but the Content-Type check was kept on unconditionally, leaving no way to disable it. This release restores an escape hatch for both the Streamable HTTP and SSE transports: setting MCPGODEBUG=disablecontenttypecheck=1 skips the Content-Type: application/json validation on POST requests. See #957.

What's Changed

Full Changelog: https://github.com/modelcontextprotocol/go-sdk/compare/v1.6.0...v1.6.1

Source: GitHub release v1.6.1

Newer: 1.7.0Older: 1.6.0MCP Go SDK