You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Example MCP servers don't speak MCP 2026-07-28, so neither the Gateway nor infer connects to them #323
Both example MCP servers, examples/orchestrator/mcp-server-time and examples/mcp-server/mcp-memory-server, are built on github.com/metoro-io/mcp-golang v0.16.1, which does not speak MCP 2026-07-28. The Gateway and the infer CLI speak only 2026-07-28, where every request carries its protocol version and client capabilities in _meta and the MCP-Protocol-Version header (the Gateway README says the servers in MCP_SERVERS must speak 2026-07-28). The example servers close the connection on these requests, so nothing in the examples gets an MCP tool.
06-mcps.yaml still says the servers use "the same metoro-io/mcp-golang library that the inference-gateway uses on its client side", which is no longer true.
Found while verifying #321 on a k3d cluster. The orchestrator pod rendered and mounted mcp.yaml correctly, but could not connect mcp-server-time. The same check with a server built on github.com/modelcontextprotocol/go-sdk (a stateless Streamable HTTP handler, as in inference-gateway/cli examples/mcp/mcp-server) connected with all its tools.
Steps to Reproduce
Build and import the example server: docker build -t mcp-server-time:dev examples/orchestrator/mcp-server-time and k3d image import mcp-server-time:dev.
Apply an MCP CR running it and an Orchestrator with ghcr.io/inference-gateway/cli:latest (infer v0.249.0) whose spec.mcp reaches it, through serviceDiscovery or a static server.
Run kubectl exec deploy/<orchestrator> -- infer mcp status.
Expected Behavior
The server is connected and its tools are listed, as examples/orchestrator/README.md and examples/mcp-server/README.md describe.
Actual Behavior
MCP 0/1
| x | mcp-time-hosted | 0 | server/discover: Post "http://mcp-time-hosted-service.demo.svc.cluster.local:8080/mcp": EOF |
The Gateway's MCP discovery of the same servers fails the same way.
A fix moves both servers to github.com/modelcontextprotocol/go-sdk with a stateless Streamable HTTP handler, keeps their tools and ports, and corrects the comments in 06-mcps.yaml and the example READMEs.
changed the title [-][BUG] Example MCP servers speak the legacy protocol, so neither the Gateway nor infer connects to them[/-][+][BUG] Example MCP servers don't speak MCP 2026-07-28, so neither the Gateway nor infer connects to them[/+]on Nov 8, 2026
Activity
[-][BUG] Example MCP servers speak the legacy protocol, so neither the Gateway nor infer connects to them[/-][+][BUG] Example MCP servers don't speak MCP 2026-07-28, so neither the Gateway nor infer connects to them[/+]chore(release): 🔖 0.33.0 [skip ci]
inference-gateway-releaser commentedon Nov 8, 2026
🎉 This issue has been resolved in version 0.33.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