walletcap for Coinbase payments MCP

io.github.coriolislabs由 GitHub 帳號 coriolislabs 發布v0.3.0更新於 Nov 7, 2026

Spend limits for Coinbase's payments MCP: a per-payment cap and rolling 24h USDC budget per wallet

發布方自己的服務:Payments Ai Mcp

已驗證STDIO僅桌面金融安全與監控

概覽

AI 產生的概覽

為 Coinbase 支付 MCP 錢包提供消費限額:單筆上限與跨程序共用的 24 小時滾動 USDC 預算。

可以做什麼
  • 透過命令列設定、檢視與凍結錢包的消費預算
  • 在單一寫入交易中讓每筆 USDC 付款從同一錢包預算預留額度
  • 執行滾動 24 小時視窗,重新啟動、額外副本與更換金鑰都不會重置
  • 在程式碼中以 openBudget 包裝付款,超過上限的金額會被拒絕
  • 為 x402、Coinbase CDP 消費儲存、Agentic Wallet、AgentKit 與 Spend Permissions 提供防護
適用情境
當 AI 代理從錢包以 USDC 付款,而你希望對其支出設定硬性上限時使用,特別適合多個程序或副本共用同一錢包、且重新啟動後不應取得全新預算的情況。
執行需求
以 npx 執行的本機程序,需要 Node 22.13 或更新版本。需在單一主機上有一個 SQLite 檔案,供所有程序及 Python 共用;不可放在 NFS、SMB 或 Docker Desktop 綁定掛載上。付款前需由擁有者先以 set 指令建立預算。
安裝前請注意
它管控真實錢包支出,限額或預算檔案設定錯誤會直接影響資金;檔案缺失會被視為沒有預算,而非新預算。AccountCapSpender 元件未經稽核,在獨立稽核前僅應在測試網使用。SQLite 儲存應放在本機檔案系統,網路或綁定掛載上的鎖並不可靠。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 walletcap for Coinbase payments MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

walletcap

Spend limits for AI agent wallets that pay in USDC: a per-payment cap and a rolling 24-hour budget that holds across restarts, replicas on one host and payment rails.

One spend budget per wallet for AI agents: counted across every process, replica, key, permission and payment rail on one host that pays from it. A restart, a second replica, one more key or the next calendar period cannot hand the agent a fresh budget.

npx walletcap-crash-test puts Coinbase's agent spend controls through a restart, 10 replicas, a shared store and a payee who asks for EURC, then puts walletcap through the same events, offline. In eight runs, CDP's controls let $1,600–$1,700 and 1,000 EURC past a $150 cap; walletcap let $0.

The owner creates the budget once; opening it never creates one:

console
$ npx walletcap set --wallet 0xYourAgentWallet --per-payment 50 --per-day 150
js
import { openBudget } from 'walletcap';
const budget = openBudget({ wallet: account.address, perPayment: '$50', perDay: '$150' });
await budget.pay('$12.50', () => sendUsdc(payee, '12.50'));// refused past $150 in any 24h, restarts included
  • Per wallet, not per process. Every payment from the wallet reserves against one number.
  • Rolling window. "$150 a day" means any 24 hours; there is no boundary to straddle.
  • Edits never reset the count. Raising $150 to $200 after spending $150 leaves $50.
  • Fail closed. If the count can't be read, nothing pays; a missing file is not a new budget. Unknown outcomes keep counting.
  • One SQLite file on one host, shared by every process there and by Python. Each payment reserves inside one write transaction, so replicas racing for the last dollar cannot both win. Not over NFS, SMB or Docker Desktop bind mounts, where SQLite's locks aren't reliable.
  • x402 guard, Coinbase CDP spend store, Agentic Wallet wrapper, AgentKit recipe, and an on-chain cap for Spend Permissions.
  • Node 22.13+, zero runtime dependencies, Apache-2.0.
console
$ npx walletcap status$ npx walletcap set --wallet 0xYourAgentWallet --per-payment 0.05 --per-day 0.15$ npx walletcap freeze

Security: policy · threat model. AccountCapSpender is unaudited; testnet only until an independent audit.

Source, Python package and full documentation · docs for x402, Coinbase CDP spend controls, AgentKit, the Agentic Wallet and payments MCP and Spend Permissions

Apache-2.0. Copyright 2026 Coriolis Labs Inc.

來源:js/README.md,提交 918232e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.3.0最新Nov 7, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Payments 整合