Repository navigation
fix(examples): serve the example MCP servers over stateless MCP 2026-07-28 - #325
Merged
Merged
Conversation
…07-28 The example MCP servers were built on metoro-io/mcp-golang, which speaks the legacy stateful protocol. The Gateway and the infer CLI only speak MCP 2026-07-28 and open with server/discover, so neither connected to them. Both servers now run on the official MCP Go SDK with a stateless Streamable HTTP handler and keep their tools, ports and paths. The example docs name the SDK and the protocol revision, and the memory server's curl check sends the 2026-07-28 headers. Closes #323
This was referenced Nov 8, 2026
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Nov 8, 2026
## [0.33.0](v0.32.0...v0.33.0) (2026-11-08) ### ✨ Features * **gateway:** tune MCP health polling with spec.mcp.healthCheck ([#328](#328)) ([ff0867c](ff0867c)) * **orchestrator:** give spec.mcp.servers names and headers in the pod's mcp.yaml ([#324](#324)) ([56f4ff8](56f4ff8)), closes [#321](#321) * **orchestrator:** pass through binding Service annotations and labels ([#320](#320)) ([d543db8](d543db8)) ### ♻️ Improvements * **orchestrator:** export the status contract from api/v1alpha1 ([#330](#330)) ([4b5d854](4b5d854)) ### 🐛 Bug Fixes * **examples:** serve the example MCP servers over stateless MCP 2026-07-28 ([#325](#325)) ([6d34978](6d34978)), closes [#323](#323) * **samples:** make the Gateway and MCP samples pass CRD validation ([#329](#329)) ([e2e5d2a](e2e5d2a)) ### 👷 CI * **deps:** bump the gomod group with 4 updates ([#319](#319)) ([67f1bde](67f1bde))
Contributor
|
🎉 This PR is included in version 0.33.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Both example MCP servers,
examples/orchestrator/mcp-server-timeandexamples/mcp-server/mcp-memory-server, move frommetoro-io/mcp-golangto the official MCP Go SDK (v1.8.0) with a stateless Streamable HTTP handler. They now speak MCP2026-07-28, the revision the Gateway and the infer CLI speak, so both connect to them again.memory_getandmemory_deleteshare one argument type.http.Serverwith a read-header timeout instead of a bare listener.06-mcps.yaml,examples/mcp-server/mcp.yaml, the three example READMEs and the root README name the official SDK and the protocol revision instead of claiming the Gateway's client usesmcp-golang.tools/listcheck sends the2026-07-28headers and_metaeach request carries.Closes #323
Verification
infer mcp status(infer v0.249.0) against both servers running locally: 2/2 connected with all 6 tools. Before, the same check failed withserver/discover: ... EOF.2026-07-28tools/callrequests returned correct results forconvert_time,memory_setandmemory_list.tools/listcommand returned all four memory tools from the container.mcp-golangis left in the repository.The Gateway was not run against them. Its README requires the same
2026-07-28servers.Behavior change
An empty string for
keyorto_timezoneis now accepted rather than refused. The schema requires the argument to be present, not non-empty. An emptyto_timezoneconverts to UTC.Cross-repo impact
mcp-server-time, which connects once this lands.