Spend Guard
Budgets, payee allowlists, price-spike checks and human approval for agents paying x402 paywalls
Open the source (opens github.com) https://github.com/vulinh1704/spend-guard
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: ARC_PRIVATE_KEY, NEAR_PRIVATE_KEY. Use a key with the least access you can.
What it is
MCP servers from io.github.vulinh1704.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
npm package (stdio)
@vulinh1704/spend-guard@0.2.0
From the server's entry in the official MCP Registry
Settings it asks for
SPEND_GUARD_POLICY· Policy JSON file: networks, budgets, approval amount, spike ratio, known services and their payees. Without one, every payment waits for your approval.SPEND_GUARD_RAILS· How to pay: mock (pays nothing), near, arc, gateway, or a comma list. arc and gateway need ARC_PRIVATE_KEY, near needs NEAR_ACCOUNT_ID and NEAR_PRIVATE_KEY.SPEND_GUARD_LEDGER· Decisions file, read back on start so a restart keeps today's spend; servers on one file share one budget. Default ~/.spend-guard/ledger.jsonl; off keeps it…SPEND_GUARD_DASHBOARD_PORT· Port of the approval dashboard on 127.0.0.1. 0 picks a free one; off means no dashboard, and payments that need approval are declined.SPEND_GUARD_APPROVAL_TIMEOUT· Seconds a payment waits for your answer before it is declined. Raise it together with your client's tool timeout.SPEND_GUARD_MOCK_NETWORK· Network the mock rail pretends to pay on.ARC_PRIVATE_KEYsecret · Agent key for the arc and gateway rails. Testnet keys only.NEAR_ACCOUNT_ID· Agent account for the near rail (testnet).NEAR_PRIVATE_KEYsecret · Agent key for the near rail. Testnet keys only.
Related
-
Free spend guardrails for AI agents: approve/deny/ask_user, caps, dupes.
-
agent-finops-budget-spend-guard
MCP serversAgent FinOps Spend Guard, Deterministic Budget Passport, LLM Token Cost Router & VIP Discounts.
-
Covenant Guard
MCP serversHard spend cap, OS sandbox, and signed receipts for unattended coding agents like Claude Code.
https://github.com/open-covenant/covenant/releases/download/covguard-v0.1.1/covenant-guard.mcpb@0.1.1 -
Syl Guardian
MCP serversCausal check on AI agent claims, from ad-spend/ROAS lift to any decision: pass, caution or hold.
-
Countersign
MCP serversKill switch + spend guard for AI agents that spend money, across every wallet vendor at once.
@countersign/mcp@0.2.2 -
ThinkNEO Control Plane
MCP serversEnterprise AI Control Plane: governance, guardrails, spend tracking, compliance & smart routing.