Agent Payment Node
Integrates Circle CCTP V2 for cross-chain USDC bridging and supports USDC payments as an admitted asset on APN rails.
Integrates Coinbase and Coinbase Agentic Wallet as a provider-managed wallet for USDC transfers with gas paid from the USDC amount.
Supports payment operations on Ethereum, including direct native and token transfers, x402 purchases, Ethereum USDT via keyless sponsor, and Uniswap V3 guarded swaps.
Integrates NEAR 1Click as a cross-chain bridge rail for moving funds between supported networks.
Integrates Relay as a cross-chain bridge rail for agent payments.
Supports payment operations on Solana, including direct native and token transfers and Jupiter/Orca guarded swaps.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agent 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 --jsonThe 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.
Related MCP server: inflow
What can you do?
Scenario | Where to start |
Buy from a seller that accepts x402 |
|
Send a direct transfer | On EVM: |
Connect an AI agent |
|
Use Coinbase, MetaMask or another provider wallet |
|
Bridge or swap under owner limits | See families and the guides in the documentation index. |
Recover after an interruption |
|
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 serveapn 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 | |
A first direct transfer | |
Pay an x402 seller | |
Connect an agent | |
Wallets and providers | |
RPC endpoints and balances | |
All commands | |
Keys, threat model, recovery | |
Check a release | |
Everything else |
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 |
Discover the installed contract | |
Verify a release | |
First journey: a direct Base USDC transfer | |
x402 purchases | |
Provider wallets | |
Families | |
RPC configuration | |
Portfolio | |
Command reference | |
Custody and threat model | |
Recovery guarantees | |
Proof boundary |
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-native MCP for governed commerce, x402 payments, paid capabilities, and verifiable receipts.
Paid deterministic utilities and automation services for AI agents via MCP and x402.
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
MCP server for X420's pay-per-call agent services (x402, USDC on Base, paid from your own wallet).
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceLocal stdio MCP server for x402-powered paid crypto intelligence, decision verification, and agent automation search over USDC micropayments on Base.139 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for agent-native and human-accessible payments using MPP and x402 protocols, enabling payment flows from CLI or agent hosts.MIT
- AlicenseNot gradedqualityBmaintenanceProduction-grade suite of monetized tools for autonomous AI agent-to-agent commerce, enabling payments and task execution via x402 protocol and MCP.242 npmMIT
- AlicenseAqualityCmaintenanceEnables MCP clients such as Claude Code, Claude Desktop, and Cursor to communicate over stdio with the IMD swarm API to check evaluator verdicts, import public GitHub repositories, get quotes, and pay quoted orders through the x402/Permit2 flow with spend caps, dry-run safety, and configurable wallet signing.8MIT