Sanction
io.github.ericlovold/sanction
About Sanction
Sanction is an MCP server published by the GitHub account ericlovold. Approval and budget checks before agent spending or tool use. Cooperative MCP; host must ask.
It runs on your own machine: your AI client starts it from the npm package sanction-mcp at version 0.10.0, or you can connect to the hosted version instead.
It asks for one secret: SANCTION_API_KEY. Give it a key with the least access that still works.
Version 0.10.0 was published on 3 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 10 automated checks on the registry entry and the package code: 8 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
SANCTION_API_KEY | Yes | Yes | Agent API key (pxy_...). Create one at https://getsanction.com or via POST /api/v1/wallets then POST /api/v1/agents. |
SANCTION_WALLET_ID | No | No | Optional override for sanction_wallet_status; by default the wallet derives from the agent key. |
SANCTION_API_URL | No | No | Sanction API base URL. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/ericlovold/sanction |
| Version pinned | Pass | Every package has an explicit version |
| Remote uses HTTPS | Pass | All remote endpoints use https:// |
| Secrets requested | Info | Asks for 1 secret: SANCTION_API_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account ericlovold |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | sanction-mcp@0.10.0 runs nothing at install |
| Code red flags | Pass | Read 4 files in sanction-mcp@0.10.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 4 files, including comments and the README |
Popularity & health: 64 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 406 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.ericlovold/sanction |
|---|---|
| Publisher | GitHub account ericlovold |
| How the name is verified | Name verified via GitHub account ericlovold. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local package and a hosted remote |
| Packages | npm sanction-mcp 0.10.0 (stdio) |
| Remote endpoints | streamable-http https://getsanction.com/mcp |
| Version | 0.10.0 |
| Published | |
| Last updated | |
| Source repository | https://github.com/ericlovold/sanction |
| Website | https://getsanction.com |
| Category | Agent safety & governance (assigned by keyword rule, not by hand) |
Related servers in Agent safety & governance
- Quirna7/7Ask a human before your agent acts: approval requests decided on a…
Authoryze3/3Give your AI agent a spending limit: approval controls and…- chp-mcp7/7Spend approval gate for AI agents: budget caps, HITL thresholds,…
- verimcp7/7Transparent MCP proxy that independently re-verifies tool-call…
- policy-gate4/4Deterministic allow/require_approval/deny verdicts for agent…
- logi-approval7/7logi Agent Approval Gate — human approval on the phone before…