Sanction

io.github.ericlovold/sanction

Approval and budget checks before agent spending or tool use. Cooperative MCP; host must ask.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "sanction": {
      "command": "npx",
      "args": [
        "-y",
        "sanction-mcp@0.10.0"
      ],
      "env": {
        "SANCTION_API_KEY": "<your SANCTION_API_KEY>",
        "SANCTION_API_URL": "https://getsanction.com/api/v1"
      }
    }
  }
}
Environment variables
  • SANCTION_API_KEYrequiredsecretAgent API key (pxy_...). Create one at https://getsanction.com or via POST /api/v1/wallets then POST /api/v1/agents.
  • SANCTION_API_URLSanction API base URL.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.10.0
Registry
active
Published
10/3/2026

Remotes

  • streamable-httphttps://getsanction.com/mcp
Browse all Developer Tools →

Add the badge to your site

Show visitors that Sanction is listed here — it’s also the link we check for a free listing.

Sanction — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-ericlovold-sanction?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Sanction — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Sanction — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-ericlovold-sanction?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.