Agent Spend Guard — owner-set purchasing guardrails

com.a2awirePublished by a2awire.comOfficial publisherv0.1.0Updated Oct 24, 2026

Free spend guardrails for AI agents: approve/deny/ask_user, caps, dupes.

The publisher's own server: A2AWire

VerifiedStreamable HTTPWeb executableFinanceBusiness & Commerce

Overview

AI-generated overview

A remote MCP server that gives an AI assistant owner-set spending guardrails: it checks purchases against rules, records them, and reports on spending.

What you can do
Check a proposed purchase and get an approve, deny or ask-user decision against owner-set rules and caps, including duplicate detection. Record purchases so spending is tracked against limits. Set the rules and caps that govern what the assistant may buy. Produce a report on recorded spending and rule outcomes.
When to use it
Use it when an assistant can initiate purchases and you want a policy layer that approves, denies or escalates each one before money is spent, and a record of what was spent.
Requirements
A remote endpoint at a2awire.com over streamable HTTP. An account created with an email and an API key, sent as Authorization: Bearer or X-API-Key on every call. The tool descriptions also mention a bootstrap script for agents without an account.
Before you install
The server governs real purchasing decisions, so misconfigured rules could approve spending you did not intend. An API key is required and must be supplied to the assistant; treat it as a secret. Recording purchases and setting rules change stored state. The tool descriptions point agents without an account to a bootstrap script, which should be reviewed before running.

Installation

In SourceWeft

  1. Open Agent Spend Guard — owner-set purchasing guardrails in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.a2awire%2Fagent-spend-guard/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "agent-spend-guard-owner-set-purchasing-g": {
      "type": "http",
      "url": "https://a2awire.com/mcp/connectors/spend-guard/http"
    }
  }
}

README

This repository has no README.

Tools

4

spend_guard_check_purchase

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 <key> 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.

Parameterstx_refcategorycurrencymerchantrequiredamount_usdrequireddescription

spend_guard_record_purchase

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 <key> 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.

Parameterstx_refrequiredcategorycheck_idcurrencymerchantrequiredamount_usdrequireddescription

spend_guard_set_rules

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 <key> 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.

Parametersmonthly_cap_usdmerchant_denylistper_purchase_threshold_usd

spend_guard_report

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 <key> 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.

Parametersmonth

Version history

1
  1. v0.1.0LatestSep 23, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.

Other A2awire integrations

A2AWire

com.a2awireOfficial publisher

Lets an assistant handle escrow, reputation, and payments for agent-to-agent commerce using non-custodial USDC on Base L2.

Streamable HTTPWeb executable
Business & Commerce10 toolsNov 1, 2026

Samsung Galaxy & Android Release News — buy per-query in-session (samsungwatch)

com.a2awireOfficial publisher

Samsung Galaxy & Android Release News — buy per-query in-session (samsungwatch)'s hosted MCP server, published by a2awire.com; no sign-in required; Streamable HTTP; 16 tools.

Streamable HTTPWeb executable
16 toolsNov 3, 2026

STAT Pharma & Biotech Industry News — buy per-query in-session (statwatch)

com.a2awireOfficial publisher

STAT Pharma & Biotech Industry News — buy per-query in-session (statwatch)'s hosted MCP server, published by a2awire.com; no sign-in required; Streamable HTTP; 16 tools.

Streamable HTTPWeb executable
16 toolsOct 26, 2026

Official NVIDIA Newsroom: GPU & AI-Chip Announcements — buy per-query in-session (nvidiawatch)

com.a2awireOfficial publisher

A2AWire-hosted remote server for querying official NVIDIA newsroom GPU and AI-chip announcements, paid per query in USDC, plus A2AWire agent-marketplace tools.

Streamable HTTPWeb executable
AI & ML16 toolsOct 26, 2026

Official Apple Newsroom: Announcements & Releases — buy per-query in-session (applenewswatch)

com.a2awireOfficial publisher

Remote A2AWire endpoint for querying official Apple Newsroom announcements and press releases, paid per query in USDC through an in-session data session.

Streamable HTTPWeb executable
Business & Commerce16 toolsOct 24, 2026