Skip to main content
Version: 1.16.0-dev

Build and govern MCP servers with MCPWorks

MCPWorks turns a server draft into a reviewed, signed, read-only version and then promotes that version through named environments. The Console and mcpctl use the same management API, so a visual workflow and a GitOps workflow produce the same lifecycle decisions and evidence.

How can you create a server draft?​

Start from the path that preserves the most reliable source information:

Starting pointUse it forReview before publication
TemplateA supported common system or repeatable internal patternEndpoints, credentials, write tools, and approval defaults
OpenAPI importHTTP operations with a maintained contractOperation selection, parameter encoding, response projection, and write classification
Postman importAn existing request collectionAuthentication placeholders, variable scope, and schema completeness
JDBC toolA bounded query or stored operationParameter binding, timeout, row limits, and read/write classification
Designer or YAMLA new server assembled from the allowed connector paletteEvery route, mapping, schema, and policy field

The visual designer, composition canvas, mapping preview, and YAML editor operate on the same draft. Connector and route allowlists prevent a draft from enabling arbitrary components simply because the underlying integration runtime has them available.

Which built-in templates are released?​

Built-in templates create an ordinary editable draft from reviewed parameters. Read tools are selected by default; tools that change external state are opt-in and require approval.

TemplateDefault toolsOpt-in write toolsRequired binding or parameter
PostgreSQLlist_tables, describe_table, queryNone; the generated executor is read-onlydataSource, maxRows, queryTimeout
Kafkapeek_messages without a consumer group or commitsproduce_messagekafka.brokers, kafka.topic
Amazon S3list_objects, get_objectput_object, delete_objects3.bucket, s3.region, s3.endpoint
OpenAPIOne read tool for each selected GET operationSelected write operationsOpenAPI/Swagger document and api.address
Jira Cloudsearch_issues, get_issuecreate_issue, add_commentAuthentication mode and jira.address
Slacklist_channels, read_historypost_messageslack.address and a referenced bot token
Salesforceget_lead, search_leadsupdate_lead, add_note, delete_leadAPI version and cell-level Salesforce OAuth settings

List and inspect the templates before creating a draft:

mcpctl template list
mcpctl template get postgresql
mcpctl template use postgresql orders-db --set maxRows=50

For OpenAPI, use --set-file document=PATH; use --tool NAME to select an opt-in tool deliberately. Template credentials remain environment or cell references and are never copied into the generated route.

How do you test a draft?​

The playground starts an isolated session against the draft. Inspect its catalog, call each tool with representative input, and save test cases for successful, refused, and malformed requests. A playground result is not production evidence until the version is reviewed and published.

AI Tool Copilot can propose a draft through the configured model gateway. Treat its proposal as untrusted authored content: validate it, inspect every endpoint and schema, and run the same tests required for a human-written draft.

The Agent-Readiness Gate evaluates tool selection and description quality. A blocking tool-poisoning or critical description-overlap finding refuses a readiness-gated promotion unless the environment explicitly permits that class of finding.

What happens at publication?​

Publication validates policy, schemas, routes, dependencies, and description pins; assigns a canonical digest; and creates a read-only published version. The publishing path signs the bundle. A version-specific hardened image may then be attached only after its signature, SBOM, and provenance match that exact bundle.

Changing a published tool means creating another version. Do not replace a bundle or image at an existing digest.

How do policies and approvals work?​

Environment policy can examine caller identity, tool identity, input fields, and other recorded facts. Test policy changes before activation, then use a separate authorized approver where the environment requires separation of duties. The simulator can replay a proposed rule over consented recorded calls without changing live decisions.

A tool can also require a per-call human approval. The call waits within its configured deadline and resumes only after an authorized decision. Behind DVARA Gateway, use the approver workflow because that gateway does not relay MCP elicitation in 1.14.

How do shadow replay and canary promotion reduce risk?​

With recording consent, shadow replay sends captured calls to a candidate in a sandbox and compares the candidate's result with the accepted version. Review retention, redaction, and credential scope before recording production traffic.

Canary promotion sends new sessions to a candidate in configured steps, preserves session affinity, evaluates call volume, errors, and latency, and can roll back automatically. Operators can pause, resume, advance, or abort the canary. Generic/nginx and Kong connectors support weighted routing; DVARA Gateway does not provide MCPWorks weighted routing in 1.14, so a canary that requires it is refused before traffic moves.

What are composite tools and receipts?​

MCPWorks can mine consented traces for repeated tool-call sequences, calculate support and confidence, and propose a composite tool. A person still reviews and applies the proposal. Session-aware and per-agent mining depth remains a documented follow-up; do not present a mined pattern as universally safe.

Each answered tool call can produce a signed receipt. Export and verify receipts against the expected workspace and compare their count with answered calls. Receipts complement the tamper-evident audit chain; they do not prevent an authorized retention or erasure operation.

Next steps​