MCP Trust Broker
Decide whether a third-party MCP server is safe to admit into the fleet's tool
palette — not just whether it installs.
Use This For
- Reviewing a newly discovered or proposed MCP server's install card against
the minimum MCP contract before it ever runs.
- Deciding whether a quarantined server's request to exit quarantine is backed
by proven provenance, a passed sandbox smoke test, and a least-privilege
scope — not just a publisher's say-so.
- Setting or auditing team admission policy (allow / approve / block) for a
given server.
- Confirming every write-capable tool a server exposes routes through daemon
policy rather than executing directly.
- Re-auditing a previously-admitted server after its manifest or binary
changes.
Do Not Use This For
- General ocap/mTLS/signed-envelope cryptography theory for agent-to-agent
communication (
agentic-zero-trust-security).
- Building an MCP server from scratch, or its tool/schema design — this skill
only vets a server someone else built.
- Adversarially proving a sandbox's isolation boundary holds against SSRF,
path traversal, or resource exhaustion (
sandboxed-adversarial-test-harness)
— this skill checks that a smoke test happened and passed, not how sound the
sandbox itself is.
Admission Decision
flowchart TD
A[Server discovered / proposed] --> B[Quarantine by default]
B --> C[Build install card: manifest, provenance, scope, health, lifecycle, usage trace]
C --> D{Minimum contract complete?}
D -->|No| E[Keep quarantined; request missing evidence]
D -->|Yes| F{Quarantine exit requested?}
F -->|No| G[Stay quarantined; track pending signals]
F -->|Yes| H[Check all 4 exit legs: signed+verified, smoke passed, least-privilege, policy not block]
H --> I{All 4 proven?}
I -->|No| J[Block exit; report which leg failed]
I -->|Yes| K[Admit; route writes through daemon policy; wire usage trace]
K --> L[Re-audit on any manifest/binary change]
- Default to quarantine. Every newly discovered or proposed MCP server
starts under review, with nothing granted yet.
- Build the install card. Populate all six minimum-contract fields:
manifest presence, provenance + signature verification, declared permission
scope, sandbox smoke test result, health check, disable/repair/uninstall,
usage trace. See
references/mcp-minimum-contract.md.
- Check the minimum contract unconditionally. A missing manifest blocks
review outright; missing health check, lifecycle controls, or usage trace
are contract gaps regardless of quarantine state.
- If quarantine exit is not yet requested, track pending signals
(undeclared scope, not-run smoke test) without blocking — that's what
quarantine is for. See
references/quarantine-and-provenance-verification.md.
- If quarantine exit is requested, require all four legs positively
proven: signed-and-verified provenance, a passed (not just attempted)
sandbox smoke test, a least-privilege (not broad or undeclared) scope, and
a team policy that is not
block.
- Confirm write-tool routing through daemon policy independent of the
quarantine decision — a server can be fully vetted and still wrong if its
write tools bypass daemon policy.
- Run
scripts/mcp_admission_audit.mjs against the admission spec and
gate the decision on pass: true. Re-audit whenever the manifest or
binary changes — a changed binary invalidates a previously-verified
signature.
Output Contract
server: install-card fields — manifest, provenance, signature
verification, permission scope, sandbox smoke test, health check, lifecycle
controls, usage trace.
quarantine.exitRequested: whether this audit is evaluating an exit
request or an in-quarantine status check.
teamPolicy: allow / approve / block / none.
writeToolsRouteThroughDaemonPolicy: whether write tools bypass the daemon.
Use scripts/mcp_admission_audit.mjs to audit an admission-request JSON and
return { pass, score, findings, recommendations }.
Anti-Patterns
Quarantine Exit On A Publisher's Say-So
Novice: "The publisher says it's signed and tested, so let's turn it on."
Expert: Exit requires all four legs positively proven on the record —
signed AND signature-verified, a passed smoke test, a least-privilege
scope, and team policy that isn't block. unsigned, unknown, not-run,
failed, broad, and undeclared are all "not proven," not "probably fine."
Detection: mcp_admission_audit.mjs fires quarantine-exit-without-provenance,
quarantine-exit-without-smoke-test, quarantine-exit-undeclared-scope, or
team-policy-blocks-exit (all critical) whenever quarantine.exitRequested
is true and the corresponding leg isn't positively proven.
Contract Gaps Hidden Behind A Working Install
Novice: "It installed fine and the tools work, so it's admitted."
Expert: A working install is not the same as a complete admission record.
Health check, lifecycle controls, and usage trace are required unconditionally
— a server nobody can disable, or whose failures vanish into stderr, is not
safely admitted no matter how well its happy path works.
Detection: mcp_admission_audit.mjs fires no-manifest (critical),
no-health-check / no-lifecycle-controls / no-team-admission-policy
(high), and no-usage-trace (medium) independent of quarantine state.
Write Tools That Skip The Daemon
Novice: "The server's write tools work directly against the filesystem/API
— it's faster and the server is already trusted."
Expert: Every write-capable tool an MCP server exposes must route through
daemon policy, full stop. Trust in the server's provenance is not a substitute
for the daemon's own enforcement of what a write is allowed to touch.
Detection: mcp_admission_audit.mjs fires write-tool-bypasses-daemon-policy
(critical) whenever writeToolsRouteThroughDaemonPolicy is not true,
regardless of every other field's value.
References
| File |
Load When |
references/mcp-minimum-contract.md |
Need the six required install-card fields and why teamPolicy: 'none' is not a safe default. |
references/quarantine-and-provenance-verification.md |
Need the four-legged quarantine-exit gate, or why "signed" without verification isn't provenance. |
examples/expected-output.md |
Need a rushed admission request audited, then the same server after remediation. |
templates/output-template.md |
Need a reusable MCP admission-audit template. |
schemas/mcp-admission-request.schema.json |
Need to validate an admission-request JSON payload before auditing it. |
scripts/mcp_admission_audit.mjs |
Need deterministic scoring of an MCP server's admission readiness. |
agents/openai.yaml |
Need a subagent descriptor for delegated MCP admission review. |
Skill Bundle Index
Every file in this skill, and when to open it. Auto-generated; run scripts/index_references.py --fix.
root
CHANGELOG.md — MCP Trust Broker — Changelog — - Initial skill creation - Core quarantine-exit gate process defined - Reference files and deterministic admission audit script added
README.md — MCP Trust Broker — Procedural guidance for vetting a third-party MCP server before it can run — install cards, provenance/signature verification, least-privile
agents/
agents/openai.yaml — openai (data/schema)
examples/
examples/expected-output.md — Example Output: MCP Trust Broker — Scenario: acme-widgets-mcp, a third-party MCP server discovered via the official registry, is being reviewed for admission into the fleet'
examples/sample-input.json — sample input (data/schema)
references/
references/mcp-minimum-contract.md — The MCP Minimum Contract — Use this when deciding whether an MCP server's install card is complete enough to review at all — before touching the quarantine-exit gate.
references/quarantine-and-provenance-verification.md — Quarantine And Provenance Verification — Use this when a specific MCP server is requesting to exit quarantine and run for real — the moment where "still under review" becomes "live
schemas/
schemas/mcp-admission-request.schema.json — mcp admission request.schema (data/schema)
scripts/
scripts/mcp_admission_audit.mjs
templates/
templates/output-template.md — MCP Admission Audit: [Server Name] — - Manifest present: [yes/no] - Provenance: [signed/unsigned/unknown] — signature verified: [yes/no] - Permission scope: [least-privilege/bro
1---2name: mcp-trust-broker3description: >-4 Vet a third-party MCP server before it can run: install-card completeness (manifest, provenance,5 permission label, health check, disable/repair/uninstall, usage trace), signature verification,6 least-privilege capability mapping, a sandbox smoke test, quarantine-until-reviewed, and team7 allow/approve/block policy. Use when a new MCP server is discovered or proposed for the fleet's8 tool palette, when a server requests to exit quarantine and run for real, or when auditing whether9 an MCP install card meets the minimum contract. NOT for general ocap/mTLS/capability-crypto theory10 (use agentic-zero-trust-security), building your own MCP server from scratch (a separate authoring11 concern this skill does not cover), proving a sandbox boundary itself withstands adversarial attack12 (use sandboxed-adversarial-test-harness), or the event-trigger-to-agent-spawn trust gate for inbound13 webhooks/email/SMS (use fleet-event-spawn-trust).14license: Apache-2.015allowed-tools: Read,Write,Edit,Bash,Grep,Glob16metadata:17 source: https://skillmd.com/skills/curiositech/mcp-trust-broker18 category: Security & Trust19 tags:20 - mcp21 - admission-control22 - provenance23 - least-privilege24 - quarantine25 provenance:26 kind: first-party27 owners:28 - port-daddy29 pairs-with:30 - skill: agentic-zero-trust-security31 reason: Supplies the signed-envelope, capability, and mTLS vocabulary this broker's provenance and least-privilege checks build on.32 - skill: sandboxed-adversarial-test-harness33 reason: Proves the sandbox boundary itself holds under attack; this skill only checks that a smoke test was run and passed before exit.34 - skill: fleet-event-spawn-trust35 reason: Shares the classify-then-gate shape for a different trust surface — inbound event triggers rather than installed MCP servers.36 io-contract:37 kind: deliverable38 consumes:39 - { kind: mcp-server-install-card, format: markdown }40 - { kind: mcp-admission-request, format: json }41 produces:42 - { kind: admit-or-quarantine-decision, format: markdown }43 - { kind: mcp-admission-audit, format: json }44---4546# MCP Trust Broker4748Decide whether a third-party MCP server is safe to admit into the fleet's tool49palette — not just whether it installs.5051## Use This For5253- Reviewing a newly discovered or proposed MCP server's install card against54 the minimum MCP contract before it ever runs.55- Deciding whether a quarantined server's request to exit quarantine is backed56 by proven provenance, a passed sandbox smoke test, and a least-privilege57 scope — not just a publisher's say-so.58- Setting or auditing team admission policy (allow / approve / block) for a59 given server.60- Confirming every write-capable tool a server exposes routes through daemon61 policy rather than executing directly.62- Re-auditing a previously-admitted server after its manifest or binary63 changes.6465## Do Not Use This For6667- General ocap/mTLS/signed-envelope cryptography theory for agent-to-agent68 communication (`agentic-zero-trust-security`).69- Building an MCP server from scratch, or its tool/schema design — this skill70 only vets a server someone else built.71- Adversarially proving a sandbox's isolation boundary holds against SSRF,72 path traversal, or resource exhaustion (`sandboxed-adversarial-test-harness`)73 — this skill checks that a smoke test happened and passed, not how sound the74 sandbox itself is.7576## Admission Decision7778```mermaid79flowchart TD80 A[Server discovered / proposed] --> B[Quarantine by default]81 B --> C[Build install card: manifest, provenance, scope, health, lifecycle, usage trace]82 C --> D{Minimum contract complete?}83 D -->|No| E[Keep quarantined; request missing evidence]84 D -->|Yes| F{Quarantine exit requested?}85 F -->|No| G[Stay quarantined; track pending signals]86 F -->|Yes| H[Check all 4 exit legs: signed+verified, smoke passed, least-privilege, policy not block]87 H --> I{All 4 proven?}88 I -->|No| J[Block exit; report which leg failed]89 I -->|Yes| K[Admit; route writes through daemon policy; wire usage trace]90 K --> L[Re-audit on any manifest/binary change]91```92931. **Default to quarantine.** Every newly discovered or proposed MCP server94 starts under review, with nothing granted yet.952. **Build the install card.** Populate all six minimum-contract fields:96 manifest presence, provenance + signature verification, declared permission97 scope, sandbox smoke test result, health check, disable/repair/uninstall,98 usage trace. See `references/mcp-minimum-contract.md`.993. **Check the minimum contract unconditionally.** A missing manifest blocks100 review outright; missing health check, lifecycle controls, or usage trace101 are contract gaps regardless of quarantine state.1024. **If quarantine exit is not yet requested**, track pending signals103 (undeclared scope, not-run smoke test) without blocking — that's what104 quarantine is for. See `references/quarantine-and-provenance-verification.md`.1055. **If quarantine exit is requested**, require all four legs positively106 proven: signed-and-verified provenance, a passed (not just attempted)107 sandbox smoke test, a least-privilege (not broad or undeclared) scope, and108 a team policy that is not `block`.1096. **Confirm write-tool routing** through daemon policy independent of the110 quarantine decision — a server can be fully vetted and still wrong if its111 write tools bypass daemon policy.1127. **Run `scripts/mcp_admission_audit.mjs`** against the admission spec and113 gate the decision on `pass: true`. Re-audit whenever the manifest or114 binary changes — a changed binary invalidates a previously-verified115 signature.116117## Output Contract118119- `server`: install-card fields — manifest, provenance, signature120 verification, permission scope, sandbox smoke test, health check, lifecycle121 controls, usage trace.122- `quarantine.exitRequested`: whether this audit is evaluating an exit123 request or an in-quarantine status check.124- `teamPolicy`: allow / approve / block / none.125- `writeToolsRouteThroughDaemonPolicy`: whether write tools bypass the daemon.126127Use `scripts/mcp_admission_audit.mjs` to audit an admission-request JSON and128return `{ pass, score, findings, recommendations }`.129130## Anti-Patterns131132### Quarantine Exit On A Publisher's Say-So133134**Novice**: "The publisher says it's signed and tested, so let's turn it on."135**Expert**: Exit requires all four legs *positively proven* on the record —136signed AND signature-verified, a *passed* smoke test, a *least-privilege*137scope, and team policy that isn't `block`. `unsigned`, `unknown`, `not-run`,138`failed`, `broad`, and `undeclared` are all "not proven," not "probably fine."139**Detection**: `mcp_admission_audit.mjs` fires `quarantine-exit-without-provenance`,140`quarantine-exit-without-smoke-test`, `quarantine-exit-undeclared-scope`, or141`team-policy-blocks-exit` (all critical) whenever `quarantine.exitRequested`142is true and the corresponding leg isn't positively proven.143144### Contract Gaps Hidden Behind A Working Install145146**Novice**: "It installed fine and the tools work, so it's admitted."147**Expert**: A working install is not the same as a complete admission record.148Health check, lifecycle controls, and usage trace are required unconditionally149— a server nobody can disable, or whose failures vanish into stderr, is not150safely admitted no matter how well its happy path works.151**Detection**: `mcp_admission_audit.mjs` fires `no-manifest` (critical),152`no-health-check` / `no-lifecycle-controls` / `no-team-admission-policy`153(high), and `no-usage-trace` (medium) independent of quarantine state.154155### Write Tools That Skip The Daemon156157**Novice**: "The server's write tools work directly against the filesystem/API158— it's faster and the server is already trusted."159**Expert**: Every write-capable tool an MCP server exposes must route through160daemon policy, full stop. Trust in the server's provenance is not a substitute161for the daemon's own enforcement of what a write is allowed to touch.162**Detection**: `mcp_admission_audit.mjs` fires `write-tool-bypasses-daemon-policy`163(critical) whenever `writeToolsRouteThroughDaemonPolicy` is not `true`,164regardless of every other field's value.165166## References167168| File | Load When |169| --- | --- |170| `references/mcp-minimum-contract.md` | Need the six required install-card fields and why `teamPolicy: 'none'` is not a safe default. |171| `references/quarantine-and-provenance-verification.md` | Need the four-legged quarantine-exit gate, or why "signed" without verification isn't provenance. |172| `examples/expected-output.md` | Need a rushed admission request audited, then the same server after remediation. |173| `templates/output-template.md` | Need a reusable MCP admission-audit template. |174| `schemas/mcp-admission-request.schema.json` | Need to validate an admission-request JSON payload before auditing it. |175| `scripts/mcp_admission_audit.mjs` | Need deterministic scoring of an MCP server's admission readiness. |176| `agents/openai.yaml` | Need a subagent descriptor for delegated MCP admission review. |177178<!-- BEGIN BUNDLE INDEX (auto: index_references.py) -->179180## Skill Bundle Index181182*Every file in this skill, and when to open it. Auto-generated; run `scripts/index_references.py --fix`.*183184**root**185- [`CHANGELOG.md`](CHANGELOG.md) — MCP Trust Broker — Changelog — - Initial skill creation - Core quarantine-exit gate process defined - Reference files and deterministic admission audit script added186- [`README.md`](README.md) — MCP Trust Broker — Procedural guidance for vetting a third-party MCP server before it can run — install cards, provenance/signature verification, least-privile187188**`agents/`**189- [`agents/openai.yaml`](agents/openai.yaml) — openai (data/schema)190191**`examples/`**192- [`examples/expected-output.md`](examples/expected-output.md) — Example Output: MCP Trust Broker — Scenario: `acme-widgets-mcp`, a third-party MCP server discovered via the official registry, is being reviewed for admission into the fleet'193- [`examples/sample-input.json`](examples/sample-input.json) — sample input (data/schema)194195**`references/`**196- [`references/mcp-minimum-contract.md`](references/mcp-minimum-contract.md) — The MCP Minimum Contract — Use this when deciding whether an MCP server's install card is complete enough to review at all — before touching the quarantine-exit gate.197- [`references/quarantine-and-provenance-verification.md`](references/quarantine-and-provenance-verification.md) — Quarantine And Provenance Verification — Use this when a specific MCP server is requesting to exit quarantine and run for real — the moment where "still under review" becomes "live 198199**`schemas/`**200- [`schemas/mcp-admission-request.schema.json`](schemas/mcp-admission-request.schema.json) — mcp admission request.schema (data/schema)201202**`scripts/`**203- [`scripts/mcp_admission_audit.mjs`](scripts/mcp_admission_audit.mjs)204205**`templates/`**206- [`templates/output-template.md`](templates/output-template.md) — MCP Admission Audit: [Server Name] — - Manifest present: [yes/no] - Provenance: [signed/unsigned/unknown] — signature verified: [yes/no] - Permission scope: [least-privilege/bro207208<!-- END BUNDLE INDEX -->