agentpay MCP server
io.github.Hellotravisss/agentpay·v0.9.0Enforced budgets for agents paying x402 APIs: the gateway holds the wallet, not the agent.
0 stars169 downloads/wk
Reviews
Write oneNobody has reviewed agentpay yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
agentpay tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_budgetShow how much this agent has spent today and this month, and its limits (per-transaction cap, daily/monthly budget, approval threshold).
paid_fetchFetch a URL that may require payment (HTTP 402 / x402). The agentpay gateway pays within this agent's budget and policy, then returns the unlocked response. Free URLs pass straight through. If the payment is denied or held for human approval, this returns an error explaining why — do not retry a denial.
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan50 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How agentpay compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 68% of 4,460 AI and agents servers
- Tools
- 2
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 169
- more than 72% of 1,538 AI and agents servers with a package
What its tools let an agent do: 2 read
Install agentpay in Claude Code, Cursor or VS Code
Runs npx -y agentpay-gateway on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add agentpay -- npx -y agentpay-gateway
What the publisher says
From the agentpay repository's README, as published. We do not edit it. Read it on GitHub
agentpay
A cross-rail spend-policy gateway for AI agent payments. It sits between your agents and anything that charges them money — x402-style paid APIs, Alipay/WeChat-style agent payments, whatever comes next — and answers the question every company deploying paying agents will have to answer:
"How do I let my agent spend money — across several payment rails — without giving it my wallets?"
Agents never hold payment credentials. They call paid resources through the gateway, which:
- intercepts the 402 Payment Required handshake and collects every payment option the merchant accepts,
- routes to one rail (agent's rail preference first, ties broken by cheapest cost in the policy's base currency),
- checks the payment against that agent's spend policy — budgets and caps are denominated in one base currency and enforced across all rails and currencies via exact FX conversion,
- executes approved payments on the chosen rail,
- retries the request with the payment proof and returns the unlocked response,
- writes every decision — denials included — to an append-only audit log.
┌────────────────────────────────────────────────┐ ─▶ paid API (x402, USDC)
agent ──HTTP──▶ │ gateway │
(no keys, no wallet) │ policy ─ fx ─ router ─ ledger ─ audit ─ rails │ ─▶ paid API (Alipay, CNY)
└────────────────────────────────────────────────┘ ─▶ ...The built-in dashboard (GET /admin) — live spend vs. budgets, per-rail breakdown, and one-click approve/reject on held payments.
For how it's built and why — design principles, the full 402 request lifecycle, and where the simple parts grow — see docs/ARCHITECTURE.md.
Where it fits — the neutral layer
The platforms are racing to let agents spend, and each is building a closed loop: Alipay's ACT delegated-payment protocol, WeChat Pay's isolated "AI card" with user-set authorization scope and spend limits, x402 for crypto-native APIs. Every platform wants agents spending inside its wallet, on its rail — and the design they keep converging on (a wallet isolated from your real account, scoped authorization, per-spend limits, big payments held for confirmation, a full audit trail) is exactly the control surface this project is built around. The thesis is no longer speculative; it's where the giants are pointing their capex.
But a company running real agents doesn't get to live in one loop. Its agents pay an x402 API in USDC, a vendor in CNY, the next thing in whatever ships next quarter — and no single platform gives it one neutral view across all of them: one base-currency budget, one audit trail, one policy, one place where the agent never holds a credential. The more these closed loops fragment, the more that spanning layer is missing.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
agentpay: common questions
- Is agentpay MCP server safe?
- Mostly: it is graded B (83/100). Read the agentpay safety report
- How do I install agentpay?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does agentpay need an API key?
- Yes. The registry entry asks for
AGENTPAY_API_KEY. - Is agentpay maintained?
- The last commit was 34 days ago (2026-10-01). The latest release is v0.9.0.
- What can I use instead of agentpay?
- Servers from other publishers that do the same job: Actual Budget MCP Server, freellmpool MCP server and 3D AI Agent Avatar MCP server.
- How does agentpay compare with other AI and agents MCP servers?
- safety score 83/100 (higher than 68% of 4,460 AI and agents servers); tools 2 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to agentpay
Same job from other publishers: the closest match first, then the best rated.
- Actual Budget MCP ServerMCP server exposing Actual Budget accounts, transactions, budgets and reporting to LLM assistants.not reviewedEstablishedB
- freellmpoolOpenAI-compatible MCP gateway cataloging 22 LLM providers, with routing, failover, and tools.not reviewedEstablishedA
- 3D AI Agent Avatar3D AI Agent Avatar — render any GLB, give it a Solana wallet, a voice, and pump.fun powers.not reviewedEstablishedB