Peage Mcp

fr.intrane由 intrane.fr 发布v0.1.5更新于 Oct 24, 2026

Give your agent a prepaid fiat wallet: pay any API per call in cents, no crypto, spend caps.

已验证STDIO仅桌面金融开发者工具

概览

AI 生成的概览

一个本地 MCP 服务器,为 AI 助手提供预付法币钱包,使其能按次以分为单位支付计量 API,并受消费上限约束。

可以做什么
创建钱包并查看余额、托管金额、消费上限和近期扣费,令牌保存在本地或由环境变量提供。生成 Stripe 结账链接供用户一次性充值。携带钱包向任何 peage 计费 API 发起付费请求。设置单次调用和单商户每日消费上限。验证签名扣费收据并审计该平台的公开账本不变量。
适用场景
当助手需要调用 peage 平台上的按次付费 API、以法币分单位结算且不使用订阅或加密货币,同时用户希望通过消费上限和一次性充值保持控制时使用。
运行要求
以静态二进制在桌面本地运行,无需 Node 或 Python。PEAGE_URL 可选,用于指定平台实例(默认使用托管实例)。PEAGE_WALLET_TOKEN 可选,用于提供已有钱包令牌;否则初始化时会生成一个并保存到 ~/.peage-mcp.json。需要访问该平台网络,充值还需访问 Stripe。
安装前请注意
钱包令牌是消费凭证:它会随请求发送给商户 API 以便扣费,持有者可能在上限内消费。默认上限为每次调用 1 欧元、每商户每日 10 欧元,使用前请确认。充值通过用户必须完成的 Stripe 链接进行真实付款。服务器会在主目录写入令牌文件,并将扣费数据发送给该平台。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

peage-mcp — give your agent a wallet

An MCP server that puts a prepaid fiat wallet in any MCP-capable agent (Claude Code, Claude Desktop, anything speaking MCP stdio). The agent can then pay APIs per call on the peage rail — cents at a time, no crypto, no subscriptions, with spending caps you control.

One ~120 KB static binary, pure machin (MFL). No Node, no Python.

Install

Grab the binary (or ./build.sh with machin on PATH), then register it:

Claude Code (.mcp.json in your project, or ~/.claude.json for user scope):

json
{"mcpServers": {"peage": {"command": "/path/to/peage-mcp", "args": ["serve"]}}}

Claude Desktop (claude_desktop_config.json): same snippet under mcpServers.

What the agent gets (7 tools)

toolwhat it does
peage_setupmint the wallet once; token stored at ~/.peage-mcp.json
peage_statusbalance, escrow, caps, recent charges
peage_topupStripe Checkout URL → the agent hands it to you, you pay once
peage_paid_requestcall any peage-metered API with the wallet attached
peage_set_limitsper-call + per-merchant daily spending caps
peage_verify_receiptpublicly verify any signed charge receipt
peage_solvencyaudit the rail's live ledger invariant

The human appears exactly once in the loop: paying the top-up link. Everything else is the agent's business.

The 60-second demo

Ask your agent: "set up a peage wallet, then fetch https://peage.intrane.fr/demo/fortune as a paid request" — it mints a wallet that comes with free starter credit, so it pays the 1-cent toll and gets its fortune on the first try, no human needed. When the free credit runs out, peage_topup hands you a Stripe link to fund more. That's the whole agent-payment loop — and the agent completes it before you touch your card.

Security model

  • The wallet token lives in ~/.peage-mcp.json (or PEAGE_WALLET_TOKEN). Sharing it with a merchant API is how they charge you — the caps bound the exposure: default 1€ per call / 10€ per merchant per day, adjustable via peage_set_limits.
  • The rail stores only a hash of the token; every charge returns an HMAC-signed receipt anyone can verify; the ledger invariant is public (peage_solvency).
  • PEAGE_URL points the server at a different rail instance (self-hosted, staging).

Sibling repos: peage (the rail, docs, skills) · x402: peage is a live x402 facilitator. An intrane.fr product. Contact: [email protected]

来源:README.md,提交 1816182

工具

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

版本历史

1
  1. v0.1.5最新Sep 16, 2026

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

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