Repository navigation
v0.9.0 put the engine in front of the call. v0.10.0 is the approval release: an agent can ask for one human decision, a person answers where they already work, and the agent resumes with exactly what was approved. This release covers everything since v0.9.0 (August 28).
Asking for approval
- Explicit human approval. The tool-authorization call accepts
require_approvaland anapproval_reason, so an agent can request review without a policy change. Hard denials still win. Observe mode cannot skip an explicit request, and its timeout always denies. - Decisions are results, not errors. Waiting and denial are normal MCP results. They carry the same
authorized,statusandnext_actionfields in structured content and in text, so text-only hosts can branch without parsing prose. Pending checks tell the agent to wait, then check once. - Replays are traceable. Reusing a consumed grant records its own denied attempt, linked to the original approval.
sanction-mcp0.10.0 on npm ships all of the above. Default approver emails are kept out of MCP decisions.
Answering it
- Slack proves itself in one click. Send a test escalation raises a real, labeled test approval through the same delivery path as any other.
- Every click shows its result. Approve and Deny update the card, including stale or refused clicks. Reconnecting a channel cannot revive an old button.
- Approval links survive sign-in and wallet switching.
Connecting
/installhas one page per surface: Claude, Cursor, Codex, Grok, Slack and ChatGPT (availability only). Each page covers setup, disconnecting, and what the connection does not do.- Signup leads to a working connection in three steps: connect, check, then request one synthetic approval.
- OAuth discovery for hosts that probe it. Grok Bot can connect to the approvals MCP.
- Prove one governed call. A broker walkthrough pauses a harmless call and approves its exact arguments. It verifies one execution, and refuses changed arguments and grant reuse.
- The broker filters
tools/listthrough the same policy ladder astools/call, so a host only sees tools policy would allow or escalate. - Developer usage. Claude Code and Codex report through their native OTLP logs. Usage is shown separately from governed spend.
Metering
- The LLM gateway holds budget before it calls the model. Concurrent calls cannot overshoot a seat or pool cap. A hold still unresolved after 15 minutes is charged its full estimate, and an agent that disconnects early cannot lower its charge.
- The gateway forwards what you send. It no longer writes an output limit into your request. Current Claude and Gemini thinking modes pass, including replayed thinking blocks in tool loops.
Hardening
- Verifying the owner email reclaims a wallet and revokes credentials issued before it.
- Observe mode can no longer escape an ancestor wallet's cap.
- OAuth refresh-token revocation is bound to the token's owner. The upstream fix is applied as a patch pinned to reviewed versions.
- Rate limits are a single atomic statement, and database connections verify certificate and hostname.
- Expired tokens, sign-in links and rate-limit counters are cleaned up daily.
- One conformance suite pins authorization behavior across every MCP entry point; drift between them fails CI.
- Faster spend decisions and lighter dashboard pages.
Honest boundaries
- Hosted MCP is cooperative: the agent chooses to ask. The broker is what intercepts.
- Approval resumption inside a host is verified only by a recorded Claude run. Other hosts are configured, not proven end to end.
- The gateway guarantees estimated capacity, not the provider's invoice. Media inputs, server-side tools and provider-stored context are still refused.
- The eve onboarding page is a preview with example data.
Full history: changelog.