agent-payment-node
Agent Payment Node (APN): open-source local-first payment runtime and MCP server for AI agents. x402, USDC, EVM, Solana, TRON.
Install / Use
claude mcp add nuanu-ai -- npx -y github:nuanu-ai/agent-payment-nodeIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Finance & AccountingSupported Platforms
Tags
Our assessment of agent-payment-node
agent-payment-node scores 84/100 on our quality scale, 64th of 106 Finance & Accounting skills we index.
Its MCP Server is 7.7 KB long, well organised into 11 sections with 2 code examples: a thorough specification that gives an agent plenty to work with.
It has 46 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so agent-payment-node is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-11-28. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
agent-payment-node compared with similar skills
All 4 of these similar skills score higher than agent-payment-node; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| agent-payment-node (this skill)by nuanu-ai | 84 | 46 | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 115.4k | 3d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 91.5k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.6k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 81.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install agent-payment-node?
- Run
claude mcp add nuanu-ai -- npx -y github:nuanu-ai/agent-payment-node. The install tabs above show the steps for each supported agent. - Which AI agents does agent-payment-node work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is agent-payment-node safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is agent-payment-node still maintained?
- The repository was last updated today, so agent-payment-node is actively maintained.
Skill content
View source on GitHubAgent Payment Node (APN)
Agent Payment Node (APN) is an open-source, local-first payment runtime and MCP server for AI agents. An agent drives it through the apn CLI or a local
stdio MCP server; a human owner sets the limits and approves payments in a foreground terminal, and x402 purchases run
inside a policy the owner activated. APN keeps each
payment as a durable operation with an idempotency key, so a crash or a lost response never sends the same money twice.
macOS Apple Silicon · Node 24 · MIT · TypeScript · CLI + stdio MCP
Website: agentpaymentnode.com
Install · What can you do? · Connect MCP · Documentation · Releases · Security
What is APN?
APN lets an AI agent pay without holding unlimited access to a wallet. The agent prepares a payment, and APN checks it against limits the owner set. Direct transfers wait for the owner to approve them in a terminal; x402 purchases run only inside a spending policy the owner activated. If the process crashes mid-payment, APN finds the saved operation and does not send the money twice.
It covers:
- direct transfers of native coins and listed tokens on EVM networks, Solana and TRON;
- standard x402 purchases (EIP-3009 USDC, Permit2, ERC-20 transfer-proof merchants);
- USDC transfers whose gas is paid from the USDC amount (local wallet, MetaMask Agent Wallet, MetaMask Smart Account, Coinbase, PayAI facilitator) and Ethereum USDT through a keyless sponsor;
- bridges (LI.FI with Across and Stargate, Relay, Circle CCTP V2, GasZip, NEAR 1Click, direct Stargate V2);
- guarded swaps (Uniswap V3 on Ethereum, SunSwap on TRON, Jupiter and Orca on Solana);
- an owner allowlist that admits each asset, rail and mechanism with per-operation and daily caps.
APN runs on Apple Silicon macOS with Node 24. The platform support matrix records the
boundary and what Linux or Windows would need. A matching version number does not prove that an installed artifact
contains a given source change: check apn --version, the release provenance and apn help --json together.
Install
brew install nuanu-ai/tap/apn
apn --version
apn help --json
The Formula installs apn and the Homebrew node@24 dependency. Discovery commands run before any state, Keychain,
wallet, policy, network or signing work. See Getting started for the full install text,
Verify a release for release checks and the
release list for current versions.
What can you do?
| Scenario | Where to start |
| --- | --- |
| Buy from a seller that accepts x402 | apn x402 inspect, then apn x402 fetch prepare and approve. See x402 purchases. |
| Send a direct transfer | On EVM: apn pay transfer prepare-asset, then approve in a foreground terminal. Solana and TRON have their own commands. See the first journey. |
| Connect an AI agent | apn mcp config and apn mcp serve. See MCP setup. |
| Use Coinbase, MetaMask or another provider wallet | apn wallet connect. See provider wallets. |
| Bridge or swap under owner limits | See families and the guides in the documentation index. |
| Recover after an interruption | apn operation status, operation resume, receipt get. See custody and recovery. |
Which networks, assets and providers work depends on the route. The documentation index links to the guide for each one.
Connect an MCP client
apn mcp config
apn mcp serve
apn mcp config prints the launch descriptor and apn mcp serve runs the local stdio server. Your MCP client starts it
as a local process. The agent never approves a payment: a command that needs a human returns the exact command to run in
a terminal. There is no hosted remote MCP endpoint in this repository. See MCP setup.
How APN works
An agent prepares a payment. A prepare command freezes one exact effect (chain, asset, amount, recipient, fee budget)
under an idempotency key and signs nothing. An approve or execute command re-checks the frozen facts and the active
owner policy, shows the exact terms in a foreground terminal and asks for a typed code before signing. Every send is
behind a durable marker, and an ambiguous send is observed before anything else. The full text is in
How APN works.
Documentation
| Need | Guide | | --- | --- | | Install and discover the commands | Getting started | | A first direct transfer | First journey | | Pay an x402 seller | x402 purchases | | Connect an agent | MCP setup | | Wallets and providers | Provider wallets | | RPC endpoints and balances | RPC configuration, Portfolio | | All commands | Command reference | | Keys, threat model, recovery | Custody and recovery | | Check a release | Verify a release | | Everything else | Documentation index |
Where the previous README sections went
The README was shortened. Its detailed sections moved word for word into docs/. Old links to these headings still land here.
| Previous section | Now in | | --- | --- | | <a id="discover-the-installed-contract"></a>Discover the installed contract | docs/getting-started.md | | <a id="verify-a-release"></a>Verify a release | docs/release-verification.md | | <a id="first-journey-a-direct-base-usdc-transfer"></a>First journey: a direct Base USDC transfer | docs/first-journey-reference.md | | <a id="x402-purchases"></a>x402 purchases | docs/x402-purchases.md | | <a id="provider-wallets"></a>Provider wallets | docs/provider-wallets.md | | <a id="families"></a>Families | docs/families.md | | <a id="rpc-configuration"></a>RPC configuration | docs/rpc-configuration.md | | <a id="portfolio"></a>Portfolio | docs/portfolio.md | | <a id="command-reference"></a>Command reference | docs/command-reference.md | | <a id="custody-and-threat-model"></a>Custody and threat model | docs/custody-and-recovery.md | | <a id="recovery-guarantees"></a>Recovery guarantees | docs/custody-and-recovery.md | | <a id="proof-boundary"></a>Proof boundary | docs/custody-and-recovery.md |
Security and custody
APN never prints or exports a private key. Read the custody and threat model before funding a wallet. Report a vulnerability privately, as SECURITY.md describes, and never in a public issue.
Contributing
Open an issue for a bug, an installation problem or a
documentation suggestion. Include the output of apn --version and remove secrets. See CONTRIBUTING.md.
License
Licensed under the MIT License.
<a id="agent-payment-node"></a>
Related Skills
Agent-Reach
115.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
91.5kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.6k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
headroom
81.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
