Skip to main content
Version: 1.15.0

Build, publish, and deploy MCP servers

MCPWorks separates editable drafts from published versions and environment deployments. A publish creates a signed, content-addressed version; it never mutates an existing published digest.

Lifecycle objects​

ObjectPurpose
ServerStable identity and ownership boundary for a managed MCP server.
DraftEditable tools, schemas, connectors, credential references, and runtime requirements.
Published versionValidated, signed, content-addressed bundle stored in the registry.
EnvironmentPromotion boundary such as development, staging, or production.
Deployment bindingDesired server version assigned to a runtime target.
Runtime statusObserved version, readiness, sessions, and rollout state reported by runtime cells.

Create and validate a draft​

Create the server, pull its draft, edit the local representation, validate it, and push the revision:

mcpctl server create SERVER --display-name "SERVER NAME"
mcpctl draft pull SERVER ./SERVER
mcpctl validate ./SERVER
mcpctl draft push ./SERVER

Use mcpctl <group> <action> --help for file and revision flags. Validation should reject unresolved credential references, invalid schemas, unsupported runtime requirements, and policy or supply-chain findings that block a release.

Publish a version​

Publish only after validation succeeds:

mcpctl publish SERVER

Record the returned version and bundle digest. Publishing signs the bundle and places it in the configured registry; it does not deploy it. Never replace registry content at an existing digest or reuse a version identifier for different content.

Promote and deploy​

Promote the exact version to an environment and wait for reconciliation:

mcpctl promote SERVER --env ENVIRONMENT --version VERSION --wait
mcpctl status SERVER

Where the environment requires approval, the promotion remains pending until an authorized reviewer decides it. After a runtime cell reports the expected digest ready, configure or update the DVARA MCP Gateway route and make a read-only test call with a scoped identity.

Verify the server version, runtime digest, Gateway decision, tool result, and audit evidence before increasing traffic.

Roll back​

Use the rollback command to return to the version the environment served previously, or name another published version explicitly:

mcpctl rollback SERVER --env ENVIRONMENT --to-previous --wait
# or
mcpctl rollback SERVER --env ENVIRONMENT --version VERSION --wait

Do not rebuild the old version or rewrite its bundle. Drain sessions where the connector or protocol cannot safely move them between versions.

A server-version rollback is different from a binary rollback of the Control Plane or runtime. Before reverting a binary, confirm that it accepts the current data and bundle formats.

Next steps​