On-Prem Installation
Deploy Permit MCP Gateway within your own Kubernetes cluster, fully integrated with your existing Permit Platform.
Enterprise Only
On-premises deployment is available on Enterprise plans. See Enterprise Deployment for an overview of deployment models.
Prerequisites
Before you begin, ensure you have:
| Requirement | Details |
|---|---|
| Permit Platform deployed | Must be running before installing the MCP Gateway. Provides Keycloak (authentication) and the Permit backend (authorization). |
| Kubernetes cluster (1.25+) | With an nginx-ingress controller installed. |
| Helm 3.x and kubectl | Configured for your cluster. |
| Docker | Installed on your local machine (for loading and pushing images to your registry). |
| Private container registry | To host the MCP Gateway images (e.g., Google Artifact Registry, AWS ECR, Harbor). |
| TLS certificate | For your MCP Gateway domain. Required for the authentication flow (HTTPS). |
| DNS | Ability to create DNS records for your MCP Gateway domain (wildcard + platform UI). |
Information you'll need
All configuration derives from just three inputs:
| Item | Example | Used for |
|---|---|---|
| Permit Platform URL | https://permit.yourcompany.com | API URL + OIDC discovery URL |
| MCP Gateway domain | mcp.yourcompany.com | Base domain + platform ingress host |
| Keycloak admin password | (retrieved from secret) | Automatic OIDC client creation |
Retrieve the Keycloak admin password from your Permit Platform cluster:
kubectl get secret global-infrastructure-secret \
-n <permit-platform-namespace> \
-o jsonpath='{.data.KEYCLOAK_ADMIN_PASSWORD}' | base64 -d
Egress Requirements
The MCP Gateway is designed to run fully on-premises. The following table lists every outbound connection the system may make:
| Destination | Required? | Purpose |
|---|---|---|
| Your Permit Platform URL | Required | Permit API for authorization, Keycloak for OIDC |
| Your PDP URL (per-host, configured in Platform UI) | Required | Policy decision point for tool-level authorization |
| Your container registry | Install-time only | Image pulls during deployment |
| Your IdP / OIDC discovery URL | Required | Platform login (server-side token exchange) |
| Upstream MCP servers (customer-configured) | Required | Gateway proxies tool calls to upstream MCP servers |
Not required: No connection to api.permit.io, app.permit.io, or any other external cloud service is required for normal operation. The on-prem configuration explicitly disables external analytics and telemetry integrations.