返回顶部
a

agentpay-mcp

MCP server that gives AI agents the ability to make payments, manage budgets, and handle billing -- directly from Claude Desktop, Cursor, Cline, or any MCP-compatible agent runtime.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
232
下载量
0
收藏
概述
安装方式
版本历史

agentpay-mcp

# AgentPay MCP Payment layer for AI agents via Model Context Protocol. AgentPay MCP gives your AI agent the ability to make payments, track spending, and manage payment channels -- without leaving the agent runtime. Works with Claude Desktop, Cursor, Cline, Windsurf, and any MCP-compatible environment. ## What It Does - **Make payments:** Send USDC on Polygon directly from agent tool calls - **Budget management:** Hard spending limits enforced per-session and per-day - **Payment channels:** Open Handshake58-style channels for sub-cent micropayments - **CCTP bridge:** Cross-chain USDC settlement (Ethereum, Base, Polygon, Arbitrum) - **Non-custodial:** Agent holds its own keys -- no third-party custody ## Installation ```bash npm install -g agentpay-mcp ``` Add to your MCP config (`~/.config/claude/mcp.json` or equivalent): ```json { "mcpServers": { "agentpay": { "command": "agentpay-mcp", "env": { "AGENT_PRIVATE_KEY": "0x...", "RPC_URL": "https://polygon-rpc.com", "MAX_TX_USDC": "25", "MAX_DAILY_USDC": "500" } } } } ``` ## Tools Exposed | Tool | Description | |---|---| | `pay` | Send USDC to an address (enforces spend limits) | | `check_balance` | Query agent wallet balance | | `get_spending` | Current session and daily spend totals | | `open_channel` | Open a micropayment channel (Handshake58 compatible) | | `pay_channel` | Issue a signed payment voucher (zero gas) | | `close_channel` | Settle and reclaim unused channel funds | | `bridge_usdc` | Cross-chain USDC via CCTP | ## Usage Example In Claude Desktop with AgentPay MCP configured: > "Pay 5 USDC to 0xABC...123 for the API call results" The agent calls `pay(to="0xABC...123", amount=5, token="USDC")`. If within limits, it executes immediately. If over limits, it returns a request for human approval. ## Environment Variables | Variable | Required | Description | |---|---|---| | `AGENT_PRIVATE_KEY` | Yes | Agent's signing key (0x-prefixed) | | `RPC_URL` | Yes | Polygon JSON-RPC endpoint | | `MAX_TX_USDC` | No | Per-transaction limit in USDC (default: 25) | | `MAX_DAILY_USDC` | No | Daily spending limit in USDC (default: 500) | ## GitHub https://github.com/AI-Agent-Economy/agentpay-mcp ## License MIT

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agentpay-mcp-1776111090 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agentpay-mcp-1776111090 技能

通过命令行安装

skillhub install agentpay-mcp-1776111090

下载 Zip 包

⬇ 下载 agentpay-mcp v1.0.0

文件大小: 1.93 KB | 发布时间: 2026-4-14 15:57

v1.0.0 最新 2026-4-14 15:57
Initial listing: Payment layer for AI agents via Model Context Protocol

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部