For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Expose the registry over HTTPS
Serve the registry UI, API, and MCP bridge over your own HTTPS hostname for production and for IdPs that require an HTTPS redirect URI.
The Solo Enterprise for agentregistry server serves the UI and API on port 12121 and the registry MCP server bridge on port 31313. The install guides reach these ports by port-forwarding the registry server on localhost. For production setups, expose the registry by using a public hostname that is secured via HTTPS, such as agentregistry.example.com.
Before you begin
Install Solo Enterprise for agentgateway as your Gateway API implementation, and create a Gateway resource with an HTTPS listener. For more information about setting up an HTTPS listener with a TLS cert, see the Solo Enterprise for agentgateway documentation.
Decide on the public HTTPS hostname that serves the registry UI, API, and registry MCP server bridge, such as
agentregistry.example.com. The hostname must match your Gateway’s HTTPS listener and the TLS certificate must include this hostname. Save the hostname in an environment variable.export AR_HOSTNAME=agentregistry.example.comCreate a DNS
Arecord (orCNAME, if your gateway is addressed by hostname) that points${AR_HOSTNAME}at your gateway’s external address. Find the address that your Gateway API implementation assigned.kubectl get gateway <gateway-name> -n <gateway-namespace> -o jsonpath='{.status.addresses[0].value}'DNS propagation can take a few minutes. Confirm the hostname resolves before you continue.
dig +short ${AR_HOSTNAME}Update your OIDC provider with the new hostname.
Add the production callback URL as an additional SPA redirect URI, alongside the
http://localhost:12121/callbackentry that you registered in the Entra guide. The Graph API replaces the wholeredirectUrislist on eachPATCH, so include both entries.az rest --method PATCH \ --uri "https://graph.microsoft.com/v1.0/applications/${AR_APP_OBJECT_ID}" \ --headers 'Content-Type=application/json' \ --body "{ \"spa\": { \"redirectUris\": [\"http://localhost:12121/callback\", \"https://${AR_HOSTNAME}/callback\"] } }"Update the
ar-uiclient to set theredirectUrisandwebOriginsto use the public hostname.export KEYCLOAK_TOKEN=$(curl -s \ -d "client_id=admin-cli" -d "username=admin" -d "password=admin" \ -d "grant_type=password" \ "${KEYCLOAK_URL}/realms/master/protocol/openid-connect/token" \ | jq -r .access_token) export AR_UI_CLIENT_ID=$(curl -s -H "Authorization: Bearer ${KEYCLOAK_TOKEN}" \ "${KEYCLOAK_URL}/admin/realms/${KEYCLOAK_REALM}/clients?clientId=ar-ui" \ | jq -r '.[0].id') curl -s -H "Authorization: Bearer ${KEYCLOAK_TOKEN}" \ "${KEYCLOAK_URL}/admin/realms/${KEYCLOAK_REALM}/clients/${AR_UI_CLIENT_ID}" \ | jq --arg host "https://${AR_HOSTNAME}" '.redirectUris = [$host + "/callback"] | .webOrigins = [$host]' \ | curl -s -X PUT -H "Authorization: Bearer ${KEYCLOAK_TOKEN}" -H "Content-Type: application/json" \ -d @- "${KEYCLOAK_URL}/admin/realms/${KEYCLOAK_REALM}/clients/${AR_UI_CLIENT_ID}"
Step 1: Expose the registry
Create an HTTPRoute resource and include the routes that are required for the registry UI/API and MCP server bridge. The following example sets up these routes:
/mcp: The registry MCP server bridge endpoint. Routes to port31313./.well-known/oauth-protected-resource/mcp: The OAuth protected-resource metadata document that MCP clients fetch after they receive the Bearer challenge from the/mcppath. Routes to the MCP server bridge port31313./: The catch-all route for the UI, the API,/env-config.js, the static assets, and the OIDC/callbackpath. Routes to the registry server port12121.
kubectl apply -f- <<EOF
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: agentregistry
namespace: agentregistry-system
spec:
hostnames:
- ${AR_HOSTNAME}
parentRefs:
- name: my-gateway
sectionName: https
rules:
# MCP clients fetch this OAuth protected-resource metadata document after
# they receive the Bearer challenge from /mcp. It must reach the MCP port.
- matches:
- path:
type: PathPrefix
value: /.well-known/oauth-protected-resource/mcp
backendRefs:
- name: agentregistry-enterprise-server
port: 31313
- matches:
- path:
type: PathPrefix
value: /mcp
backendRefs:
- name: agentregistry-enterprise-server
port: 31313
# The catch-all rule serves the UI, the API, /env-config.js, the static
# assets, and the OIDC /callback path.
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: agentregistry-enterprise-server
port: 12121
EOFStep 2: Verify
Open
https://${AR_HOSTNAME}/in a browser and confirm that you are redirected to your IdP and back tohttps://${AR_HOSTNAME}/callbackon a successful login.Point
arctlat the public hostname instead of the local port-forward, and confirm that it can reach the registry.export ARCTL_API_BASE_URL=https://${AR_HOSTNAME} arctl get agentsIf you already logged in against
http://localhost:12121while following an install guide, your stored token still works, since it was issued for your OIDC client, not for a specific registry URL.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| The UI loads a blank page or 404s on its assets | The registry is served from a sub-path of a hostname that another application owns. The registry UI emits root-relative URLs for its static assets and for /env-config.js, so another application that already owns those root paths on the shared hostname breaks the UI. | Give the registry its own hostname rather than a sub-path of an existing application. |