Skip to main content
Version: 1.16.0-dev

Operate MCPWorks runtime cells

A runtime cell serves the signed server versions assigned to it. Operational decisions should use both desired state from the Control Plane and observed state from the cell; a successful promotion is not ready for traffic until the target cell reports the expected digest healthy.

Monitor​

For Flightdeck-hosted MCPWorks, open Runtime → Clusters and select the cell's MCPWorks cluster. Check its last report and revoke an untrusted cell there. See cell enrolment.

Track at least:

  • cell health and readiness;
  • desired, downloaded, verified, and active bundle digests;
  • signature, registry, assignment, and binding failures;
  • active sessions, call concurrency, latency, and error rate;
  • connector and upstream-tool health;
  • Gateway reachability and catalog synchronization; and
  • approval holds, expiries, audit delivery, and usage delivery.

Alert on digest mismatch and repeated verification failure. Do not make a cell ready when its required bundle or policy inputs are unavailable.

Scale and drain​

In 1.15.0, operate cells manually; the Kubernetes operator has been removed. Scale through your deployment system. Account for long-lived MCP sessions when reducing replicas or replacing cells. Mark a target draining, stop new sessions, wait for existing sessions to finish or reach their documented deadline, and only then remove it.

Preserve Mcp-Session-Id through the Gateway and intervening proxies. If a connector cannot move session state, route that session consistently until it ends.

Upgrade​

For 1.14.0 → 1.15.0, stop and restart the control plane rather than mixing old and new replicas during the database upgrade. The release records a known failure on old replicas after the new database changes. The release's alternative is to configure prepareThreshold=0 on the old replicas' PostgreSQL connection before introducing 1.15.0.

Upgrade the Control Plane before runtime cells. Keep the Control Plane and cells inside the documented compatibility window. Roll cells gradually, verify bundle acceptance and a read-only tool call, then continue to the next group.

For 1.14.0, Control Plane N supports cells N and N-1. Cells N with Control Plane N-1 are unsupported. mcpctl N and N-1 work with Control Plane N, but each Helm chart and the image configured by that chart must move together.

Do not combine a runtime binary upgrade, server-version promotion, and network-policy change in one rollout. Keeping them separate makes failure attribution and rollback predictable.

Recover and roll back​

If a server release fails, promote the last accepted published version and wait for its digest to become ready. If a cell fails, drain it when possible and replace it through your deployment system. Restore Control Plane state from a tested PostgreSQL backup and retain every registry object referenced by a deployed or rollback version.

Never repair a release by overwriting content at an existing digest. Use mcpctl rollback SERVER --env ENV --to-previous --wait for a server release. A binary rollback requires a separate data and bundle compatibility check.

Recover during a Control Plane outage​

A control-plane-following runtime can cold-start from its protected last-known-good assignment cache when configured. The cache does not extend authority indefinitely: it is bound to the Control Plane endpoint, runtime identity, and image, expires after assignment-cache-max-age, and is removed after a confirmed withdrawal. Keep its key on a separate secret mount and alert before the default 24-hour confirmation window expires.

Operate a static cell​

For source=path or another mounted-bundle mode, the external deployment system owns rollout and rollback. Mount an exact signed bundle, verify the reported digest, and replace it atomically. These cells do not receive runtime policy, signed tool-call receipts, consented recording or shadow replay, usage delivery, or Control Plane fleet status. Approver-mode tools fail closed because no approval channel exists. Document which controls the external deployment system replaces; do not present a static cell as a managed MCPWorks deployment.

Next steps​