fix(deps): update module github.com/modelcontextprotocol/go-sdk to v1.8.0 #130

Open
Renovate wants to merge 1 commit from renovate/github.com-modelcontextprotocol-go-sdk-1.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
github.com/modelcontextprotocol/go-sdk v1.6.1 → v1.8.0 age confidence

Release Notes

modelcontextprotocol/go-sdk (github.com/modelcontextprotocol/go-sdk)

v1.8.0

Compare Source

This release is equivalent to v1.8.0-pre.2. Thank you to those who tested the pre-release.

In this release we introduce several fixes and improvements on top of v1.7.0. It adds no new protocol revision: the supported set is unchanged, and 2026-07-28 remains the newest version the SDK negotiates.

The bulk of the work is hardening the transports against resource exhaustion, closing session leaks, deadlocks and teardown hangs found by users running the new protocol at scale, and giving servers explicit control over which protocol versions they advertise.

Two behavior changes are guarded by new MCPGODEBUG flags; see the section below.

Hardening against resource exhaustion

Every decoding path that buffers incoming input is now bounded. JSON payloads are rejected past 1000 levels of nesting, before the parser recurses. Both SSE readers cap the bytes buffered for a single event via MaxEventSize on SSEClientTransport and StreamableClientTransport, and the stdio transport caps a single JSON-RPC frame via StdioTransport.MaxLineLength.

On the OAuth side, dynamic client registration responses are bounded to 1 MB, and the discovery code now validates metadata documents rather than trusting them.

Restricting the protocol versions a server supports

ServerOptions.SupportedProtocolVersions lets a server narrow the set of versions it advertises and negotiates. The list can only narrow, never widen; naming a version the SDK does not implement panics at construction.
Relatedly, a stateful streamable handler receiving a 2026-07-28 request now returns that same JSON-RPC error instead of a plain-text 400, so the client can renegotiate down instead of losing the connection.

Per-request cache control

ServerOptions.SetCacheable is a new hook that decides the ttlMs and cacheScope fields of every result carrying them: server/discover, the four list methods, and resources/read. It runs once per result, after the handler returns, with the values that handler produced, so it can set a policy globally while still letting an individual handler override it. Anything left unset falls back to the protocol default of public.

Behavior changes guarded by MCPGODEBUG

Two new escape-hatch flags restore the previous behavior of the changes above. Both will be removed in v1.9.0.

  • plaintextstatefulrejection=1 — restore the plain-text http.Error 400 body a stateful StreamableHTTPHandler previously returned for a request carrying per-request metadata. The default is now a JSON-RPC -32022 CodeUnsupportedProtocolVersion error with an UnsupportedProtocolVersionData payload advertising the legacy versions the server supports. Introduced by #​1143.
  • blockingcancelnotify=1 — restore the previous behavior where a cancelled call waits synchronously for notifications/cancelled to be delivered (up to 5s) before returning, joining any delivery error into the caller's error. The default now retires the call immediately and sends the notification asynchronously. Introduced by #​1151.

Options below were removed, according to plan:

  • seterroroverwrite
  • enableoriginverification
  • disablecontenttypecheck
  • disablelocalhostprotection

Other Changes to the SDK

New Contributors

Full Changelog: https://github.com/modelcontextprotocol/go-sdk/compare/v1.7.0...v1.8.0-pre.1

v1.7.0

Compare Source

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.

Deprecation of roots, sampling, and logging (SEP-2577)

Roots, sampling, and logging are formally deprecated on the 2026-07-28 revision. The SDK continues to expose the corresponding Go types for backward compatibility with older peers, but new servers should not rely on them.

Behavior changes guarded by MCPGODEBUG

Seven escape-hatch flags are added in this release to restore behavior that changed as part of spec-compliance fixes. All will be removed in v1.9.0.

  • customresnotfounderrcode=1 — restore the old -32002 code for ResourceNotFoundError.
  • hintomitempty=1 — restore omitempty on ToolAnnotations.ReadOnlyHint and IdempotentHint. The default now always serializes these fields because the Go types are bare bool (not *bool), so omitting false made it indistinguishable from "unset".
  • allowsessionsinstateless=1 — restore session-id handling on stateless streamable HTTP servers (read/write Mcp-Session-Id, accept DELETE). The default behavior is now what the spec requires: stateless servers ignore session IDs entirely and return 405 Method Not Allowed for DELETE.
  • nomethodnotfoundcodeinerror=1 — restore the previous STDIO behavior where the JSON-RPC MethodNotFound (-32601) code is omitted from the error response for unhandled methods. The default now includes the code.
  • noprotocolerrorbody=1 — restore the previous streamable HTTP client behavior of not decoding the JSON-RPC error body of a non-2xx HTTP response. The default now surfaces the underlying JSON-RPC error.
  • nowrapinvalidparams=1 — restore the previous behavior of returning raw unmarshalParams errors from receiving handlers instead of wrapping them as a JSON-RPC -32602 Invalid params error. Introduced by #​1087.
  • disablecompleteparamsvalidation=1 — restore the previous behavior of accepting completion/complete responses without validating the presence of the completion params object. Introduced by #​1080.

Other Changes to the SDK

Streamable HTTP transport:

Custom methods and MCPGODEBUG-guarded fixes:

Additional spec-compliance fixes:

Auth and OAuth:

Session, keepalive and misc:

Conformance tests, documentation and CI:

