Spend authorization, token budgets, and an encrypted credential vault for AI agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
The independent authorization plane for AI agents.
Before an agent spends money, invokes a tool, touches a credential, or provisions a resource, it asks Sanction. Sanction approves, escalates to a human, or denies. Every decision is logged and auditable. Sanction belongs to no platform: one policy engine answers across model providers, payment rails, identities, and agent ecosystems.
One policy decision engine governs every kind of agent action:
| Governed action | What Sanction enforces |
|---|---|
Spend (/authorize) | Auto-approve floor, human-escalation band, per-transaction hard cap, daily and monthly budgets β checked and debited atomically. |
Tools (/authorize/tool) | Block/allow/escalate lists for any MCP tool or external action. Escalations reach the approval inbox like spend does. |
Credentials (/exec + /mandate/verify + /credentials/inject) | AES-256-GCM envelope-encrypted vault (KMS-wrapped, rotating keys). Injection requires a scoped 15-minute mandate JWT and clearance β₯ the credential's bar. Counterparties verify the mandate with no API key. Every access audit-logged. |
Provisioning (/authorize/provision) | Seats, licenses, infrastructure β resource, line item, quantity, and dollars authorized in one call. |
Capability (/authorize/capability) | Skills, plugins, new APIs β acquiring capability is governed like spending money. One ordered rule list (block / allow / escalate, prefix-glob patterns) gates new power before it lands in an agent. |
What a decision looks like in practice β one POST /authorize with an
amount, three possible outcomes, all of them terminal or resumable:
{ "status": "approved" }; budget counters debit in the
same transaction the decision persists (an advisory lock makes sibling
agents queue, not race).{ "status": "escalated", "request_id": "β¦" }; a human
sees it in the approval inbox, and approving mints a one-use grant the
agent redeems by retrying with grant_id. Policy decides what a timeout
means (approve or deny) β nothing hangs forever.{ "status": "denied", "decision_code": "PER_TXN_LIMIT", "remediation": "Amount exceeds the per-transaction limit. Split into smaller charges or ask the owner to raise the limit." }. Codes are
stable machine strings (DAILY_BUDGET_EXCEEDED,
CATEGORY_BLOCKED, WALLET_FROZEN, β¦) so agents branch and replan
instead of parsing prose. Replays of the same request return the same code.Around the engine:
resolveApproval path as the dashboard, actor recorded. Each route subscribes
to its own events. GuideGET /authorize/{id}/evidence re-runs the pure rules
over the stored context and proves the outcome reproduces.POST /policy/simulate replays stored
decisions under a candidate policy β which calls flip, what spend wouldn't
clear β before you change anything.GET /audit-events merges every decision, token log,
and secret access into one feed (CSV export included);
GET /reporting/summary spans any period with day buckets and per-seat
rollups; wallet stats project burn pace and exhaustion ETAs; a weekly
digest lands in Slack every Monday.GET /audit/export hands you a signed,
hash-chained snapshot of your governed decisions: altering, dropping, or
reordering any row breaks the chain, and the head is HMAC-signed by Sanction.
A regulator or the governed customer runs POST /audit/verify β self-contained,
no database β to prove nothing changed after signing, down to the first broken link.owner / admin / viewer), a switcher across every membership, and a
viewer who can read everything and change nothing.POST /outcomes) and a
wallet over its cost-per-outcome ceiling throttles to human-gated spend.
Wallets can be frozen outright, and budget reallocated across the tree.https://getsanction.com/api/gateway/<provider> with x-sanction-key β
usage is metered and budget-capped with zero per-call instrumentation.Every security claim above maps to enforcing code and a regression test in docs/TRACEABILITY.md β 1,100+ tests behind a coverage gate of 90% statements/lines, 94% functions, and 83% branches, including concurrency and Postgres row-level-security suites.
Eleven installable policy packs cover the common shapes β Startup defaults,
Coding agent seat, MCP tool governance, Compliance baseline,
Client-safe launch, and No-egress (Sanction Local) among them. GET /policy/packs lists them;
POST /policy/packs/{id}/preview simulates one against your last 30 days of
real decisions before anything changes; apply writes it as a policy revision.
Policy edits are never a leap of faith:
POST /policy/simulate replays your stored decision history under the
candidate β see exactly which calls flip and what spend wouldn't clear.GET /authorize/{id}/evidence re-runs
the rules over the stored context and proves the outcome reproduces.Use Sanction's vault when credentials should flow through the same policy, approval, and audit trail as spend and tools β one clearance model, no separate secrets cluster. Keep your existing Vault or Secrets Manager when you need fleet-scale secret lifecycle management independent of agent governance; Sanction consumes upstream identity and secrets rather than replacing them. Threat model: docs/SECURITY.md.
Platform vendors govern agents inside their own walls. Sanction authorizes agents wherever they run. Pick the shortest path to your stack:
| You want to⦠| Use | First step |
|---|---|---|
| Govern any MCP host (Claude Desktop, Cursor, β¦) | MCP wallet | Paste https://getsanction.com/mcp or npx sanction-mcp |
| Intercept tools/call to an MCP server | MCP broker | Register the upstream, point the host at /mcp/broker/<name> |
| Meter model spend with zero code changes | LLM gateway | Point the SDK base URL at /api/gateway/<provider> |
| Govern agents in a TypeScript app | SDK | npm install sanction-sdk |
| Call the engine from anything else | REST API | POST /v1/authorize with an x-api-key |
| Plug into an AuthZEN enforcement point | PDP | Point it at /api/access/v1/evaluation |
| Orchestrate on AWS Bedrock | Action Group | docs/BEDROCK.md |
The full menu:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sanction)<a href="https://allmcps.com/mcp/sanction"><img src="https://allmcps.com/api/badge/sanction?style=directory" alt="Sanction on AllMCPs" /></a>