Skip to content

Bump github.com/modelcontextprotocol/go-sdk from 1.6.0 to 1.6.1#35

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/master/github.com/modelcontextprotocol/go-sdk-1.6.1
Open

Bump github.com/modelcontextprotocol/go-sdk from 1.6.0 to 1.6.1#35
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/master/github.com/modelcontextprotocol/go-sdk-1.6.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Copy link
Copy Markdown

Bumps github.com/modelcontextprotocol/go-sdk from 1.6.0 to 1.6.1.

Release notes

Sourced from github.com/modelcontextprotocol/go-sdk's releases.

v1.6.1

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: modelcontextprotocol/go-sdk@v1.6.0...v1.6.1

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jun 4, 2026
@dependabot dependabot Bot force-pushed the dependabot/go_modules/master/github.com/modelcontextprotocol/go-sdk-1.6.1 branch from 315ded3 to 639493a Compare June 7, 2026 07:38
Bumps [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases)
- [Commits](modelcontextprotocol/go-sdk@v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/modelcontextprotocol/go-sdk
  dependency-version: 1.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/master/github.com/modelcontextprotocol/go-sdk-1.6.1 branch from 639493a to e11cd90 Compare June 21, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant