Host MCPWorks in Flightdeck
MCPWorks is in Tech preview.
Flightdeck can host the MCPWorks Control Plane in-process. Flightdeck then supplies the signed-in identity, workspace context, management API, and product pages, while MCPWorks runtime cells remain separate execution workloads.
Enable the product
MCPWorks is off by default. Enable the hosted control plane:
dvara.flightdeck.products.mcp.enabled=true
dvara.flightdeck.products.mcp.control-plane=in-process
Do not configure a separate MCPWorks API URL in this mode. Flightdeck owns the in-process connection.
Flightdeck must use a fixed positive
server.port; port 0 is refused because the in-process product URL is resolved before an ephemeral port is known.
Configure prerequisites
Before the first start, configure:
dvara.encryption.master-passwordfor protected product state.dvara.control.license.modefor Development or licensed Production operation.dvara.control.auth.tokens.pepperwith a base64 value containing at least 32 decoded bytes.dvara.control.publish.*settings for the OCI registry and signing material.- A Flightdeck PostgreSQL identity that owns the dedicated
mcpworksschema but is not a superuser and cannot useBYPASSRLS.
Keep the mcpworks schema absent or empty on first enablement. Flightdeck applies the embedded MCPWorks migrations
there and records them in a dedicated MCPWorks migration history; its own schema and migration history remain separate.
Flightdeck refuses an unsafe database role and refuses to adopt a non-empty schema without that MCPWorks history.
Use the supported migration path for an existing standalone installation instead of pointing this mode at its
database.
Connect runtime cells
Runtime cells authenticate to the hosted Control Plane, follow the bindings for their assigned workspace and environment, retrieve bundles by digest, and verify signatures before serving them. They do not receive Flightdeck or Control Plane database credentials.
Create an MCPWorks cluster in Runtime → Clusters, give its environment to the intended workspace, and copy its registration token. Set these on the cell:
export DVARA_MCP_BUNDLE_CONTROL_PLANE_ENROLMENT_URL=https://flightdeck.example.com:8443
export DVARA_MCP_BUNDLE_CONTROL_PLANE_ENROLMENT_TOKEN='<cluster-registration-token>'
The cell exchanges the token for its own certificate and receives trusted signing keys during enrolment. The cluster token is reusable until regenerated; it is not a one-time cell code. Protect the cell's persisted identity across restarts. Cells still verify their assigned bundles before serving them.
The cluster page lists connected cells and their reports. An owner can revoke a cell there; rotating the cluster token alone does not revoke already-issued certificates. Managed MCPWorks uses Flightdeck environment roles and workspace grants, not a separate set of managed environments.
For startup during a temporary Flightdeck outage, a runtime can keep a protected last-known-good assignment cache.
Configure dvara.mcp.bundle.control-plane.assignment-cache, a stable non-secret
assignment-cache-identity, and an assignment-cache-key-file containing at least 32 bytes on a separate secret
mount. The default assignment-cache-max-age is 24 hours since Flightdeck last confirmed the assignment. The
runtime fully verifies cached content again and refuses expired, mismatched, or unprotected cache state.
Verify the installation
- Sign in to Flightdeck and select the intended workspace.
- Open MCPWorks from the product switcher and create a disposable server draft.
- Confirm that the runtime cell appears only in its assigned scope.
- Publish and promote a test version, then compare the published and observed digests.
- Route a read-only call through DVARA MCP Gateway and inspect the resulting evidence.