Operate MCPWorks runtime cells
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.
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
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
Scale stateless capacity through the operator and the supported runtime-cell resources. 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
Upgrade the Control Plane before runtime cells. Keep the Control Plane, operator, charts, 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 let the operator replace it. 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.