
Pay Mcp
io.github.pay-skill由 GitHub 账号 pay-skill 发布v0.2.8更新于 Oct 24, 2026
USDC payments for AI agents on Base — direct, tabs, x402 paywalls, discovery
概览
让助手在 Base 上收发 USDC 付款、管理按量计费的 tab,并支付 x402 付费 API。
- 可以做什么
- 提供 15 个工具,用于在 Base 上进行 USDC 支付:直接转账、带 x402 自动付款的 HTTP 请求,以及由服务方按调用计费的预付费 tab。钱包工具涵盖余额与状态、充值链接、提现链接和测试网 USDC 铸造。还提供服务发现以查找付费 API,以及支付事件的 webhook 注册,并附带钱包与 tab 资源和引导式提示词。
- 适用场景
- 当助手需要用 Base 上的 USDC 为 API 或服务付费、结算 x402 付费墙,或与服务方运行预付费按量账户时使用。适合会动用真实资金、并需要查看余额、tab 和 webhook 的智能体工作流。
- 运行要求
- 通过 stdio 在本地运行,通常使用 npx @pay-skill/mcp,适用于 Claude Desktop、Cursor、VS Code 或 Claude Code 等桌面客户端。需要 Node.js 以及访问 Pay API 的网络连接。首次运行会生成钱包并存入操作系统钥匙串;PAYSKILL_SIGNER_KEY 为可选覆盖项,PAY_NETWORK 选择主网或测试网。
安装
在 SourceWeft 中
- 打开 控制台中的 Pay Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@pay-skill/mcp
MCP server for Pay -- the complete x402 payment stack for AI agents. USDC on Base.
Gives any MCP-compatible client (Claude Desktop, Cursor, VS Code, custom frameworks) the full power of Pay: direct payments, tabs, x402 paywalls, service discovery, and wallet management. No CLI binary needed.
Setup
Claude Desktop
Add to claude_desktop_config.json:
VS Code / Cursor
Add to .vscode/mcp.json:
Claude Code
That's it. On first run, the server generates a wallet and stores it in the OS keychain (Windows Hello, macOS Keychain, Linux Secret Service). Subsequent runs load it automatically.
Configuration
Key Resolution (checked in order)
- OS keychain (default) — Loads from the OS credential store via
keytar. On first run, a new keypair is generated and stored automatically. - Encrypted keystore — If
~/.pay/keys/default.encexists,PAYSKILL_SIGNER_KEYis used as the decryption password. - Raw hex key — If
PAYSKILL_SIGNER_KEYis a 64-char hex string, it's used directly. For dev/testing or importing an existing wallet. - Auto-generate — If none of the above, generates a new keypair and stores it in the OS keychain.
Diagnostic Check
Verify everything is configured correctly:
Output:
Tools (15)
Payments
Tabs (metered accounts)
Wallet
Discovery & Webhooks
Resources (5)
Prompts (3)
Development
License
MIT
Part of Pay
Pay is the complete x402 payment stack -- gateway, facilitator, SDKs, CLI, and MCP server -- that lets AI agents pay for APIs with USDC on Base.
- Documentation
- Architecture
- SDK -- Python + TypeScript
- CLI -- Command-line tool
- pay-gate -- x402 payment gateway
- Protocol -- Smart contracts
来源:README.md,提交 9dd2d20
工具
0版本历史
1- v0.2.8最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。