mcpx-hive
by Lunar
Helm chartv0.5.1App v0.5.1
A comprehensive Helm chart for the MCPx Hive system including hive-controller and ingress
About this chart
mcpx-hive
Helm chart for deploying the MCPx Hive services (controller, UI, router) into a Kubernetes cluster.
- UI: The MCPx management interface
- Router: The MCPx agent access
- Controller: The MCPx-Hive management that allows to allocate MCPx deployments
Prerequisites
- Helm 3 installed locally and available in your
PATH. kubectlconfigured for the target provider/cluster (kubectl config current-contextshould point to the desired cluster).- Permissions to create namespaces, secrets, ingresses, and any cloud-specific load balancer resources in the target cluster.
- Network access from the cluster to backing services such as Redis and the MCPx Hub.
Preparation
All chart configuration lives in values.yaml (view the latest copy in the repository). Before installing:
- Copy
charts/lunar-hive/values.yamlto an environment-specific file (for example,values-override.yaml). - Populate all required settings (domains, hub URL, controller token, OIDC configuration, Redis connection, etc.) with environment-specific values.
- Store any sensitive values (controller token, OIDC secrets, etc.) securely and reference Kubernetes secrets when appropriate.
Required configuration fields
- Domains:
controller_domain,ui_domain, androuter_domainmust be set to routable hostnames (for example,mcpx-controller-<env>.<domain>), aligning with the ingress entries you plan to expose. - Hub service:
global.hubUrlmust point to the Hub WebSocket URL exposed by the MCPx Hub service installed via thelunar-mcpx-webappchart. Use the service endpoint returned during that installation in the formws://<hubServiceEndpoint>. - Controller shared secret:
global.controllerTokenshould be a long, random secret; it is required to authenticate to the controller admin portal (https://mcpx-controller-<env>.<domain>/admin) when allocating MCPx instances. - Image pull secrets: Configure
global.imagePullSecretswith Kubernetes secrets that hold Lunar's private registry credentials so the pods can pull their images. - OIDC: Populate
global.oidc.*fields with the issuer URL, client credentials, and session secret provided by your identity provider. - Redis: If you are using an external Redis cluster set
global.redis.deploy: false,global.redis.isCluster: true, and provideglobal.redis.urlin the formredis://<redisEndpoint>:<redisPort>. Alternatively, enable the bundled Redis by settingdeploy: trueand adjust the other fields as needed. - Ingress: Confirm
ingress.enabledand updateingress.annotationsand provider-specific settings (AWS/GCP/Azure blocks) so certificates, load balancers, and IP addresses are managed correctly.
Installation
Run Helm:
helm upgrade --install mcpx-hive charts/lunar-hive \
--namespace mcpx-hive \
--create-namespace \
-f values-override.yaml
Configuration reference
| Key | Type | Default | Description |
|---|---|---|---|
domain | string | "" | Optional base domain propagated to the router service. |
controller_domain | string | (required) | Public domain for the hive controller. |
ui_domain | string | (required) | Public domain for the MCPx UI. |
router_domain | string | (required) | Public domain for the router/gateway. |
global.hubUrl | string | (required) | WebSocket URL for the hub service. |
global.controllerToken | string | (required) | Shared secret required for controller admin portal access. |
global.logLevel | string | "warn" | Default log level applied to controller and router pods. |
global.imagePullSecrets | list | [] | Image pull secrets that grant access to Lunar's private registries. |
global.oidc.issuerUrl | string | (required) | OIDC issuer URL. |
global.oidc.clientId | string | (required) | OIDC client ID. |
global.oidc.clientSecret | string | (required) | OIDC client secret. |
global.oidc.sessionSecret | string | (required) | Secret used to sign OIDC sessions. |
global.redis.deploy | bool | false | Deploy the bundled Redis instance. |
global.redis.isCluster | bool | true | Indicates whether the Redis target is a cluster. |
global.redis.prefix | string | "mcpx-hive" | Prefix for keys created in Redis. |
global.redis.url | string | "" | External Redis URL when deploy is false (e.g., redis://redis-endpoint:redis-port). |
ingress.enabled | bool | true | Enable ingress resources. |
ingress.annotations | object | {} | Extra annotations added to ingress resources. |
ingress.domains.controller[].host | string | (derived from controller_domain) | Hostname routed to the controller service. |
ingress.domains.router[].host | string | (derived from router_domain) | Hostname routed to the router service. |
ingress.domains.ui[].host | string | (derived from ui_domain) | Hostname routed to the UI service. |
Deploy mcpx-hive with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mcpx-hive on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmcpx-hive is pinned at v0.5.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply