Skip to content

Adopt go-sdk v1.7 for MCP 2026-07-28 stateless support #5754

Description

@JAORMX

Part of #5743 (Workstream C: 2026-07-28 stateless readiness). Gating issue for this workstream.

Work

The 2026-07-28 revision ships as go-sdk v1.7.x (v1.7.0-pre.1 already implements it; stateless is opt-in via StreamableHTTPOptions.Stateless, and endpoints negotiate down to 2025-11-25 for old clients). ToolHive consumes go-sdk through toolhive-core's mcpcompat shim.

  • Track go-sdk v1.7.0 final; evaluate the changelog and the MCPGODEBUG escape hatches (removed in v1.9.0).
  • Determine what the mcpcompat shim needs to expose: the Stateless option, server/discover, MRTR result shapes, subscriptions/listen, per-request _meta protocol fields.
  • Bump toolhive-core → go-sdk v1.7.x, then ToolHive → toolhive-core, behind the regression-test gate from Add regression tests gating the mcp-go to go-sdk migration #5742.

Depends on: #5729, stacklok/toolhive-core#156, #5742.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions