feat: add MCP server templates for Gitea, HomeAssistant, and Outline with federated gateway support

This commit is contained in:
2026-05-07 21:20:07 +02:00
parent b7d69f034c
commit 847cd13618
6 changed files with 296 additions and 0 deletions
@@ -0,0 +1,55 @@
apiVersion: agentgateway.dev/v1alpha1
kind: AgentgatewayBackend
metadata:
name: federated-gateway
namespace: agentgateway-system
spec:
mcp:
targets:
- name: gitea
selector:
services:
matchLabels:
app: gitea-mcp-server
- name: outline-mcp-server
static:
host: outline.hnrx.net
port: 443
path: /mcp/
policies:
tls:
sni: outline.hnrx.net
auth:
secretRef:
name: outline-mcp-bearer-token
- name: homeassistant-mcp-server
static:
host: ha.hnrx.net
port: 443
path: /api/mcp
policies:
tls:
sni: ha.hnrx.net
auth:
secretRef:
name: homeassistant-mcp-secret
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: mcp-federated
namespace: agentgateway-system
spec:
parentRefs:
- name: agentgateway-proxy
namespace: agentgateway-system
rules:
- backendRefs:
- name: federated-gateway
namespace: agentgateway-system
group: agentgateway.dev
kind: AgentgatewayBackend
matches:
- path:
type: PathPrefix
value: /mcp