
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 分
請在儲存庫或註冊中心條目中宣告授權條款。