← 返回
开发者工具 Key 中文

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-c...
MCP服务器,支持AI代理在Claude Desktop、Cursor、Cline等客户端直接完成支付、预算与账单管理。
up2itnow
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 1
Stars
📥 697
下载
💾 13
安装
1
版本
#latest

概述

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

npm install -g agentpay-mcp

Add to your MCP config (~/.config/claude/mcp.json or equivalent):

{
  "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

ToolDescription
------
paySend USDC to an address (enforces spend limits)
check_balanceQuery agent wallet balance
get_spendingCurrent session and daily spend totals
open_channelOpen a micropayment channel (Handshake58 compatible)
pay_channelIssue a signed payment voucher (zero gas)
close_channelSettle and reclaim unused channel funds
bridge_usdcCross-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

VariableRequiredDescription
---------
AGENT_PRIVATE_KEYYesAgent's signing key (0x-prefixed)
RPC_URLYesPolygon JSON-RPC endpoint
MAX_TX_USDCNoPer-transaction limit in USDC (default: 25)
MAX_DAILY_USDCNoDaily spending limit in USDC (default: 500)

GitHub

https://github.com/AI-Agent-Economy/agentpay-mcp

License

MIT

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-19 16:16 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,476
security-compliance

Validator Agent

up2itnow
在部署前通过运行全面的安全、测试、质量、文档、CI/CD、隐私、可维护性、可用性、市场性等检查来验证项目。
★ 0 📥 1,261
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,918