
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@arispay/payagent-mcp
Advanced tools
One coherent USDC payment product for AI agents: pay x402 APIs on Base, Solana, and BNB Chain with spend mandates, receipts, and idempotency. Seven tools: setup, discover, inspect, pay, balance, history, check_payment_signal. Use with Claude, Cursor, or a
One coherent USDC payment product for AI agents: call x402-paid APIs, with spend mandates, receipts, and idempotency. Works with Claude Desktop, Cursor, Windsurf, or any MCP client. A thin wrapper around the payagent SDK.
Two ways to hold the wallet:
PAYAGENT_PRIVATE_KEY to a funded EOA key. pay signs EIP-3009 locally — no ArisPay account, no email. The only guardrail is the wallet balance; use a dedicated low-balance wallet.setup({ email }) self-provisions an account, a CDP-managed wallet, and a spend mandate in one call. ArisPay enforces per-transaction, daily, and monthly limits server-side before signing; no private key ever lives in this process.Six core tools (the default surface):
| Tool | What it does | Money |
|---|---|---|
setup | Create or recover an account + payer wallet in one call (delegated mode) | moves none |
discover | Search the paid-API catalog by intent + budget | read-only |
inspect | Read a URL's price and payment requirements without paying | read-only |
pay | The complete machine path: request → 402 → select variant → validate policy → pay → structured receipt. Requires an idempotencyKey; a repeated key returns the cached receipt without paying again | spends real money |
balance | Active identity, deposit address, on-chain USDC balance, mandate limits | read-only |
history | Recent payments — server feed (delegated) or local receipts (self-custody) | read-only |
Wallet administration (create_agent, fund_agent, list_agents, rename_agent) loads only when the host config sets PAYAGENT_MCP_PROFILE=admin.
Every tool declares MCP safety annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); pay is the only destructive tool.
| Asset | Network | Local key (self-custody) | Delegated (managed mandate) |
|---|---|---|---|
| USDC | Base (default) | ✅ | ✅ |
| USDC | Ethereum, Polygon | ✅ | ✅ |
| USDC | Base Sepolia (testnet) | ✅ | ✅ |
| USDC (SPL) | Solana, Solana devnet | ❌ (EVM signing only) | ✅ (live on api.arispay.app since 2026-08-25) |
| USD1 | BNB Chain | ✅ | ✅ |
Notes:
pay prefers an EVM variant and falls back to Solana when the seller offers no EVM option.transferWithAuthorization (EIP-3009): it succeeds or reverts atomically. When the seller returns X-PAYMENT-RESPONSE, the receipt carries the settlement transaction hash.facilitator.arispay.app) charges no facilitator fee; sellers may use any facilitator, and their fee/finality policy applies.Add the server to your MCP client config. No environment variables are required — pick a wallet mode later, from inside the chat, or set one of the env options below.
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"arispay": {
"command": "npx",
"args": ["-y", "@arispay/payagent-mcp"]
}
}
}
For the zero-signup mode, add the key to the env block:
"env": { "PAYAGENT_PRIVATE_KEY": "0x..." }
Same server block in .cursor/mcp.json. Windsurf: same pattern in ~/.codeium/windsurf/mcp_config.json.
npx payagent wallet new, put it in the host config as PAYAGENT_PRIVATE_KEY, send USDC on Base to the printed address. balance shows the deposit address; pay pays.setup({ email: "you@example.com" }) — it returns the wallet address and mandate. Fund the wallet with USDC, confirm with balance, then pay. Credentials persist to ~/.payagent/config.json and are shared with the payagent CLI.| Variable | Description |
|---|---|
PAYAGENT_PRIVATE_KEY | Funded EOA key for local self-custody signing (zero-signup mode). |
ARISPAY_API_KEY | Developer key — usually unneeded; setup self-provisions one. |
ARISPAY_URL | ArisPay API base URL. Default https://api.arispay.app. |
PAYAGENT_MCP_PROFILE | admin additionally loads the four wallet-administration tools. Default: core (six tools). |
ARISPAY_AGENT_KEY / PAYAGENT_WALLET | Legacy single-agent pair for v2.0.x hosts. |
v4 is a breaking release: the surface collapsed to one x402/USDC product.
| v3 tool | v4 |
|---|---|
create_user | setup |
pay_api | pay (now requires idempotencyKey, returns a structured receipt) |
discover_paid_api | discover |
inspect_paid_api | inspect |
check_wallet, get_balance_agent | balance |
| — | history (new) |
create_agent, fund_agent, list_agents, rename_agent | unchanged, behind PAYAGENT_MCP_PROFILE=admin |
create_wallet, list_wallets, fund_wallet, get_balance, pay_merchant, create_enduser, attach_card_for_user, set_user_limits, get_user_status | removed — the fiat funding and platform (end-user) surfaces left the public MCP |
pay requires a caller-chosen idempotencyKey (min 8 chars — use a UUID). Every completed payment writes a machine-readable receipt (amount, asset, network, wallet, settlement tx, remaining mandate) to ~/.payagent/mcp-receipts.json. Re-calling pay with a key that already paid returns the stored receipt and does not pay again — including when the paid request failed mid-flight. history lists receipts in self-custody mode; delegated mode reads the authoritative server feed.
pay with a URL and an idempotencyKey; the seller answers HTTP 402 with its price.PAYAGENT_PRIVATE_KEY set, payagent signs the EIP-3009 authorization locally. Otherwise ArisPay validates the request against the agent's mandate and signs via Coinbase CDP.payagent retries with the signed payment header; the seller's facilitator settles USDC on-chain.In delegated mode, no private key lives in this process and payments that breach the mandate are rejected before any on-chain action. In local mode, the key is yours and stays in your process.
npm install @arispay/payagent-mcp
Or invoke directly via npx @arispay/payagent-mcp from an MCP client config — no pre-install required. npx buyforme-mcp is the same server under the consumer brand.
MIT
FAQs
One coherent USDC payment product for AI agents: pay x402 APIs on Base, Solana, and BNB Chain with spend mandates, receipts, and idempotency. Seven tools: setup, discover, inspect, pay, balance, history, check_payment_signal. Use with Claude, Cursor, or a
The npm package @arispay/payagent-mcp receives a total of 75 weekly downloads. As such, @arispay/payagent-mcp popularity was classified as not popular.
We found that @arispay/payagent-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.