Host MCPWorks in Flightdeck
This page describes 1.14.0. Before upgrading, select the newer documentation version and follow Upgrade DVARA: 1.15.0 requires explicit Gateway clusters and workspace environment assignments.
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.
dvara.flightdeck.products.mcp.api-url is neither required nor used. 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.
Limit enrolment or runtime tokens to the intended cell and rotate them through the supported credential flow. A cell should fail closed when it cannot validate an assignment, signature, or required policy input.
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.