New Contributors

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


Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) | `v1.6.1` → `v1.8.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fmodelcontextprotocol%2fgo-sdk/v1.8.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fmodelcontextprotocol%2fgo-sdk/v1.6.1/v1.8.0?slim=true) | --- ### Release Notes <details> <summary>modelcontextprotocol/go-sdk (github.com/modelcontextprotocol/go-sdk)</summary> ### [`v1.8.0`](https://github.com/modelcontextprotocol/go-sdk/releases/tag/v1.8.0) [Compare Source](https://github.com/modelcontextprotocol/go-sdk/compare/v1.7.0...v1.8.0) ***This release is equivalent to v1.8.0-pre.2. Thank you to those who tested the pre-release.*** In this release we introduce several fixes and improvements on top of [v1.7.0](https://github.com/modelcontextprotocol/go-sdk/releases/tag/v1.7.0). It adds no new protocol revision: the supported set is unchanged, and `2026-07-28` remains the newest version the SDK negotiates. The bulk of the work is hardening the transports against resource exhaustion, closing session leaks, deadlocks and teardown hangs found by users running the new protocol at scale, and giving servers explicit control over which protocol versions they advertise. Two behavior changes are guarded by new `MCPGODEBUG` flags; see the section below. #### Hardening against resource exhaustion Every decoding path that buffers incoming input is now bounded. JSON payloads are rejected past 1000 levels of nesting, before the parser recurses. Both SSE readers cap the bytes buffered for a single event via `MaxEventSize` on `SSEClientTransport` and `StreamableClientTransport`, and the stdio transport caps a single JSON-RPC frame via `StdioTransport.MaxLineLength`. On the OAuth side, dynamic client registration responses are bounded to 1 MB, and the discovery code now validates metadata documents rather than trusting them. - internal/json: json nesting depth check by [@&#8203;yarolegovich](https://github.com/yarolegovich) ([#&#8203;1200](https://github.com/modelcontextprotocol/go-sdk/pull/1200)) - mcp: add an sse event size cap by [@&#8203;yarolegovich](https://github.com/yarolegovich) ([#&#8203;1205](https://github.com/modelcontextprotocol/go-sdk/pull/1205)) - mcp: add a max request body size of the old transport by [@&#8203;yarolegovich](https://github.com/yarolegovich) ([#&#8203;1224](https://github.com/modelcontextprotocol/go-sdk/pull/1224)) - oauthex: bound dcr read to 1mb by [@&#8203;yarolegovich](https://github.com/yarolegovich) ([#&#8203;1206](https://github.com/modelcontextprotocol/go-sdk/pull/1206)) - oauthex: oauth discovery checks by [@&#8203;yarolegovich](https://github.com/yarolegovich) ([#&#8203;1220](https://github.com/modelcontextprotocol/go-sdk/pull/1220)) #### Restricting the protocol versions a server supports `ServerOptions.SupportedProtocolVersions` lets a server narrow the set of versions it advertises and negotiates. The list can only narrow, never widen; naming a version the SDK does not implement panics at construction. Relatedly, a stateful streamable handler receiving a `2026-07-28` request now returns that same JSON-RPC error instead of a plain-text 400, so the client can renegotiate down instead of losing the connection. - mcp: allow restricting the protocol versions a server supports by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1199](https://github.com/modelcontextprotocol/go-sdk/pull/1199)) - mcp: return json-rpc error on stateful server serving protocolVersion20260728 requests by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1143](https://github.com/modelcontextprotocol/go-sdk/pull/1143)) - mcp: limit SSE discover supportedVersions to SSE-defined revisions by [@&#8203;arimu1](https://github.com/arimu1) ([#&#8203;1121](https://github.com/modelcontextprotocol/go-sdk/pull/1121)) - mcp: prefer the negotiated protocol version over the request context by [@&#8203;gwyszynski-sa](https://github.com/gwyszynski-sa) ([#&#8203;1163](https://github.com/modelcontextprotocol/go-sdk/pull/1163)) - mcp: export ClientSessionOptions.ProtocolVersion by [@&#8203;arimu1](https://github.com/arimu1) ([#&#8203;1127](https://github.com/modelcontextprotocol/go-sdk/pull/1127)) #### Per-request cache control `ServerOptions.SetCacheable` is a new hook that decides the `ttlMs` and `cacheScope` fields of every result carrying them: `server/discover`, the four list methods, and `resources/read`. It runs once per result, after the handler returns, with the values that handler produced, so it can set a policy globally while still letting an individual handler override it. Anything left unset falls back to the protocol default of `public`. - mcp: allow per request Cacheable customization by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1203](https://github.com/modelcontextprotocol/go-sdk/pull/1203)) #### Behavior changes guarded by MCPGODEBUG Two new escape-hatch flags restore the previous behavior of the changes above. Both will be removed in **v1.9.0**. - **`plaintextstatefulrejection=1`** — restore the plain-text `http.Error` 400 body a stateful `StreamableHTTPHandler` previously returned for a request carrying per-request metadata. The default is now a JSON-RPC `-32022 CodeUnsupportedProtocolVersion` error with an `UnsupportedProtocolVersionData` payload advertising the legacy versions the server supports. Introduced by [#&#8203;1143](https://github.com/modelcontextprotocol/go-sdk/pull/1143). - **`blockingcancelnotify=1`** — restore the previous behavior where a cancelled call waits synchronously for `notifications/cancelled` to be delivered (up to 5s) before returning, joining any delivery error into the caller's error. The default now retires the call immediately and sends the notification asynchronously. Introduced by [#&#8203;1151](https://github.com/modelcontextprotocol/go-sdk/pull/1151). Options below were removed, according to plan: - `seterroroverwrite` - `enableoriginverification` - `disablecontenttypecheck` - `disablelocalhostprotection` #### Other Changes to the SDK - mcp: fix ListTools panic and null normalization on malformed tools by [@&#8203;n0liu](https://github.com/n0liu) ([#&#8203;1120](https://github.com/modelcontextprotocol/go-sdk/pull/1120)) - mcp: avoid panicking when a resource handler returns nil by [@&#8203;latent-9](https://github.com/latent-9) ([#&#8203;1176](https://github.com/modelcontextprotocol/go-sdk/pull/1176)) - mcp: prevent MemoryEventStore.After panic on index past the end by [@&#8203;PratikDhanave](https://github.com/PratikDhanave) ([#&#8203;1132](https://github.com/modelcontextprotocol/go-sdk/pull/1132)) - internal/jsonrpc2: test WireError.Is and fix nil target panic by [@&#8203;aha-jansen](https://github.com/aha-jansen) ([#&#8203;1079](https://github.com/modelcontextprotocol/go-sdk/pull/1079)) - jsonrpc2: wrap write error in server-closing error by [@&#8203;Tethys0](https://github.com/Tethys0) ([#&#8203;1186](https://github.com/modelcontextprotocol/go-sdk/pull/1186)) - internal/jsonrpc2: plumb cancellation cause through request context by [@&#8203;aha-jansen](https://github.com/aha-jansen) ([#&#8203;1103](https://github.com/modelcontextprotocol/go-sdk/pull/1103)) - mcp: preserve single-request batch responses by [@&#8203;wmh123wmh1](https://github.com/wmh123wmh1) ([#&#8203;1214](https://github.com/modelcontextprotocol/go-sdk/pull/1214)) - mcp: don't mutate caller params on multi-round-trip retries by [@&#8203;yhxlele](https://github.com/yhxlele) ([#&#8203;1145](https://github.com/modelcontextprotocol/go-sdk/pull/1145)) - mcp: do not check metatada on notifications by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1215](https://github.com/modelcontextprotocol/go-sdk/pull/1215)) - fix: only subscribe when server advertises capability by [@&#8203;yarolegovich](https://github.com/yarolegovich) ([#&#8203;1221](https://github.com/modelcontextprotocol/go-sdk/pull/1221)) - mcp: tolerate 404 on subscriptions/listen in stateless mode by [@&#8203;smlx](https://github.com/smlx) ([#&#8203;1193](https://github.com/modelcontextprotocol/go-sdk/pull/1193)) - mcp: keep request log levels scoped to each request by [@&#8203;jstar0](https://github.com/jstar0) ([#&#8203;1168](https://github.com/modelcontextprotocol/go-sdk/pull/1168)) - mcp: add docs for tier 1 assessment by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1195](https://github.com/modelcontextprotocol/go-sdk/pull/1195)) - docs: make the protocol.md table of contents resolve by [@&#8203;tonydzi](https://github.com/tonydzi) ([#&#8203;1196](https://github.com/modelcontextprotocol/go-sdk/pull/1196)) - docs: fix the streamable client snippet to use (\*Client).Connect by [@&#8203;tonydzi](https://github.com/tonydzi) ([#&#8203;1142](https://github.com/modelcontextprotocol/go-sdk/pull/1142)) - docs: quick start `go get` leaves the module unbuildable by [@&#8203;tonydzi](https://github.com/tonydzi) ([#&#8203;1148](https://github.com/modelcontextprotocol/go-sdk/pull/1148)) - docs: fix four dead links to the Multi Round-Trip Requests section by [@&#8203;tonydzi](https://github.com/tonydzi) ([#&#8203;1159](https://github.com/modelcontextprotocol/go-sdk/pull/1159)) - mcp: fix typo in protocol version comment by [@&#8203;latent-9](https://github.com/latent-9) ([#&#8203;1156](https://github.com/modelcontextprotocol/go-sdk/pull/1156)) - mcp: fix ListChanged doc comments on server capabilities by [@&#8203;qhzhu](https://github.com/qhzhu) ([#&#8203;1219](https://github.com/modelcontextprotocol/go-sdk/pull/1219)) - mcp: add ServerSession.NotifyElicitationComplete by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1194](https://github.com/modelcontextprotocol/go-sdk/pull/1194)) - mcp: update conformance tests by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1231](https://github.com/modelcontextprotocol/go-sdk/pull/1231)) - Disable scheduled nightly runs on forks by [@&#8203;IAmSurajBobade](https://github.com/IAmSurajBobade) ([#&#8203;1083](https://github.com/modelcontextprotocol/go-sdk/pull/1083)) - auth: add ScopeFilter hook to AuthorizationCodeHandlerConfig by [@&#8203;toabctl](https://github.com/toabctl) ([#&#8203;1044](https://github.com/modelcontextprotocol/go-sdk/pull/1044)) - auth: validate unadvertised RFC 9207 iss instead of rejecting it by [@&#8203;asjdf](https://github.com/asjdf) ([#&#8203;1187](https://github.com/modelcontextprotocol/go-sdk/pull/1187)) - mcp: prevent leaks of ServerSession on StatefulServer by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1137](https://github.com/modelcontextprotocol/go-sdk/pull/1137)) - mcp: avoid Client.Connect leaks by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1158](https://github.com/modelcontextprotocol/go-sdk/pull/1158)) - mcp: resolve deadlock on serverSession.Close() with subscriptionsListen call by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1166](https://github.com/modelcontextprotocol/go-sdk/pull/1166)) - mcp: prune completed listen request IDs from the session by [@&#8203;latent-9](https://github.com/latent-9) ([#&#8203;1190](https://github.com/modelcontextprotocol/go-sdk/pull/1190)) - mcp: bound streamable Close DELETE so a silent peer cannot hang teardown by [@&#8203;LPX-E5BD8](https://github.com/LPX-E5BD8) ([#&#8203;1184](https://github.com/modelcontextprotocol/go-sdk/pull/1184)) - mcp: allow asynchronous cancel notification by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1151](https://github.com/modelcontextprotocol/go-sdk/pull/1151)) - mcp: fix error propagation to prevent session closing by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1118](https://github.com/modelcontextprotocol/go-sdk/pull/1118)) - refactor: remove legacy MCPGODEBUG compatibility for new protocol release by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) - build(deps): bump the codeql-action group with 3 updates by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1122](https://github.com/modelcontextprotocol/go-sdk/pull/1122)) - build(deps): bump the codeql-action group with 3 updates by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1216](https://github.com/modelcontextprotocol/go-sdk/pull/1216)) - build(deps): bump `actions/setup-node` from 6.0.0 to 7.0.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1123](https://github.com/modelcontextprotocol/go-sdk/pull/1123)) - build(deps): bump `actions/setup-python` from 6.3.0 to 7.0.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1124](https://github.com/modelcontextprotocol/go-sdk/pull/1124)) - build(deps): bump `actions/setup-go` from 6.5.0 to 7.0.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1125](https://github.com/modelcontextprotocol/go-sdk/pull/1125)) - build(deps): bump `actions/checkout` from 7.0.0 to 7.0.1 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1126](https://github.com/modelcontextprotocol/go-sdk/pull/1126)) - build(deps): bump `golang/govulncheck-action` from 1.0.4 to 1.1.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1218](https://github.com/modelcontextprotocol/go-sdk/pull/1218)) - build(deps): bump `ossf/scorecard-action` from 2.4.3 to 2.4.4 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1217](https://github.com/modelcontextprotocol/go-sdk/pull/1217)) #### New Contributors - [@&#8203;n0liu](https://github.com/n0liu) made their first contribution in [#&#8203;1120](https://github.com/modelcontextprotocol/go-sdk/pull/1120) - [@&#8203;arimu1](https://github.com/arimu1) made their first contribution in [#&#8203;1127](https://github.com/modelcontextprotocol/go-sdk/pull/1127) - [@&#8203;tonydzi](https://github.com/tonydzi) made their first contribution in [#&#8203;1142](https://github.com/modelcontextprotocol/go-sdk/pull/1142) - [@&#8203;latent-9](https://github.com/latent-9) made their first contribution in [#&#8203;1156](https://github.com/modelcontextprotocol/go-sdk/pull/1156) - [@&#8203;jstar0](https://github.com/jstar0) made their first contribution in [#&#8203;1168](https://github.com/modelcontextprotocol/go-sdk/pull/1168) - [@&#8203;gwyszynski-sa](https://github.com/gwyszynski-sa) made their first contribution in [#&#8203;1163](https://github.com/modelcontextprotocol/go-sdk/pull/1163) - [@&#8203;aha-jansen](https://github.com/aha-jansen) made their first contribution in [#&#8203;1103](https://github.com/modelcontextprotocol/go-sdk/pull/1103) - [@&#8203;PratikDhanave](https://github.com/PratikDhanave) made their first contribution in [#&#8203;1132](https://github.com/modelcontextprotocol/go-sdk/pull/1132) - [@&#8203;LPX-E5BD8](https://github.com/LPX-E5BD8) made their first contribution in [#&#8203;1184](https://github.com/modelcontextprotocol/go-sdk/pull/1184) - [@&#8203;asjdf](https://github.com/asjdf) made their first contribution in [#&#8203;1187](https://github.com/modelcontextprotocol/go-sdk/pull/1187) - [@&#8203;Tethys0](https://github.com/Tethys0) made their first contribution in [#&#8203;1186](https://github.com/modelcontextprotocol/go-sdk/pull/1186) - [@&#8203;wmh123wmh1](https://github.com/wmh123wmh1) made their first contribution in [#&#8203;1214](https://github.com/modelcontextprotocol/go-sdk/pull/1214) - [@&#8203;yhxlele](https://github.com/yhxlele) made their first contribution in [#&#8203;1145](https://github.com/modelcontextprotocol/go-sdk/pull/1145) - [@&#8203;qhzhu](https://github.com/qhzhu) made their first contribution in [#&#8203;1219](https://github.com/modelcontextprotocol/go-sdk/pull/1219) **Full Changelog**: <https://github.com/modelcontextprotocol/go-sdk/compare/v1.7.0...v1.8.0-pre.1> ### [`v1.7.0`](https://github.com/modelcontextprotocol/go-sdk/releases/tag/v1.7.0) [Compare Source](https://github.com/modelcontextprotocol/go-sdk/compare/v1.6.1...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](https://github.blog/changelog/2026-07-23-github-mcp-server-supports-the-next-mcp-specification/) by GitHub, serving more than half a million users. #### Make MCP Stateless ([SEP-2575](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2575)) & Sessionless ([SEP-2567](https://modelcontextprotocol.io/seps/2567-sessionless-mcp)) 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`. - mcp: Implement support for SEP-2575 on client side by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;975](https://github.com/modelcontextprotocol/go-sdk/pull/975)) - mcp: Implement server-side support for discover method (SEP-2575) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;987](https://github.com/modelcontextprotocol/go-sdk/pull/987)) - mcp: Implement stateless server (SEP-2575) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;965](https://github.com/modelcontextprotocol/go-sdk/pull/965)) - mcp: add support for logging level (SEP-2575) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;997](https://github.com/modelcontextprotocol/go-sdk/pull/997)) - mcp: Remove resumability and introduce `MissingRequiredClientCapability` error data by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1005](https://github.com/modelcontextprotocol/go-sdk/pull/1005)) - mcp: remove session header handling in stateless mode by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) ([#&#8203;952](https://github.com/modelcontextprotocol/go-sdk/pull/952)) - mcp: do not call DELETE for sessionless & doc adjustments by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) ([#&#8203;960](https://github.com/modelcontextprotocol/go-sdk/pull/960)) - mcp: Implement retry on advised supportedVersions in `UnsupportedProtocolVersion` error by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;989](https://github.com/modelcontextprotocol/go-sdk/pull/989)) - mcp: Enable legacy initialize fallback on any error by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1014](https://github.com/modelcontextprotocol/go-sdk/pull/1014)) #### Subscriptions listen ([SEP-2575](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/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. - mcp: Implement `subscriptions/listen` rpc (SEP-2575) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1007](https://github.com/modelcontextprotocol/go-sdk/pull/1007)) - mcp: refactor notification of subscribed sessions by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1018](https://github.com/modelcontextprotocol/go-sdk/pull/1018)) #### Multi Round-Trip Requests ([SEP-2322](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/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. - feat: multi-round-trip request implementation (SEP-2322) by [@&#8203;yarolegovich](https://github.com/yarolegovich) ([#&#8203;950](https://github.com/modelcontextprotocol/go-sdk/pull/950)) #### Cacheable list results ([SEP-2549](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/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. - mcp: add ttl for list results (SEP-2549) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1008](https://github.com/modelcontextprotocol/go-sdk/pull/1008)) - mcp: add Cacheable fields to `DiscoverResult` by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1022](https://github.com/modelcontextprotocol/go-sdk/pull/1022)) #### HTTP standardization ([SEP-2243](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/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`. - mcp: HTTP Header Standardization for `x-mcp-header` by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;915](https://github.com/modelcontextprotocol/go-sdk/pull/915)) - mcp: fix http-standardization (SEP-2243) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1010](https://github.com/modelcontextprotocol/go-sdk/pull/1010)) #### Deprecation of roots, sampling, and logging ([SEP-2577](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2577)) Roots, sampling, and logging are formally deprecated on the `2026-07-28` revision. The SDK continues to expose the corresponding Go types for backward compatibility with older peers, but new servers should not rely on them. - mcp: Deprecate roots, sampling and logging (SEP-2577) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1017](https://github.com/modelcontextprotocol/go-sdk/pull/1017)) #### Behavior changes guarded by MCPGODEBUG Seven escape-hatch flags are added in this release to restore behavior that changed as part of spec-compliance fixes. All will be removed in **v1.9.0**. - **`customresnotfounderrcode=1`** — restore the old `-32002` code for `ResourceNotFoundError`. - **`hintomitempty=1`** — restore `omitempty` on `ToolAnnotations.ReadOnlyHint` and `IdempotentHint`. The default now always serializes these fields because the Go types are bare `bool` (not `*bool`), so omitting `false` made it indistinguishable from "unset". - **`allowsessionsinstateless=1`** — restore session-id handling on stateless streamable HTTP servers (read/write `Mcp-Session-Id`, accept `DELETE`). The default behavior is now what the spec requires: stateless servers ignore session IDs entirely and return `405 Method Not Allowed` for `DELETE`. - **`nomethodnotfoundcodeinerror=1`** — restore the previous STDIO behavior where the JSON-RPC `MethodNotFound` (`-32601`) code is omitted from the error response for unhandled methods. The default now includes the code. - **`noprotocolerrorbody=1`** — restore the previous streamable HTTP client behavior of not decoding the JSON-RPC error body of a non-2xx HTTP response. The default now surfaces the underlying JSON-RPC error. - **`nowrapinvalidparams=1`** — restore the previous behavior of returning raw `unmarshalParams` errors from receiving handlers instead of wrapping them as a JSON-RPC `-32602 Invalid params` error. Introduced by [#&#8203;1087](https://github.com/modelcontextprotocol/go-sdk/pull/1087). - **`disablecompleteparamsvalidation=1`** — restore the previous behavior of accepting `completion/complete` responses without validating the presence of the `completion` params object. Introduced by [#&#8203;1080](https://github.com/modelcontextprotocol/go-sdk/pull/1080). #### Other Changes to the SDK Streamable HTTP transport: - mcp: allow opt-in to cancel handler ctx on aborted POST by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1099](https://github.com/modelcontextprotocol/go-sdk/pull/1099)) - mcp: enforce body size limit in Streamable connection by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1055](https://github.com/modelcontextprotocol/go-sdk/pull/1055)) - mcp: close HTTP response body from DELETE request in `streamableClientConn.Close` by [@&#8203;blackwell-systems](https://github.com/blackwell-systems) ([#&#8203;929](https://github.com/modelcontextprotocol/go-sdk/pull/929)) - mcp: write SSE comment on standalone stream so HTTP/2 reverse proxies flush HEADERS frame by [@&#8203;jchangx](https://github.com/jchangx) ([#&#8203;938](https://github.com/modelcontextprotocol/go-sdk/pull/938)) - mcp: refactor streamable handler control flow by [@&#8203;maciej-kisiel](https://github.com/maciej-kisiel) ([#&#8203;949](https://github.com/modelcontextprotocol/go-sdk/pull/949)) - mcp: add MCPGODEBUG for opt-in Content-Type check by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1012](https://github.com/modelcontextprotocol/go-sdk/pull/1012)) - fix: prevent duplicate in-flight request IDs by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1011](https://github.com/modelcontextprotocol/go-sdk/pull/1011)) - fix: reject duplicate initialize requests by [@&#8203;he-yufeng](https://github.com/he-yufeng) ([#&#8203;962](https://github.com/modelcontextprotocol/go-sdk/pull/962)) - fix(jsonrpc2): decode requests when method key is present by [@&#8203;piyushbag](https://github.com/piyushbag) ([#&#8203;1000](https://github.com/modelcontextprotocol/go-sdk/pull/1000)) Custom methods and MCPGODEBUG-guarded fixes: - mcp: Allow registration of custom JSON-RPC methods by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;956](https://github.com/modelcontextprotocol/go-sdk/pull/956)) - mcp: wrap `unmarshalParams` with jsonrpc error by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1087](https://github.com/modelcontextprotocol/go-sdk/pull/1087)) - mcp: add param check for `CompleteResult` by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1080](https://github.com/modelcontextprotocol/go-sdk/pull/1080)) Additional spec-compliance fixes: - mcp: update return meta in `DiscoverResult` (SEP-2575) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1097](https://github.com/modelcontextprotocol/go-sdk/pull/1097)) - mcp: add return type to `subscriptions/listen` by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1088](https://github.com/modelcontextprotocol/go-sdk/pull/1088)) - mcp: reject calls to `server/discover` for `<2026-07-28` requests by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1084](https://github.com/modelcontextprotocol/go-sdk/pull/1084)) - mcp: include `resultType` on new-protocol responses by [@&#8203;ychampion](https://github.com/ychampion) ([#&#8203;1060](https://github.com/modelcontextprotocol/go-sdk/pull/1060)) - mcp: infer elicit mode from `ElicitParams` by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1078](https://github.com/modelcontextprotocol/go-sdk/pull/1078)) - mcp: do not `ApplyDefault` when `res.Content == nil` by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1069](https://github.com/modelcontextprotocol/go-sdk/pull/1069)) - mcp: do not exclude Notifications from carrying `InitializeParams` in Meta by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1049](https://github.com/modelcontextprotocol/go-sdk/pull/1049)) - mcp: cap negotiated `protocolVersion` in legacy initialize to `protocolVersion20251125` by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1051](https://github.com/modelcontextprotocol/go-sdk/pull/1051)) - mcp: make `NotificationSubscriptions` a mandatory field by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1050](https://github.com/modelcontextprotocol/go-sdk/pull/1050)) - mcp: do not enforce TTL on cached tool by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1053](https://github.com/modelcontextprotocol/go-sdk/pull/1053)) - mcp: block server-initiated requests (SEP-2322) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1057](https://github.com/modelcontextprotocol/go-sdk/pull/1057)) - fix: extra wrapper for input response map by [@&#8203;yarolegovich](https://github.com/yarolegovich) ([#&#8203;1045](https://github.com/modelcontextprotocol/go-sdk/pull/1045)) - fix: do not `omitempty` `ReadOnlyHint` in `ToolAnnotations` by [@&#8203;pvlbzn](https://github.com/pvlbzn) ([#&#8203;908](https://github.com/modelcontextprotocol/go-sdk/pull/908)) - fix: add implementation description metadata by [@&#8203;he-yufeng](https://github.com/he-yufeng) ([#&#8203;981](https://github.com/modelcontextprotocol/go-sdk/pull/981)) - fix(mcp): prevent SIGSEGV in `AddTool` when schema is nil by [@&#8203;wucm667](https://github.com/wucm667) ([#&#8203;918](https://github.com/modelcontextprotocol/go-sdk/pull/918)) - mcp: `tool.InputSchema` and `tool.OutputSchema` validation (SEP-2106) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1009](https://github.com/modelcontextprotocol/go-sdk/pull/1009)) - mcp: update JSON-RPC error codes to align with updated MCP specification by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1016](https://github.com/modelcontextprotocol/go-sdk/pull/1016)) - mcp: bump protocol version from `2026-06-30` to `2026-07-28` by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1015](https://github.com/modelcontextprotocol/go-sdk/pull/1015)) - mcp: add `2026-07-28` to the supported protocol versions by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1020](https://github.com/modelcontextprotocol/go-sdk/pull/1020)) - mcp: derive Mcp-Protocol-Version header from the outgoing message by \[[@&#8203;jan-xyz](https://github.com/jan-xyz)] Auth and OAuth: - auth: support OAuth2 session persistence by [@&#8203;smlx](https://github.com/smlx) ([#&#8203;1058](https://github.com/modelcontextprotocol/go-sdk/pull/1058)) - mcp: align resource not found error code with [SEP-2164](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2164) by [@&#8203;yarolegovich](https://github.com/yarolegovich) ([#&#8203;931](https://github.com/modelcontextprotocol/go-sdk/pull/931)) - mcp: OIDC-Flavored Refresh Token Guidance ([SEP-2207](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2207)) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;939](https://github.com/modelcontextprotocol/go-sdk/pull/939)) - mcp: add client-side scope accumulation ([SEP-2350](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2350)) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;944](https://github.com/modelcontextprotocol/go-sdk/pull/944)) - mcp: add optional issuer validator for pre-registered client validation ([SEP-2352](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2352)) by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;946](https://github.com/modelcontextprotocol/go-sdk/pull/946)) - auth: issuer mix-up mitigation ([SEP-2468](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2468)) by [@&#8203;max-stytch](https://github.com/max-stytch) ([#&#8203;859](https://github.com/modelcontextprotocol/go-sdk/pull/859)) - auth: compare auth server metadata issuer ignoring trailing slash by [@&#8203;gainsley](https://github.com/gainsley) ([#&#8203;955](https://github.com/modelcontextprotocol/go-sdk/pull/955)) - auth: bind refreshing token source to a background context, not the request ctx by [@&#8203;toabctl](https://github.com/toabctl) ([#&#8203;988](https://github.com/modelcontextprotocol/go-sdk/pull/988)) - auth: add `ClockSkew` option to `RequireBearerTokenOptions` by [@&#8203;BorisTyshkevich](https://github.com/BorisTyshkevich) ([#&#8203;969](https://github.com/modelcontextprotocol/go-sdk/pull/969)) - auth: add `AllowMissingExpiration` option to `RequireBearerTokenOptions` by [@&#8203;BorisTyshkevich](https://github.com/BorisTyshkevich) ([#&#8203;971](https://github.com/modelcontextprotocol/go-sdk/pull/971)) - oauthex: add `MatchesResource` helper (RFC 9728/8707 audience comparison) by [@&#8203;BorisTyshkevich](https://github.com/BorisTyshkevich) ([#&#8203;970](https://github.com/modelcontextprotocol/go-sdk/pull/970)) - fix: handle `oauth2.RetrieveError` during token refresh by [@&#8203;smlx](https://github.com/smlx) ([#&#8203;917](https://github.com/modelcontextprotocol/go-sdk/pull/917)) Session, keepalive and misc: - mcp: use `golang.org/x/time/rate` for `LoggingHandler` rate limiting by [@&#8203;wucm667](https://github.com/wucm667) ([#&#8203;927](https://github.com/modelcontextprotocol/go-sdk/pull/927)) - mcp: add configurable keepalive failure threshold by [@&#8203;tdabasinskas](https://github.com/tdabasinskas) ([#&#8203;982](https://github.com/modelcontextprotocol/go-sdk/pull/982)) - mcp: remove outdated comment by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1003](https://github.com/modelcontextprotocol/go-sdk/pull/1003)) Conformance tests, documentation and CI: - mcp: add integration for server conformance tests by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1054](https://github.com/modelcontextprotocol/go-sdk/pull/1054)) - mcp: add conformance tests on client by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1063](https://github.com/modelcontextprotocol/go-sdk/pull/1063)) - mcp: Upgrade conformance test to latest available deployment by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1021](https://github.com/modelcontextprotocol/go-sdk/pull/1021)) - mcp: add documentation for new protocol version by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1019](https://github.com/modelcontextprotocol/go-sdk/pull/1019)) - mcp: update docs references by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1023](https://github.com/modelcontextprotocol/go-sdk/pull/1023)) - docs: update docs by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1089](https://github.com/modelcontextprotocol/go-sdk/pull/1089)) - docs: update `troubleshoot.md` to include `resultType` by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1081](https://github.com/modelcontextprotocol/go-sdk/pull/1081)) - ci: update dependabot rules by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1059](https://github.com/modelcontextprotocol/go-sdk/pull/1059)) - ci: fix nightly runs by [@&#8203;guglielmo-san](https://github.com/guglielmo-san) ([#&#8203;1086](https://github.com/modelcontextprotocol/go-sdk/pull/1086)) - build(deps): bump `github/codeql-action` from 4.35.1 to 4.35.2 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;922](https://github.com/modelcontextprotocol/go-sdk/pull/922)) - build(deps): bump `github/codeql-action` from 4.35.2 to 4.36.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;986](https://github.com/modelcontextprotocol/go-sdk/pull/986)) - build(deps): bump the codeql-action group with 3 updates by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1064](https://github.com/modelcontextprotocol/go-sdk/pull/1064)) - build(deps): bump `actions/cache` from 5.0.4 to 5.0.5 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;923](https://github.com/modelcontextprotocol/go-sdk/pull/923)) - build(deps): bump `actions/cache` from 5.0.5 to 6.1.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1065](https://github.com/modelcontextprotocol/go-sdk/pull/1065)) - build(deps): bump `actions/setup-node` from 6.3.0 to 6.4.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;921](https://github.com/modelcontextprotocol/go-sdk/pull/921)) - build(deps): bump `actions/upload-artifact` from 7.0.0 to 7.0.1 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;920](https://github.com/modelcontextprotocol/go-sdk/pull/920)) - build(deps): bump `actions/checkout` from 6.0.2 to 7.0.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1040](https://github.com/modelcontextprotocol/go-sdk/pull/1040)) - build(deps): bump `actions/setup-python` from 6.2.0 to 6.3.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1038](https://github.com/modelcontextprotocol/go-sdk/pull/1038)) - build(deps): bump `actions/setup-go` from 6.4.0 to 6.5.0 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1066](https://github.com/modelcontextprotocol/go-sdk/pull/1066)) - build(deps): bump `github/codeql-action/upload-sarif` from 4.36.0 to 4.36.2 by [@&#8203;dependabot](https://github.com/dependabot) ([#&#8203;1039](https://github.com/modelcontextprotocol/go-sdk/pull/1039)) #### New Contributors - [@&#8203;MatyasVondraOutreach](https://github.com/MatyasVondraOutreach) made their first contribution in [#&#8203;877](https://github.com/modelcontextprotocol/go-sdk/pull/877) - [@&#8203;rafaeljusto](https://github.com/rafaeljusto) made their first contribution in [#&#8203;878](https://github.com/modelcontextprotocol/go-sdk/pull/878) - [@&#8203;begelundmuller](https://github.com/begelundmuller) made their first contribution in [#&#8203;856](https://github.com/modelcontextprotocol/go-sdk/pull/856) - [@&#8203;Dinesht04](https://github.com/Dinesht04) made their first contribution in [#&#8203;883](https://github.com/modelcontextprotocol/go-sdk/pull/883) - [@&#8203;N-Masi](https://github.com/N-Masi) made their first contribution in [#&#8203;896](https://github.com/modelcontextprotocol/go-sdk/pull/896) - [@&#8203;jpugliesi](https://github.com/jpugliesi) made their first contribution in [#&#8203;888](https://github.com/modelcontextprotocol/go-sdk/pull/888) - [@&#8203;blackwell-systems](https://github.com/blackwell-systems) made their first contribution in [#&#8203;929](https://github.com/modelcontextprotocol/go-sdk/pull/929) - [@&#8203;smlx](https://github.com/smlx) made their first contribution in [#&#8203;917](https://github.com/modelcontextprotocol/go-sdk/pull/917) - [@&#8203;yarolegovich](https://github.com/yarolegovich) made their first contribution in [#&#8203;931](https://github.com/modelcontextprotocol/go-sdk/pull/931) - [@&#8203;wucm667](https://github.com/wucm667) made their first contribution in [#&#8203;918](https://github.com/modelcontextprotocol/go-sdk/pull/918) - [@&#8203;jchangx](https://github.com/jchangx) made their first contribution in [#&#8203;938](https://github.com/modelcontextprotocol/go-sdk/pull/938) - [@&#8203;gainsley](https://github.com/gainsley) made their first contribution in [#&#8203;955](https://github.com/modelcontextprotocol/go-sdk/pull/955) - [@&#8203;he-yufeng](https://github.com/he-yufeng) made their first contribution in [#&#8203;962](https://github.com/modelcontextprotocol/go-sdk/pull/962) - [@&#8203;pvlbzn](https://github.com/pvlbzn) made their first contribution in [#&#8203;908](https://github.com/modelcontextprotocol/go-sdk/pull/908) - [@&#8203;max-stytch](https://github.com/max-stytch) made their first contribution in [#&#8203;859](https://github.com/modelcontextprotocol/go-sdk/pull/859) - [@&#8203;tdabasinskas](https://github.com/tdabasinskas) made their first contribution in [#&#8203;982](https://github.com/modelcontextprotocol/go-sdk/pull/982) - [@&#8203;BorisTyshkevich](https://github.com/BorisTyshkevich) made their first contribution in [#&#8203;971](https://github.com/modelcontextprotocol/go-sdk/pull/971) - [@&#8203;piyushbag](https://github.com/piyushbag) made their first contribution in [#&#8203;1000](https://github.com/modelcontextprotocol/go-sdk/pull/1000) - [@&#8203;toabctl](https://github.com/toabctl) made their first contribution in [#&#8203;988](https://github.com/modelcontextprotocol/go-sdk/pull/988) - [@&#8203;ychampion](https://github.com/ychampion) made their first contribution in [#&#8203;1060](https://github.com/modelcontextprotocol/go-sdk/pull/1060) - [@&#8203;jan-xyz](https://github.com/jan-xyz) made their first contribution in [#&#8203;1107](https://github.com/modelcontextprotocol/go-sdk/pull/1107) - [@&#8203;george1410](https://github.com/george1410) made their first contribution in [#&#8203;1106](https://github.com/modelcontextprotocol/go-sdk/pull/1106) **Full Changelog**: <https://github.com/modelcontextprotocol/go-sdk/compare/v1.6.0...v1.7.0> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Berlin) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODEuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjgyLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
fix(deps): update module github.com/modelcontextprotocol/go-sdk to v1.7.0
Some checks failed
CI/CD Workflow / Detect changed paths (pull_request) Successful in 12s
CI/CD Workflow / Security (Secrets: gitleaks) (pull_request) Successful in 17s
CI/CD Workflow / Test Frontend (Node.js) (pull_request) Has been skipped
CI/CD Workflow / Test Postgres Store (pull_request) Failing after 1m31s
CI/CD Workflow / Test Backend (Go) (pull_request) Successful in 3m13s
CI/CD Workflow / Security (Go: govulncheck + gosec) (pull_request) Failing after 1m59s
CI/CD Workflow / E2E (Playwright + Go) (pull_request) Successful in 10m4s
CI/CD Workflow / Build and Publish Docker Image (pull_request) Has been skipped
CI/CD Workflow / Trigger Dockhand Deployment (pull_request) Has been skipped
2c32c3c4a2
Renovate changed title from fix(deps): update module github.com/modelcontextprotocol/go-sdk to v1.7.0 to fix(deps): update module github.com/modelcontextprotocol/go-sdk to v1.8.0 2026-09-14 14:01:09 +02:00
Renovate force-pushed renovate/github.com-modelcontextprotocol-go-sdk-1.x from 2c32c3c4a2
Some checks failed
CI/CD Workflow / Detect changed paths (pull_request) Successful in 12s
CI/CD Workflow / Security (Secrets: gitleaks) (pull_request) Successful in 17s
CI/CD Workflow / Test Frontend (Node.js) (pull_request) Has been skipped
CI/CD Workflow / Test Postgres Store (pull_request) Failing after 1m31s
CI/CD Workflow / Test Backend (Go) (pull_request) Successful in 3m13s
CI/CD Workflow / Security (Go: govulncheck + gosec) (pull_request) Failing after 1m59s
CI/CD Workflow / E2E (Playwright + Go) (pull_request) Successful in 10m4s
CI/CD Workflow / Build and Publish Docker Image (pull_request) Has been skipped
CI/CD Workflow / Trigger Dockhand Deployment (pull_request) Has been skipped
to 580697ede0
Some checks failed
CI/CD Workflow / Detect changed paths (pull_request) Successful in 13s
CI/CD Workflow / Test Frontend (Node.js) (pull_request) Has been skipped
CI/CD Workflow / Security (Secrets: gitleaks) (pull_request) Successful in 16s
CI/CD Workflow / Test Postgres Store (pull_request) Failing after 1m33s
CI/CD Workflow / Test Backend (Go) (pull_request) Failing after 4m0s
CI/CD Workflow / Security (Go: govulncheck + gosec) (pull_request) Failing after 2m37s
CI/CD Workflow / Build and Publish Docker Image (pull_request) Has been skipped
CI/CD Workflow / Trigger Dockhand Deployment (pull_request) Has been skipped
CI/CD Workflow / E2E (Playwright + Go) (pull_request) Successful in 11m19s
2026-09-14 14:01:12 +02:00
Compare
Some checks failed
CI/CD Workflow / Detect changed paths (pull_request) Successful in 13s
CI/CD Workflow / Test Frontend (Node.js) (pull_request) Has been skipped
CI/CD Workflow / Security (Secrets: gitleaks) (pull_request) Successful in 16s
CI/CD Workflow / Test Postgres Store (pull_request) Failing after 1m33s
CI/CD Workflow / Test Backend (Go) (pull_request) Failing after 4m0s
CI/CD Workflow / Security (Go: govulncheck + gosec) (pull_request) Failing after 2m37s
CI/CD Workflow / Build and Publish Docker Image (pull_request) Has been skipped
CI/CD Workflow / Trigger Dockhand Deployment (pull_request) Has been skipped
CI/CD Workflow / E2E (Playwright + Go) (pull_request) Successful in 11m19s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/github.com-modelcontextprotocol-go-sdk-1.x:renovate/github.com-modelcontextprotocol-go-sdk-1.x'
git switch 'renovate/github.com-modelcontextprotocol-go-sdk-1.x'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'renovate/github.com-modelcontextprotocol-go-sdk-1.x'
git switch 'renovate/github.com-modelcontextprotocol-go-sdk-1.x'
git rebase 'main'
git switch 'main'
git merge --ff-only 'renovate/github.com-modelcontextprotocol-go-sdk-1.x'
git switch 'renovate/github.com-modelcontextprotocol-go-sdk-1.x'
git rebase 'main'
git switch 'main'
git merge --no-ff 'renovate/github.com-modelcontextprotocol-go-sdk-1.x'
git switch 'main'
git merge --squash 'renovate/github.com-modelcontextprotocol-go-sdk-1.x'
git switch 'main'
git merge --ff-only 'renovate/github.com-modelcontextprotocol-go-sdk-1.x'
git switch 'main'
git merge 'renovate/github.com-modelcontextprotocol-go-sdk-1.x'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kreativmonkey/goloom!130
No description provided.