Repository navigation
fix(mcp): restore mcp-route attachment to mcp-gateway - #719
Conversation
Commit 68d2252 ("Let MCP Gateway share the Kagenti Gateway") moved the mcp-route HTTPRoute parentRef from the dedicated mcp-gateway to the shared http gateway. This left the mcp-gateway Envoy with no backend routes, causing the MCP Inspector to fail with "Connection Error" when connecting through mcp-gateway-istio. Add mcp-gateway back as a second parentRef so the route is attached to both gateways, preserving the shared gateway intent while restoring the dedicated mcp-gateway routing. Fixes rossoctl#718 Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
There was a problem hiding this comment.
Pull request overview
This pull request restores MCP Inspector connectivity by re-attaching the mcp-route HTTPRoute to the dedicated mcp-gateway, which was inadvertently removed in commit 68d2252. The fix preserves the shared gateway functionality while restoring the internal cluster routing path that the MCP Inspector depends on.
Changes:
- Adds
mcp-gatewayas a secondparentRefon themcp-routeHTTPRoute, enabling dual-gateway attachment
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I am out of the office today and can't test this PR until later. I had intended to remove the Gateway |
esnible
left a comment
There was a problem hiding this comment.
I have tested this and it works for me.
I tested this only under Kind, not under OpenShift.
Note that the configuration of the "Inspector Proxy Address" comes from a cookie on the browser. If it changed, or if you are using different browsers, you must set it to http://mcp-proxy.localtest.me:8080/ in the browser.
Summary
mcp-gatewayback as a secondparentRefon themcp-routeHTTPRoute, fixing MCP Inspector connectivity broken by commit 68d2252Root Cause
Commit
68d2252("Let MCP Gateway share the Kagenti Gateway") moved themcp-routeparentRef from the dedicatedmcp-gatewayto the sharedhttpgateway. This left themcp-gatewayEnvoy with no backend routes, so the ext_proc processes requests correctly but Envoy has nowhere to forward them — resulting in 404 / connection reset and the MCP Inspector showing "Connection Error."Adding
mcp-gatewayas a second parentRef preserves the shared gateway intent while restoring the dedicated gateway routing that the MCP Inspector relies on.See full RCA in #718 comment.
Fixes #718
Test plan
mcp-gateway-istio.gateway-system.svc.cluster.local:8080/mcphttpgateway still works🤖 Generated with Claude Code