Implement shared public MCP federation gateway

- full-vmcp serves as public entry point at mcp.ngorse.com
- Single Keycloak client (public-mcp) for all external tools
- authServerConfig proxies auth to Keycloak
- state-docs-vmcp becomes internal-only (no auth required)
- Shared OIDC config for token validation
- All external clients authenticate once at gateway
This commit is contained in:
2026-06-17 16:26:48 +01:00
parent d1d8c6aa3f
commit 676bad4dd2
5 changed files with 15 additions and 21 deletions
@@ -21,16 +21,15 @@ spec:
incomingAuth:
type: oidc
oidcConfigRef:
name: full-vmcp-oidc
audience: http://full-vmcp.toolhive-system.svc.cluster.local:4483
name: public-mcp-oidc
authServerConfig:
issuer: https://full-vmcp.ngorse.com
issuer: https://mcp.ngorse.com
upstreamProviders:
- name: keycloak
type: oidc
oidcConfig:
issuerUrl: https://cloak.olb42.com/realms/home-lab
clientId: toolhive-full-vmcp
clientId: public-mcp
config:
aggregation:
conflictResolution: prefix