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 point | Use it for | Review before publication |
|---|---|---|
| Template | A supported common system or repeatable internal pattern | Endpoints, credentials, write tools, and approval defaults |
| OpenAPI import | HTTP operations with a maintained contract | Operation selection, parameter encoding, response projection, and write classification |
| Postman import | An existing request collection | Authentication placeholders, variable scope, and schema completeness |
| JDBC tool | A bounded query or stored operation | Parameter binding, timeout, row limits, and read/write classification |
| Designer or YAML | A new server assembled from the allowed connector palette | Every 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.
| Template | Default tools | Opt-in write tools | Required binding or parameter |
|---|---|---|---|
| PostgreSQL | list_tables, describe_table, query | None; the generated executor is read-only | dataSource, maxRows, queryTimeout |
| Kafka | peek_messages without a consumer group or commits | produce_message | kafka.brokers, kafka.topic |
| Amazon S3 | list_objects, get_object | put_object, delete_object | s3.bucket, s3.region, s3.endpoint |
| OpenAPI | One read tool for each selected GET operation | Selected write operations | OpenAPI/Swagger document and api.address |
| Jira Cloud | search_issues, get_issue | create_issue, add_comment | Authentication mode and jira.address |
| Slack | list_channels, read_history | post_message | slack.address and a referenced bot token |
| Salesforce | get_lead, search_leads | update_lead, add_note, delete_lead | API 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.