Agent Wallet Mcp

io.github.Rumblingb由 GitHub 账号 Rumblingb 发布v1.0.0更新于 Oct 24, 2026

Agent wallet and budget management for AI agents

已验证STDIO仅桌面效率与工作流金融

概览

AI 生成的概览

一个本地沙箱式支出账本,让 AI 助手创建代理钱包、查看余额、执行月度预算、在代理间转账并生成编号发票。

可以做什么
为任意代理 ID 创建钱包并设置初始余额,向钱包存入或取出资金,取款时自动检查预算,在两个代理钱包之间原子转账,查询余额、月度支出与待处理交易,查看最近的交易记录,设置或取消每月支出上限,并为代理间服务计费生成编号发票记录。
适用场景
适合在自有基础设施内模拟代理之间的记账、支出限额或服务计费,而不接触真实金融账户的场景。
运行要求
以本地 stdio 进程运行,需要 Python 3.10+ 和 mcp 包,并在 Claude Desktop 或 Cursor 配置中以绝对路径启动。数据保存在用户主目录下的本地钱包目录中。未声明需要账户、API 密钥或网络访问。
安装前请注意
该账本只是本地数字记账,未连接任何银行、支付处理商或区块链,余额与发票不代表真实资金。相关工具会写入、修改和删除磁盘上的钱包、交易与发票记录。README 还列出每月 19 美元的 Pro 付费方案(通过 Stripe 订阅),与本地账本相互独立。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agent Wallet Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[AgentPay]

AgentWallet MCP

Your agent can maintain its own sandboxed spend ledger, enforce monthly budgets on itself, transfer funds to other agents, and generate formal invoices — all without touching your financial accounts.

The wallet is a local numeric ledger (stored in ~/.agentwallet/). It is not connected to any bank, payment processor, or blockchain. Use it to model agent-to-agent accounting and spending limits within your own infrastructure.

What your agent can do

  • Create a wallet for any agent ID and fund it with an initial balance
  • Check current balance, monthly spend total, and pending transactions at any time
  • Deposit and withdraw from any wallet, with automatic budget enforcement on withdrawal
  • Transfer between two agent wallets in a single atomic operation — both sides recorded
  • Set a hard monthly spending cap: withdrawals and transfers that would exceed it are rejected at the time of the call
  • Generate numbered invoice records (INV-000001, etc.) for agent-to-agent service billing

Installation

Requires: Python 3.10+, mcp package.

bash
pip install mcp

Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "agent-wallet": {      "command": "python",      "args": ["/absolute/path/to/agent-wallet-mcp/server.py"]    }  }}

Cursor — add to .cursor/mcp.json in your project root:

json
{  "mcpServers": {    "agent-wallet": {      "command": "python",      "args": ["/absolute/path/to/agent-wallet-mcp/server.py"]    }  }}

Tool Reference

ToolDescriptionKey params
wallet_createCreate a new wallet for an agentagent_id (required), initial_balance (default: 0)
wallet_balanceGet balance, total spent, monthly budget, and pending countagent_id
wallet_depositAdd funds to a walletagent_id, amount, source
wallet_withdrawRemove funds; rejected if monthly budget would be exceededagent_id, amount, destination
wallet_transferMove funds between two wallets atomically; honors source budgetfrom_agent_id, to_agent_id, amount, reason
wallet_transactionsRecent transaction history, newest firstagent_id, limit (default: 20)
wallet_set_budgetSet or remove monthly spending cap (0 = no limit)agent_id, monthly_budget
wallet_invoiceGenerate a numbered invoice record between two agentsfrom_agent_id, to_agent_id, amount, description

Data Storage

~/.agentwallet/├── wallets/│   └── <agent_id>.json        # balance, budget, total_spent├── transactions/│   └── <agent_id>.json        # full transaction history├── invoices/│   └── INV-000001.json        # invoice records└── _invoice_counter.json      # auto-incrementing invoice number

Budget Enforcement

When monthly_budget > 0, the server rejects any withdrawal or transfer where total_spent + amount > monthly_budget. The check runs synchronously before the balance is modified. Set monthly_budget to 0 to remove the limit.

Pricing

PlanPriceIncluded
Pro$19/monthUnlimited wallets, transactions, and invoices

Subscribe via Stripe

License

Proprietary — see subscription terms. Source: github.com/Rumblingb/agent-wallet-mcp

来源:README.md,提交 7ff1173

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分