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