Agent Spend Guard — owner-set purchasing guardrails
com.a2awire/agent-spend-guard
MCP server OK 4 tools
Free spend guardrails for AI agents: approve/deny/ask_user, caps, dupes.
Technical sheet
- Author
- a2awire.com (registry namespace)
- Repository
- github.com/ee324/a2awire
- Site
- a2awire.com/spend-guard
- Version
- 0.1.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://a2awire.com/mcp/connectors/spend-guard/http Streamable HTTP
- Tools
- 4
- Categories
- AI, agents and memory
- Last updated
- 8 Nov 2026
- Published
- 8 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/com.a2awire/agent-spend-guard)<a href="https://latlas.dev/en/mcp/com.a2awire/agent-spend-guard"><img src="https://latlas.dev/badge/statut/mcp/com.a2awire/agent-spend-guard.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/com.a2awire/agent-spend-guard)<a href="https://latlas.dev/en/mcp/com.a2awire/agent-spend-guard"><img src="https://latlas.dev/badge/fiche/com.a2awire/agent-spend-guard.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://a2awire.com/mcp/connectors/spend-guard/http
- Last result
- OK 28 Nov 2026, 08:18
- Response time
- 644 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- a2awire-spend-guard 0.1.0
- Tools
- 4
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 08:18 | OK | 644 ms | 4 |
Exposed tools (4, from tools/list, 28 Nov 2026)
spend_guard_check_purchase
Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Call BEFORE checkout. Evaluate a proposed purchase (merchant, amount_usd) against the owner's spend rules and recent ledger. Returns a decision (approve, deny, or ask_user), a plain-English reason, the remaining monthly budget when a cap is set, and a check_id. deny means denylisted merchant or over the monthly cap; ask_user means above the per-purchase threshold or a possible duplicate of a purchase in the last 10 minutes. Optional tx_ref is your idempotency key for this purchase; pass the same value to spend_guard_record_purchase afterwards. Appends a check event; checks never consume budget. USD only (the currency argument is kept for forward compatibility; any other value is rejected). Not guest-callable. REST: POST /api/v1/spend-guard/check.
| Parameter | Type | Required | Description |
|---|---|---|---|
| merchant | string | yes | |
| amount_usd | number | string | yes | |
| currency | string | no | USD only. Kept for forward compatibility; any other value is rejected. |
| category | string | null | no | |
| description | string | null | no | |
| tx_ref | string | null | no | Optional idempotency key for this purchase; pass the same value to the record call afterwards. Checks are exempt from the uniqueness constraint that applies to recorded purchases. |
spend_guard_record_purchase
Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Call AFTER checkout. Record a completed purchase in the owner's spend ledger. tx_ref is required and unique per owner: replaying the same tx_ref returns the original record without double counting (recorded_previously is true when the tx_ref was already in your ledger before this call, an idempotent replay; false on first write). Optional check_id links the record to its prior spend_guard_check_purchase; a check_id already recorded returns a conflict error. Returns the recorded event and the month-to-date total. USD only (the currency argument is kept for forward compatibility; any other value is rejected). Not guest-callable. REST: POST /api/v1/spend-guard/record.
| Parameter | Type | Required | Description |
|---|---|---|---|
| merchant | string | yes | |
| amount_usd | number | string | yes | |
| currency | string | no | USD only. Kept for forward compatibility; any other value is rejected. |
| category | string | null | no | |
| description | string | null | no | |
| tx_ref | string | yes | Caller idempotency key, unique across your recorded purchases; replays return the original record. |
| check_id | string | null | no | Optional id from spend_guard_check_purchase; at most one record may consume each check. |
spend_guard_set_rules
Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Set the calling owner's spend-guard rules: an optional monthly cap in USD, an optional per-purchase threshold in USD, and an optional exact-match merchant denylist (case-insensitive). Full declaration: omit or null a field to clear that rule. With no rules every check approves (observation mode) and purchases are still recorded. Returns the effective rules. Not guest-callable. REST: PUT /api/v1/spend-guard/rules.
| Parameter | Type | Required | Description |
|---|---|---|---|
| monthly_cap_usd | number | string | null | no | Cumulative recorded spend per UTC calendar month at or above which checks deny. Null clears the cap. |
| per_purchase_threshold_usd | number | string | null | no | A single purchase strictly above this amount asks the user first. Null clears the threshold. |
| merchant_denylist | array<string> | null | no | Exact-match merchant names (case-insensitive) whose purchases are denied, up to 100 entries. Null clears the list. |
spend_guard_report
Humans: sign up with your email at https://a2awire.com/api-key and create an API key, then hand it to your agent (it sends Authorization: Bearer or X-API-Key with every call). Agents without an account: a reviewable bootstrap script is served at https://a2awire.com/api/v1/connectors/spend-guard/bootstrap.sh (download it, read it, then run it to mint a key). Month-to-date spend summary for the calling owner: total USD recorded, purchase count, top merchants (up to 5), current rules, and remaining monthly budget when a cap is set. Optional month (YYYY-MM) reads a prior month; defaults to the current UTC month. Not guest-callable. REST: GET /api/v1/spend-guard/report.
| Parameter | Type | Required | Description |
|---|---|---|---|
| month | string | null | no | Optional month filter (YYYY-MM); defaults to the current UTC month. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://a2awire.com/mcp/connectors/spend-guard/http. Formats taken from each client’s documentation.
claude mcp add --transport http agent-spend-guard https://a2awire.com/mcp/connectors/spend-guard/httpCustomize > Connectors > + Add > Add custom connector ; Name : agent-spend-guard ; URL : https://a2awire.com/mcp/connectors/spend-guard/httpchatgpt.com/plugins > + > Add custom MCP server ; Name : agent-spend-guard ; Server URL : https://a2awire.com/mcp/connectors/spend-guard/http ; Create as a plugin{
"mcpServers": {
"agent-spend-guard": {
"url": "https://a2awire.com/mcp/connectors/spend-guard/http"
}
}
}{
"mcpServers": {
"agent-spend-guard": {
"type": "http",
"url": "https://a2awire.com/mcp/connectors/spend-guard/http",
"tools": ["*"]
}
}
}{
"mcpServers": {
"agent-spend-guard": {
"url": "https://a2awire.com/mcp/connectors/spend-guard/http"
}
}
}{
"mcpServers": {
"agent-spend-guard": {
"httpUrl": "https://a2awire.com/mcp/connectors/spend-guard/http"
}
}
}[mcp_servers.agent-spend-guard]
url = "https://a2awire.com/mcp/connectors/spend-guard/http"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Agent Spend Guard — owner-set purchasing guardrails · L’Atlas · Tested on
[Agent Spend Guard — owner-set purchasing guardrails — L’Atlas](https://latlas.dev/en/mcp/com.a2awire/agent-spend-guard)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.