Skip to content

chore(deps): bump github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.5.0#109

Merged
janisz merged 3 commits intomainfrom
dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.5.0
Apr 21, 2026
Merged

chore(deps): bump github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.5.0#109
janisz merged 3 commits intomainfrom
dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 8, 2026

Bumps github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.5.0.

Release notes

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

v1.5.0

This release is equivalent to v1.5.0-pre.1. Thank you to those who tested the pre-release.

In this release we introduce important enhancements to the client-side OAuth flows. We also introduce several smaller fixes and improvements.

Stabilization of client-side OAuth APIs

As previously communicated, we're stabilizing the client-side OAuth APIs in v1.5.0. This means that the mcp_go_client_oauth build tag will no longer be required to compile the functionality and standard backward compatibility guarantees apply from now on.

Compared to the experimental support published in v1.4.0, we made some backwards incompatible changes:

  • auth.AuthorizationCodeHandlerConfig.AuthorizationCodeFetcher's type was changed from func(context.Context, *auth.AuthorizationArgs) (*auth.AuthorizationResult, error) to auth.AuthorizationCodeFetcher which is a reusable definition carrying the same underlying function type.
  • auth.AuthorizationCodeHandlerConfig.PreregisteredClientConfig was removed and replaced with auth.AuthorizationCodeHandlerConfig.PreregisteredClient which uses a newly introduced oauthex.ClientCredentials type. The type used previously (auth.PreregisteredClientConfig) has been removed.
  • Deprecated functionality has been removed from both auth and oauthex packages.

Enterprise Managed Authorization support added

Support for Enterprise Managed Authorization has been added to auth/extauth package. Huge thanks to @​radar07 for the implementation!

Note: this support is part of an official MCP extension and is not part of the core protocol. The support of this functionality is not covered by the principles defined in SDK tiers.

Other changes to the SDK

... (truncated)

Commits
  • d3fd25b mcp: use http.ResponseController to ensure writes are flushed (#870)
  • 638d404 all: stabilize client OAuth support (#861)
  • c1a12cf mcp: accept parameterized Accept media types (#853)
  • a1f808c all: modernize code (#868)
  • 74d2751 mcp: return input validation errors as tool results, not JSON-RPC errors (#863)
  • b71a839 all: fix typos (#869)
  • 2d43865 Enterprise managed authorization (#770)
  • 05277f6 oauthex: use internal JSON library for decoding. (#866)
  • 150bca7 mcp: handle empty chunks in MemoryEventStore (#862)
  • 755b9ed mcp: re-enable race test after fixing data races (#851)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases)
- [Commits](modelcontextprotocol/go-sdk@v1.4.1...v1.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added auto-merge dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 8, 2026
@dependabot dependabot Bot requested a review from janisz as a code owner April 8, 2026 07:55
@github-actions github-actions Bot enabled auto-merge (squash) April 8, 2026 07:56
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

E2E Test Results

Commit: 885cdc5
Workflow Run: View Details
Artifacts: Download test results & logs

=== Evaluation Summary ===

  ✓ list-clusters (assertions: 3/3)
  ✓ cve-detected-workloads (assertions: 3/3)
  ✓ cve-detected-clusters (assertions: 3/3)
  ~ cve-nonexistent (assertions: 2/3)
      - MaxToolCalls: Too many tool calls: expected <= 5, got 7
  ✓ cve-cluster-does-exist (assertions: 3/3)
  ✗ cve-cluster-does-not-exist (assertions: 2/3)
      one or more verification steps failed
      - ToolsUsed: Required tool not called: server=stackrox-mcp, tool=, pattern=list_clusters
  ✓ cve-clusters-general (assertions: 3/3)
  ✗ cve-cluster-list (assertions: 3/3)
      one or more verification steps failed
  ✓ cve-log4shell (assertions: 3/3)
  ✓ cve-multiple (assertions: 3/3)
  ✓ rhsa-not-supported (assertions: 2/2)

Tasks:      9/11 passed (81.82%)
Assertions: 30/32 passed (93.75%)
Tokens:     ~59395 (estimate - excludes system prompt & cache)
MCP schemas: ~12738 (included in token total)
Agent used tokens:
  Input:  12046 tokens
  Output: 23925 tokens
Judge used tokens:
  Input:  48263 tokens
  Output: 50577 tokens

SDK v1.5.0 changed how input validation errors are returned:
- v1.4.1: returned as protocol errors (Go errors from CallTool)
- v1.5.0: returned as tool errors (CallToolResult.IsError=true)

Updated TestIntegration_ToolCallErrors to check for validation errors
in the result object instead of expecting a Go error.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 21, 2026

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
361 2 359 12
View the full list of 2 ❄️ flaky test(s)
::policy 1

Flake rate in main: 100.00% (Passed 0 times, Failed 22 times)

Stack Traces | 0s run time
- test violation 1
- test violation 2
- test violation 3
::policy 4

Flake rate in main: 100.00% (Passed 0 times, Failed 22 times)

Stack Traces | 0s run time
- testing multiple alert violation messages 1
- testing multiple alert violation messages 2
- testing multiple alert violation messages 3

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@janisz janisz disabled auto-merge April 21, 2026 14:13
@janisz janisz enabled auto-merge (squash) April 21, 2026 14:13
@janisz janisz merged commit efb49a4 into main Apr 21, 2026
9 checks passed
@janisz janisz deleted the dependabot/go_modules/github.com/modelcontextprotocol/go-sdk-1.5.0 branch April 21, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge 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.

2 participants