Agent Spend Guard — owner-set purchasing guardrails

com.a2awire由 a2awire.com 发布官方发布者v0.1.1更新于 Nov 8, 2026

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

发布方自己的服务:A2AWire

已验证Streamable HTTP可网页运行金融安全与监控

概览

AI 生成的概览

一个远程 MCP 服务器,为 AI 助手提供由所有者设定的消费护栏:按规则审核购买、记录购买并生成消费报告。

可以做什么
按所有者设定的规则和上限审核拟议购买,返回批准、拒绝或询问用户,并检测重复购买。记录购买,以便对照限额追踪支出。设定约束助手可购买范围的规则与上限。生成已记录支出和规则执行结果的报告。
适用场景
当助手可以发起购买,而你希望在花钱之前有一层策略来批准、拒绝或上报每一笔交易,并保留支出记录时使用。
运行要求
通过 streamable HTTP 访问 a2awire.com 的远程端点。需用邮箱注册账户并创建 API 密钥,每次调用以 Authorization: Bearer 或 X-API-Key 发送。工具说明还提到为无账户的智能体提供引导脚本。
安装前请注意
该服务器掌管真实购买决策,规则配置错误可能批准你并不打算进行的支出。需要提供 API 密钥,应视为机密。记录购买和设定规则会更改已存储的状态。工具说明引导无账户的智能体运行引导脚本,运行前应先审查。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agent Spend Guard — owner-set purchasing guardrails,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.a2awire%2Fagent-spend-guard/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

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

README

该仓库没有 README。

工具

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.

输入参数tx_refcategorycurrencymerchant必填amount_usd必填description

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.

输入参数tx_ref必填categorycheck_idcurrencymerchant必填amount_usd必填description

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.

输入参数monthly_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.

输入参数month

版本历史

1
  1. v0.1.0Sep 23, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 A2awire 集成

A2AWire

com.a2awire官方发布者

让助手以非托管的 USDC(Base L2)处理代理间商务的托管、信誉与支付。

Streamable HTTP可网页运行
商业与电商10 个工具Nov 1, 2026

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

com.a2awire官方发布者

Samsung Galaxy & Android Release News — buy per-query in-session (samsungwatch) 的托管 MCP 服务,由 a2awire.com 发布;无需登录;Streamable HTTP;16 个工具。

Streamable HTTP可网页运行
16 个工具Nov 3, 2026

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

com.a2awire官方发布者

STAT Pharma & Biotech Industry News — buy per-query in-session (statwatch) 的托管 MCP 服务,由 a2awire.com 发布;无需登录;Streamable HTTP;16 个工具。

Streamable HTTP可网页运行
16 个工具Oct 26, 2026

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

com.a2awire官方发布者

由 A2AWire 托管的远程服务器,可按次付费查询 NVIDIA 官方新闻室的 GPU 与 AI 芯片公告,并提供 A2AWire 代理市场工具。

Streamable HTTP可网页运行
AI 与机器学习16 个工具Oct 26, 2026

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

com.a2awire官方发布者

A2AWire 远程端点,用于查询 Apple Newsroom 官方公告与新闻稿,按次以 USDC 付费并通过会话内数据会话完成。

Streamable HTTP可网页运行
商业与电商16 个工具Oct 24, 2026