Scan your whole stack
Are you using @agent402-dev/pay-mcp?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.14.1
@agent402-dev/pay-mcp was last scanned on 25 Nov 2026 at version 0.14.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.14.1 LATEST | 25 Nov 2026 | No rules fired |
| 0.14.0 | 25 Nov 2026 | No rules fired |
| 0.13.0 | 25 Nov 2026 | No rules fired |
| 0.12.2 | 25 Nov 2026 | Not shown |
| 0.12.1 | 25 Nov 2026 | Not shown |
Findings for v0.14.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.14.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A402 (v1) is deprecated. The token payment option is now PREQ (mint
aTbGw3gU5JyJkAdXLj8rYZ3mCXkPbyHjtTAyCX3jQLX). Official addresses: https://claude.ai/artifact/S6UafAfViJk3DJeMsDMAja
MCP server (stdio) that lets an AI agent call x402 paid APIs on Solana and pay in USDC (or, if you allow it, PREQ) from your own wallet on your machine, only within the rules you set.
Part of the Agent402 toolkit (Solana).
Not related to agent402.tools, @agents402 or other similarly named sites, accounts or projects, including projects named "a402" on other chains.
It pays only what you allow and gives no opinion on any API or token. Not investment advice.
Nothing is signed unless every rule passes. With no configuration, every payment is refused.
| Rule | Variable | Default |
|---|---|---|
| Allowed domains (host or host:port; https only, http only for localhost) | X402_ALLOWED_DOMAINS |
empty → refuse all |
| Trusted recipients (payTo addresses) | X402_TRUSTED_PAY_TO |
empty → refuse all |
| Allowed assets | X402_ALLOWED_ASSETS |
USDC (PREQ only if listed) |
| Max USDC per payment (USD) | X402_MAX_USD |
0.05 |
| Max USDC per UTC day (USD) | X402_MAX_USD_PER_DAY |
1 |
| Max payments per UTC day | X402_MAX_PAYMENTS_PER_DAY |
20 |
| Max USDC per recipient per UTC day (USD) | X402_MAX_USD_PER_RECIPIENT_PER_DAY |
off (only the overall daily cap) |
| Max PREQ per payment (PREQ smallest units; 1 PREQ = 1,000,000) | X402_MAX_PREQ_ATOMIC |
not set → PREQ payments refused |
| Max PREQ per UTC day (PREQ smallest units; 1 PREQ = 1,000,000) | X402_MAX_PREQ_PER_DAY_ATOMIC |
not set → PREQ payments refused |
| Max PREQ per recipient per UTC day (PREQ smallest units; 1 PREQ = 1,000,000) | X402_MAX_PREQ_PER_RECIPIENT_PER_DAY_ATOMIC |
off (only the overall PREQ daily cap) |
| Ask a human at or above this USDC amount (USD) | X402_CONFIRM_ABOVE_USD |
off |
| Ask a human at or above this PREQ amount (PREQ smallest units) | X402_CONFIRM_ABOVE_PREQ_ATOMIC |
off |
X402_MAX_PREQ_ATOMIC=200000000000 is 200,000 PREQ per payment. wallet_status and payment_history also show PREQ amounts in smallest units (…Atomic fields).PREQ in X402_ALLOWED_ASSETS stops the server at start with an error (you can set X402_PREQ_MINT yourself).A402 in X402_ALLOWED_ASSETS (with its own X402_MAX_A402_ATOMIC and X402_MAX_A402_PER_DAY_ATOMIC, in A402 smallest units; 1 A402 = 1,000,000), the server prints "A402 (v1) is deprecated and no longer supported; use PREQ." at start, and wallet_status, x402_quote and x402_fetch results carry the same warning.confirmation_required).x402_fetch call. If the server answers 402 again after payment, it does not sign again.quoteId from x402_quote to x402_fetch to refuse if the amount, asset or recipient changed.X-Agent402-Receipt, from @agent402-dev/pay-server), x402_fetch checks its signature and that it matches the request, the response body and the payment, reports receipt.verified, and keeps the receipt in the local log. A receipt shows which key signed it; whether that key belongs to the seller is for the seller to publish.X402_HISTORY_PATH). Deleting or moving that file resets the daily totals.payTo address in the current UTC day, on top of the overall caps.x402_fetch results and wallet_status carry a near_daily_… warning. The payment itself is still decided by the caps.Other settings: X402_KEYPAIR_PATH (wallet key file, Solana CLI JSON; without it nothing is paid), X402_NETWORK (mainnet | devnet), X402_RPC_URL, X402_PAY_WITH (USDC | PREQ), X402_HISTORY_PATH (default ~/.agent402/payments.jsonl).
For larger payments you can pay only sellers that have locked funds on-chain for a fixed time. A lock is a commitment signal: nobody can confiscate it, so it does not cover losses.
| Rule | Variable | Default |
|---|---|---|
| Require a lock for every payment | X402_REQUIRE_LOCK=yes |
off |
| Require a lock only for USDC payments at or above this amount (USD) | X402_REQUIRE_LOCK_ABOVE_USD |
off |
| The minimum must still be locked this many days from now | X402_MIN_LOCK_DAYS |
90 |
| Minimum PREQ locked (PREQ smallest units; 1 PREQ = 1,000,000) | X402_MIN_LOCK_PREQ_ATOMIC |
not set |
| Minimum USDC locked (USDC smallest units; 1 USDC = 1,000,000) | X402_MIN_LOCK_USDC_ATOMIC |
not set |
| Minimum SOL locked as wrapped SOL (smallest units, lamports; 1 SOL = 1,000,000,000) | X402_MIN_LOCK_SOL_ATOMIC |
not set |
https://<seller host>/.well-known/agent402.json (made with signRegistration from @agent402-dev/pay-server), checks the signatures, then reads each listed Jupiter Lock escrow on-chain (read-only, through X402_RPC_URL or the public RPC).With only X402_ALLOWED_DOMAINS set and no wallet, bond_find_sellers, x402_quote and wallet_status show live sellers, prices and your limits, and nothing can be paid. Steps: Try it in one minute.
npx -y @agent402-dev/pay-mcp init
Creates a new key file at ~/.agent402/pay-wallet.json and prints its address, a Solana Pay link to fund it with USDC, how to back it up and the command to connect it. It never overwrites an existing file (--path <file> chooses another location, --network devnet uses devnet). The key is generated on your machine and is not sent anywhere. Payments need no SOL: the facilitator pays the network fee.
Step-by-step guide for agents that install servers themselves (for example Cline): llms-install.md.
Claude Code (example — set your own allowlists and limits):
claude mcp add a402-pay \
-e X402_KEYPAIR_PATH=<path to a small, dedicated wallet key file> \
-e X402_ALLOWED_DOMAINS=<api.example.com> \
-e X402_TRUSTED_PAY_TO=<recipient address> \
-- npx -y @agent402-dev/pay-mcp
Claude Desktop (claude_desktop_config.json):
{ "mcpServers": { "a402-pay": { "command": "npx", "args": ["-y", "@agent402-dev/pay-mcp"], "env": { "X402_KEYPAIR_PATH": "<key file>", "X402_ALLOWED_DOMAINS": "<api.example.com>", "X402_TRUSTED_PAY_TO": "<recipient address>" } } } }
Node 20+. Without X402_ALLOWED_DOMAINS and X402_TRUSTED_PAY_TO every payment is refused; without X402_KEYPAIR_PATH only x402_quote and wallet_status are useful.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.