Spend Guard
io.github.vulinh1704/spend-guard
Budgets, payee allowlists, price-spike checks and human approval for agents paying x402 paywalls
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/vulinh1704/spend-guard
- Website
- github.com/vulinh1704/spend-guard#readme
- Version
- 0.2.0
- Author
- vulinh1704 (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 31, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: SPEND_GUARD_POLICY, SPEND_GUARD_RAILS, SPEND_GUARD_LEDGER, SPEND_GUARD_DASHBOARD_PORT, SPEND_GUARD_APPROVAL_TIMEOUT, SPEND_GUARD_MOCK_NETWORK, ARC_PRIVATE_KEY, NEAR_ACCOUNT_ID, NEAR_PRIVATE_KEY.
On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add spend-guard -e SPEND_GUARD_POLICY=YOUR_SPEND_GUARD_POLICY -e SPEND_GUARD_RAILS=YOUR_SPEND_GUARD_RAILS -e SPEND_GUARD_LEDGER=YOUR_SPEND_GUARD_LEDGER -e SPEND_GUARD_DASHBOARD_PORT=YOUR_SPEND_GUARD_DASHBOARD_PORT -e SPEND_GUARD_APPROVAL_TIMEOUT=YOUR_SPEND_GUARD_APPROVAL_TIMEOUT -e SPEND_GUARD_MOCK_NETWORK=YOUR_SPEND_GUARD_MOCK_NETWORK -e ARC_PRIVATE_KEY=YOUR_ARC_PRIVATE_KEY -e NEAR_ACCOUNT_ID=YOUR_NEAR_ACCOUNT_ID -e NEAR_PRIVATE_KEY=YOUR_NEAR_PRIVATE_KEY -- npx -y @vulinh1704/[email protected] mcpClaude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"spend-guard": {
"command": "npx",
"args": [
"-y",
"@vulinh1704/[email protected]",
"mcp"
],
"env": {
"SPEND_GUARD_POLICY": "YOUR_SPEND_GUARD_POLICY",
"SPEND_GUARD_RAILS": "YOUR_SPEND_GUARD_RAILS",
"SPEND_GUARD_LEDGER": "YOUR_SPEND_GUARD_LEDGER",
"SPEND_GUARD_DASHBOARD_PORT": "YOUR_SPEND_GUARD_DASHBOARD_PORT",
"SPEND_GUARD_APPROVAL_TIMEOUT": "YOUR_SPEND_GUARD_APPROVAL_TIMEOUT",
"SPEND_GUARD_MOCK_NETWORK": "YOUR_SPEND_GUARD_MOCK_NETWORK",
"ARC_PRIVATE_KEY": "YOUR_ARC_PRIVATE_KEY",
"NEAR_ACCOUNT_ID": "YOUR_NEAR_ACCOUNT_ID",
"NEAR_PRIVATE_KEY": "YOUR_NEAR_PRIVATE_KEY"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"spend-guard": {
"command": "npx",
"args": [
"-y",
"@vulinh1704/[email protected]",
"mcp"
],
"env": {
"SPEND_GUARD_POLICY": "YOUR_SPEND_GUARD_POLICY",
"SPEND_GUARD_RAILS": "YOUR_SPEND_GUARD_RAILS",
"SPEND_GUARD_LEDGER": "YOUR_SPEND_GUARD_LEDGER",
"SPEND_GUARD_DASHBOARD_PORT": "YOUR_SPEND_GUARD_DASHBOARD_PORT",
"SPEND_GUARD_APPROVAL_TIMEOUT": "YOUR_SPEND_GUARD_APPROVAL_TIMEOUT",
"SPEND_GUARD_MOCK_NETWORK": "YOUR_SPEND_GUARD_MOCK_NETWORK",
"ARC_PRIVATE_KEY": "YOUR_ARC_PRIVATE_KEY",
"NEAR_ACCOUNT_ID": "YOUR_NEAR_ACCOUNT_ID",
"NEAR_PRIVATE_KEY": "YOUR_NEAR_PRIVATE_KEY"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"spend-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@vulinh1704/[email protected]",
"mcp"
],
"env": {
"SPEND_GUARD_POLICY": "YOUR_SPEND_GUARD_POLICY",
"SPEND_GUARD_RAILS": "YOUR_SPEND_GUARD_RAILS",
"SPEND_GUARD_LEDGER": "YOUR_SPEND_GUARD_LEDGER",
"SPEND_GUARD_DASHBOARD_PORT": "YOUR_SPEND_GUARD_DASHBOARD_PORT",
"SPEND_GUARD_APPROVAL_TIMEOUT": "YOUR_SPEND_GUARD_APPROVAL_TIMEOUT",
"SPEND_GUARD_MOCK_NETWORK": "YOUR_SPEND_GUARD_MOCK_NETWORK",
"ARC_PRIVATE_KEY": "YOUR_ARC_PRIVATE_KEY",
"NEAR_ACCOUNT_ID": "YOUR_NEAR_ACCOUNT_ID",
"NEAR_PRIVATE_KEY": "YOUR_NEAR_PRIVATE_KEY"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
[Spend Guard — L’Agora](https://lagora.dev/en/entry/io.github.vulinh1704/spend-guard)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.vulinh1704/spend-guard)HTML
<a href="https://lagora.dev/en/entry/io.github.vulinh1704/spend-guard"><img src="https://lagora.dev/badge/io.github.vulinh1704/spend-guard.svg?lang=en" alt="io.github.vulinh1704/spend-guard on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
Mantis Local