This directory provides a minimal installation of MCP Gateway with just the core components.
- Kubernetes cluster (1.28+)
- gateway API CRDs installed (required!)
kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.0/standard-install.yaml
- gateway controller (istio, envoy gateway, etc.)
- kubectl configured
Note: the controller will crash-loop until gateway API CRDs are present
- MCP Gateway CRDs (
MCPServer) - MCP broker/router deployment
- MCP controller deployment
- RBAC (service accounts, roles, bindings)
- services (mcp-broker-router, mcp-config)
- basic HTTPRoute for the broker
- gateway resource (your own gateway instance)
- authentication/authorization (optional - kuadrant, keycloak, etc.)
- TLS certificates (optional)
- MCP server deployments
kubectl apply -k 'https://github.com/Kuadrant/mcp-gateway/config/install?ref=main'or a specific version tag:
kubectl apply -k 'https://github.com/Kuadrant/mcp-gateway/config/install?ref=v0.1.0'Note: quotes are required in zsh to prevent globbing on the ? character
git clone https://github.com/Kuadrant/mcp-gateway
cd mcp-gateway
kubectl apply -k config/install# check namespace created
kubectl get namespace mcp-system
# check deployments
kubectl get deployments -n mcp-system
# check CRDs
kubectl get crd mcpserverregistrations.mcp.kuadrant.io- create a gateway resource that the HTTPRoute can attach to
- deploy your MCP servers
- create MCPServerRegistration resources to register them
- (optional) configure authentication via AuthPolicy
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: mcp-gateway
namespace: mcp-system
spec:
gatewayClassName: istio # or your gateway class
listeners:
- name: http
protocol: HTTP
port: 8080
allowedRoutes:
namespaces:
from: AllapiVersion: mcp.kuadrant.io/v1alpha1
kind: MCPServerRegistration
metadata:
name: my-mcp-server
namespace: mcp-test
spec:
prefix: myserver_
targetRef:
group: gateway.networking.k8s.io
kind: HTTPRoute
name: my-mcp-routekubectl delete -k 'https://github.com/Kuadrant/mcp-gateway/config/install?ref=main'