Skip to content

📝 Let MCP Gateway share the Kagenti Gateway - #593

Merged
pdettori merged 1 commit into
rossoctl:mainfrom
esnible:route-to-mcp-approach-1
Feb 9, 2026
Merged

pdettori merged 1 commit into
rossoctl:mainfrom
esnible:route-to-mcp-approach-1

Conversation

@esnible

@esnible esnible commented Feb 2, 2026 •

Copy link
Copy Markdown
Member

Resolves #377

Currently we can't curl the MCP from outside the cluster because only the Kagenti gateway is exposed outside the cluster.

  • One approach to solve is to let MCP Gateway pods use Kagenti's Gateway
  • The other approach is the create extraPortMappings for the Gateway in mcp-system and let MCP Gateway continue using that Gateway.

This PR uses the first approach. To test, deploy using deployments/ansible/run-install.sh and verify curl -v mcp.127-0-0-1.sslip.io:8080/.well-known/oauth-protected-resource returns JSON. It isn't clear if the MCP

An alternative is to add port mappings for the other Gateway.

@pdettori @huang195 Let me know which approach is preferred

@esnible

esnible commented Feb 3, 2026

Copy link
Copy Markdown
Member Author

@pdettori , why were the CI security scans cancelled for this PR after 15-18 minutes?

@evaline-ju

Copy link
Copy Markdown
Contributor

@esnible I think this may have run into some unfortunate Github runners issues https://www.githubstatus.com/incidents/xwn6hjps36ty

@evaline-ju

Copy link
Copy Markdown
Contributor

re-runs look 👍

@esnible

esnible commented Feb 5, 2026

Copy link
Copy Markdown
Member Author

@pdettori @huang195 Let me know which approach is preferred

@huang195

huang195 commented Feb 5, 2026

Copy link
Copy Markdown
Member

@esnible I have slight preference on the 2nd approach, just to keep kagenti and mcp-gateway projects less coupled, but both approaches seem reasonable.

@pdettori

pdettori commented Feb 6, 2026

Copy link
Copy Markdown
Member

I am ok w/ the second approach - after all this is mainly for kind or generic k8s, on a OCP we would be using routes

@esnible
esnible force-pushed the route-to-mcp-approach-1 branch from b9b9833 to 68d2252 Compare February 9, 2026 18:07
@esnible
esnible marked this pull request as ready for review February 9, 2026 18:08

@pdettori pdettori left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@pdettori
pdettori merged commit 6d3b257 into rossoctl:main Feb 9, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

feature: Expose MCP Gateway outside the cluster

4 participants