Skip to main content
Version: 1.14.0

Host MCPWorks in Flightdeck

Upgrading to 1.15.0

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:

  1. dvara.encryption.master-password for protected product state.
  2. dvara.control.license.mode for Development or licensed Production operation.
  3. dvara.control.auth.tokens.pepper with a base64 value containing at least 32 decoded bytes.
  4. dvara.control.publish.* settings for the OCI registry and signing material.
  5. A Flightdeck PostgreSQL identity that owns the dedicated mcpworks schema but is not a superuser and cannot use BYPASSRLS.

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​

  1. Sign in to Flightdeck and select the intended workspace.
  2. Open MCPWorks from the product switcher and create a disposable server draft.
  3. Confirm that the runtime cell appears only in its assigned scope.
  4. Publish and promote a test version, then compare the published and observed digests.
  5. Route a read-only call through DVARA MCP Gateway and inspect the resulting evidence.

Next steps​