Skip to content

deps: bump github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.7.0 in /mcp in the gomod-all group across 1 directory - #14

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/mcp/gomod-all-0e9a50a5c8
Open

deps: bump github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.7.0 in /mcp in the gomod-all group across 1 directory#14
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/mcp/gomod-all-0e9a50a5c8

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps the gomod-all group with 1 update in the /mcp directory: github.com/modelcontextprotocol/go-sdk.

Updates github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.7.0

Release notes

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

v1.7.0

This release brings full support for protocol version 2026-07-28. The wire protocol is largely rewritten: a stateless model with per-request _meta, a new server/discover RPC replacing the initialize handshake, multi-round-trip requests (MRTR) replacing server-initiated calls, a unified subscriptions/listen stream replacing free-floating change notifications, standardised HTTP headers, and the formal deprecation of the roots, sampling, and logging features.

The streamable HTTP transport accepts requests at protocol version 2026-07-28 only when StreamableHTTPOptions.Stateless = true. If you want to expose the new protocol over HTTP, set Stateless = true; if you want to keep stateful sessions, your clients will negotiate down to 2025-11-25.

Backward compatibility with 2025-11-25 and earlier is preserved on every endpoint. The SDK negotiates the highest mutually-supported version at connect time. The new protocol is enabled by default for new clients; existing legacy clients and servers continue to work unchanged.

This release consolidates everything shipped in v1.7.0-pre.1, v1.7.0-pre.2, and v1.7.0-pre.3. Thank you to everyone who exercised the pre-releases and filed feedback.

v1.7.0-pre.3 is already successfully used by GitHub, serving more than half a million users.

Make MCP Stateless (SEP-2575) & Sessionless (SEP-2567)

The initialize/notifications/initialized handshake is removed in 2026-07-28. Each request now carries _meta.io.modelcontextprotocol/{protocolVersion,clientInfo,clientCapabilities} so the server can validate the peer without state. A new server/discover RPC lets clients learn the server's supported versions and capabilities up front; the SDK falls back to legacy initialize if discover fails. Resumability (Last-Event-ID, standalone GET) is removed; ping, logging/setLevel, resources/subscribe, and resources/unsubscribe are also removed on this revision and rejected with MethodNotFound.

Subscriptions listen (SEP-2575)

The legacy tools/list_changed, prompts/list_changed, resources/list_changed, and resources/updated notifications are replaced by a single long-lived subscriptions/listen request whose response stream multiplexes every change notification the client opted into, each tagged with io.modelcontextprotocol/subscriptionId. The SDK opens this stream automatically on Client.Connect when the corresponding list-changed handler is set; servers route notifications only to subscribed sessions.

Multi Round-Trip Requests (SEP-2322)

Server-to-client requests for elicitation, sampling, and roots are no longer issued as fresh JSON-RPC requests. Instead a tool/prompt/resource handler returns an InputRequiredResult whose inputRequests field carries the requests; the client fulfils each and retries the original call with inputResponses populated. The SDK ships client- and server-side middleware that handles this transparently in both directions, including a server-side compatibility shim that lets MRTR handlers also work against legacy clients.

Cacheable list results (SEP-2549)

tools/list, prompts/list, resources/list, resources/templates/list, resources/read, and server/discover results now carry ttlMs and cacheScope fields. Clients honour them as freshness hints to reduce polling; shared intermediaries use cacheScope to decide whether responses may be cached.

HTTP standardization (SEP-2243)

The streamable HTTP transport now mirrors selected fields from the JSON-RPC body into HTTP headers (Mcp-Method, Mcp-Name, Mcp-Protocol-Version, Mcp-Param-*) so network intermediaries can route and observe MCP traffic without deep packet inspection. Tools can declare per-parameter passthrough via x-mcp-header annotations on their input schema. Body↔header mismatches return -32020 HeaderMismatch.

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency go Related to the Go modules or toolchain labels Jun 22, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner June 22, 2026 01:34
@dependabot dependabot Bot added dependencies Pull requests that update a dependency go Related to the Go modules or toolchain labels Jun 22, 2026
@dependabot dependabot Bot changed the title deps: bump github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.6.1 in /mcp in the gomod-all group deps: bump github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.6.1 in /mcp in the gomod-all group across 1 directory Jun 29, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/mcp/gomod-all-0e9a50a5c8 branch from 79176bb to 28c321a Compare June 29, 2026 01:35
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/mcp/gomod-all-0e9a50a5c8 branch from 28c321a to 481a3e2 Compare July 27, 2026 01:35
Bumps the gomod-all group with 1 update in the /mcp directory: [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk).


Updates `github.com/modelcontextprotocol/go-sdk` from 1.4.1 to 1.7.0
- [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases)
- [Commits](modelcontextprotocol/go-sdk@v1.4.1...v1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title deps: bump github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.6.1 in /mcp in the gomod-all group across 1 directory deps: bump github.com/modelcontextprotocol/go-sdk from 1.4.1 to 1.7.0 in /mcp in the gomod-all group across 1 directory Aug 31, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/mcp/gomod-all-0e9a50a5c8 branch from 481a3e2 to d7c047a Compare August 31, 2026 01:35
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 go Related to the Go modules or toolchain

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants