Skip to main content
Version: 1.16.0-dev

Run MCPWorks standalone and headless

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;
  • 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.15.0 source tag and its charts together. The 1.15.0 release publishes one image, the runtime cell ghcr.io/dvarahq/mcp-cell:1.15.0, and records its digest in the private GitHub release. The image is not signed. Flightdeck embeds the control plane and Console; standalone images for those components are not published. A standalone installation builds its control plane from the authorized source release and pins the resulting image by digest.

In 1.15.0 the Kubernetes operator and its resource flow are removed. Use manual runtime cells and the release's standalone control-plane deployment instructions. Do not install an old operator chart alongside the new control plane. The Flightdeck-hosted path provides the managed cluster registration and cell enrolment workflow.

Before installing, configure PostgreSQL, HTTPS identity and registry endpoints, TLS, bundle-signing material, token protection and the required secrets. Give database credentials only to the control plane, not to runtime cells.

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 database preparation and the control-plane deployment, 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:

  1. no Console deployment or service exists;
  2. the Control Plane API is healthy and authenticated;
  3. mcpctl can create and read a server in the intended workspace;
  4. the deployed cells report healthy; and
  5. 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 runtime service accounts to their documented resources. Back up PostgreSQL and retain the registry objects needed by deployed versions.

Next steps​