Skip to content
Windsurf

Spend Guard for Windsurf

io.github.vulinh1704/spend-guard

Budgets, payee allowlists, price-spike checks and human approval for agents paying x402 paywalls

client:Windsurf transport:stdio runtime:npm

Install Spend Guard in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "spend-guard": {
      "command": "npx",
      "args": [
        "-y",
        "@vulinh1704/spend-guard"
      ],
      "env": {
        "SPEND_GUARD_POLICY": "<SPEND_GUARD_POLICY>",
        "SPEND_GUARD_RAILS": "<SPEND_GUARD_RAILS>",
        "SPEND_GUARD_LEDGER": "<SPEND_GUARD_LEDGER>",
        "SPEND_GUARD_DASHBOARD_PORT": "<SPEND_GUARD_DASHBOARD_PORT>",
        "SPEND_GUARD_APPROVAL_TIMEOUT": "<SPEND_GUARD_APPROVAL_TIMEOUT>",
        "SPEND_GUARD_MOCK_NETWORK": "<SPEND_GUARD_MOCK_NETWORK>",
        "ARC_PRIVATE_KEY": "<ARC_PRIVATE_KEY>",
        "NEAR_ACCOUNT_ID": "<NEAR_ACCOUNT_ID>",
        "NEAR_PRIVATE_KEY": "<NEAR_PRIVATE_KEY>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Spend Guard in other clients