protogrid

Search / io.github.ericlovold/sanction

Sanction

R2· OAuth, once

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

v0.10.0 · active · repository · website · descriptor JSON · versions

An agent can connect after a one-time OAuth consent by a human.Remote endpoint behind OAuth 2. Tokens stay with the agent; the registry only exposes the authorization metadata.
Quality83good
Trust97of 100
Uptime, 30 days100%
Latency p50842 ms

Connect

8 clients · secrets stay placeholders
{
  "mcpServers": {
    "sanction": {
      "type": "http",
      "url": "https://getsanction.com/mcp",
      "headers": {
        "x-api-key": "${X_API_KEY}"
      }
    }
  }
}
claude mcp add --transport http sanction https://getsanction.com/mcp --header "x-api-key: ${X_API_KEY}"
[mcp_servers.sanction]
url = "https://getsanction.com/mcp"
env_http_headers = { "x-api-key" = "X_API_KEY" }
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "sanction": {
      "type": "remote",
      "url": "https://getsanction.com/mcp",
      "enabled": true,
      "headers": {
        "x-api-key": "{env:X_API_KEY}"
      }
    }
  }
}
{
  "mcpServers": {
    "sanction": {
      "type": "http",
      "url": "https://getsanction.com/mcp",
      "headers": {
        "x-api-key": "${X_API_KEY}"
      }
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=sanction&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vZ2V0c2FuY3Rpb24uY29tL21jcCIsImhlYWRlcnMiOnsieC1hcGkta2V5IjoiJHtYX0FQSV9LRVl9In19"
}
{
  "servers": {
    "sanction": {
      "type": "http",
      "url": "https://getsanction.com/mcp",
      "headers": {
        "x-api-key": "${X_API_KEY}"
      }
    }
  }
}
{
  "mcpServers": {
    "sanction": {
      "httpUrl": "https://getsanction.com/mcp",
      "headers": {
        "x-api-key": "${X_API_KEY}"
      }
    }
  }
}
extensions:
  "sanction":
    enabled: true
    name: "sanction"
    type: streamable_http
    uri: "https://getsanction.com/mcp"
    headers:
      "x-api-key": "${X_API_KEY}"
    timeout: 300

Placeholders to fill from your own secret store: ${X_API_KEY}. The registry never accepts secret values.

Quality 83 / 100good

protocoln/a · weight 25
  • n/a
    protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)
authorization83 · weight 15
  • pass
    auth.prmProtected Resource Metadata (RFC 9728) published
  • pass
    auth.as_metadataauthorization server metadata reachable
  • warn
    auth.cimdonly Dynamic Client Registration, deprecated in 2026-07-28 in favour of CIMD
  • n/a
    auth.secret_in_urlno templated URL
tool hygienen/a · weight 30
  • n/a
    tools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)
stabilityn/a · weight 15
  • n/a
    stability.changes, stability.rug_pulltool list unknown
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvabledeps.dev does not know [email protected]

Tool list unknown · checked 2026-10-20 10:03 UTC

Tool changes

No tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 97 / 100

provenance90
liveness100
freshness100
hygiene100

+repository +namespace-matches-repo +website +reachable +uptime-100% +updated-17d-ago

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Dependencies

[email protected] npmthis version is not known to the dependency resolver

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.

Endpoints

remoteauthreachableuptime 30dp50protocollast ok
https://getsanction.com/mcp streamable-httpoauth2 AS: https://getsanction.com/api/authyes100%842 ms–2026-10-20
packageregistryversionruntimesecrets
sanction-mcpnpm0.10.0npxSANCTION_API_KEY

Tools (0)

No tools observed. Tools appear once a credential-free probe can list them.

Schemas: list_tools.

Similar MCP servers

Official server.json
{
  "name": "io.github.ericlovold/sanction",
  "title": "Sanction",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://getsanction.com/mcp",
      "type": "streamable-http",
      "headers": [
        {
          "name": "x-api-key",
          "isSecret": true,
          "isRequired": true,
          "description": "Sanction agent key (pxy_...). Store in the host secret configuration, never in chat."
        }
      ]
    }
  ],
  "version": "0.10.0",
  "packages": [
    {
      "version": "0.10.0",
      "transport": {
        "type": "stdio"
      },
      "identifier": "sanction-mcp",
      "runtimeHint": "npx",
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "environmentVariables": [
        {
          "name": "SANCTION_API_KEY",
          "isSecret": true,
          "isRequired": true,
          "description": "Agent API key (pxy_...). Create one at https://getsanction.com or via POST /api/v1/wallets then POST /api/v1/agents."
        },
        {
          "name": "SANCTION_WALLET_ID",
          "description": "Optional override for sanction_wallet_status; by default the wallet derives from the agent key."
        },
        {
          "name": "SANCTION_API_URL",
          "default": "https://getsanction.com/api/v1",
          "description": "Sanction API base URL."
        }
      ]
    }
  ],
  "repository": {
    "url": "https://github.com/ericlovold/sanction",
    "source": "github"
  },
  "websiteUrl": "https://getsanction.com",
  "description": "Approval and budget checks before agent spending or tool use. Cooperative MCP; host must ask."
}