Run MCPWorks standalone and headless
This page describes 1.14.0. Select the newer documentation version and read Upgrade DVARA before updating clusters, environments or product runtimes.
MCPWorks does not require a GUI. A headless installation exposes the same management API used by the optional
Console, and mcpctl uses that API to manage server drafts, releases, environments, and deployments.
What to deploy
A complete standalone topology contains:
- the MCPWorks Control Plane and its PostgreSQL database;
- the MCPWorks operator, which reconciles runtime-cell resources;
- one or more runtime cells that execute published server versions;
- an OCI registry and signing configuration for published bundles; and
- an identity provider, TLS termination, and the secrets required by the Control Plane.
The Console is packaged separately. Omit its chart or deployment to run headlessly. Omitting it does not remove any management API or CLI capability.
Use the MCPWorks v1.14.0 source tag and its charts together. The 1.14.0 release publishes one image, the runtime
cell ghcr.io/dvarahq/mcp-cell:1.14.0, and records its digest in the private GitHub release. The image is not
signed. The release does not publish Control Plane or operator images, so a standalone installation builds those two
images from the v1.14.0 source tag and pushes them to its own registry. There is no chart repository and no
separately published mcpctl binary; the three charts are in the tag under charts/.
Before installing, provide Kubernetes 1.30 or later, PostgreSQL 17, an HTTPS OIDC provider, an HTTPS OCI registry, TLS for the Control Plane, a bundle-signing key pair, and the existing Secrets named by your values files. Configure the Control Plane database, OIDC issuers and initial platform administrator, encryption keyring, API-token pepper, licence mode, registry, and signing key. Keep secret values out of values files.
Install the operator first and the Control Plane second. Omit the Console chart:
helm install operator ./charts/dvara-mcp-operator \
--namespace dvara-mcp --create-namespace --wait \
--values operator.yaml
helm install control ./charts/dvara-mcp-control-plane \
--namespace dvara-mcp --wait --timeout 10m \
--values control-plane.yaml
Both values files must pin images by digest. operator.yaml must also choose image verification and provide the
trusted image and bundle keys. The 1.14.0 cell image is not signed, so an operator set to imageVerification: cosign-key refuses it. Sign the cell image with your own key and trust that key. On a test cluster only, you can set
imageVerification: none with the explicit unsafe override. control-plane.yaml must name the TLS, database, token-pepper, encryption, licence,
and publishing Secrets. The migration Job uses the schema-owner database role; the running Control Plane uses the
separate least-privilege application role. Do not give either the operator or a runtime cell those database
credentials.
Build mcpctl from the same tag:
./mvnw -B -ntp -pl mcpctl -am -DskipTests package
alias mcpctl='java -jar /path/to/dvara-mcp-ee/mcpctl/target/mcpctl.jar'
mcpctl --version
Verify the Control Plane
After installation, wait for the migration Job and both deployments, then check the Control Plane readiness endpoint
through its TLS address. Create an mcpctl context and store a bearer token obtained from your identity provider:
mcpctl config set-context local \
--server https://mcpworks.example.internal \
--org example \
--workspace platform
mcpctl config use-context local
printf '%s' "$MCPWORKS_ACCESS_TOKEN" | mcpctl login
mcpctl whoami
Obtain the access token with your identity provider's tooling. For automation, issue a scoped service token and read it from an environment variable or secret file. Do not place bearer tokens directly in command arguments or shell history.
Prove headless operation
After a platform administrator has created the organization and workspace and granted your identity the builder
role, complete a read/write/read cycle through the CLI. The built-in PostgreSQL template produces a complete draft;
an empty server does not:
mcpctl template get postgresql
mcpctl template use postgresql inventory --display-name "Inventory tools"
mcpctl draft pull inventory ./inventory
mcpctl validate ./inventory
mcpctl server get inventory
Offline validation needs no API connection or token. Publishing and running the draft additionally require its backend settings, the configured registry and signer, an environment, a runtime identity, and a Gateway route. Continue with Build, publish, and deploy once validation succeeds.
Confirm that:
- no Console deployment or service exists;
- the Control Plane API is healthy and authenticated;
mcpctlcan create and read a server in the intended workspace;- the operator reports its watched resources healthy; and
- at least one runtime cell can accept an assigned signed bundle.
The source repository also contains scripts/quickstart/test-local.sh, which builds from a clean checkout and tests
the full lifecycle through mcpctl. It is a source qualification path, not an artifact install: it builds local
images and also starts the optional Console. A successful run does not replace the five checks above for a headless
deployment.
Production boundaries
Do not expose runtime cells as a client bypass around the DVARA MCP Gateway when governed access is required. Limit the management API to administrators and automation identities, and limit the operator and runtime service accounts to their documented resources. Back up PostgreSQL and retain the registry objects needed by deployed versions.