Search / io.github.agent402-dev/a402-pay-mcp
a402-pay-mcp
L0· runs locallyPay x402 APIs (USDC, PREQ) and run Agent402 Bond deals from your own wallet. Refuses by default.
v0.16.1 · active · repository · descriptor JSON · versions
Search / io.github.agent402-dev/a402-pay-mcp
L0· runs locallyPay x402 APIs (USDC, PREQ) and run Agent402 Bond deals from your own wallet. Refuses by default.
v0.16.1 · active · repository · descriptor JSON · versions
{
"mcpServers": {
"a402-pay-mcp": {
"command": "npx",
"args": [
"-y",
"@agent402-dev/[email protected]"
],
"env": {
"X402_RPC_URL": "${X402_RPC_URL}"
}
}
}
}claude mcp add a402-pay-mcp -e "X402_RPC_URL=${X402_RPC_URL}" -- npx -y @agent402-dev/[email protected][mcp_servers.a402-pay-mcp]
command = "npx"
args = ["-y", "@agent402-dev/[email protected]"]
env = { "X402_RPC_URL" = "${X402_RPC_URL}" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"a402-pay-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@agent402-dev/[email protected]"
],
"enabled": true,
"environment": {
"X402_RPC_URL": "{env:X402_RPC_URL}"
}
}
}
}{
"mcpServers": {
"a402-pay-mcp": {
"command": "npx",
"args": [
"-y",
"@agent402-dev/[email protected]"
],
"env": {
"X402_RPC_URL": "${X402_RPC_URL}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=a402-pay-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBhZ2VudDQwMi1kZXYvcGF5LW1jcEAwLjE2LjEiXSwiZW52Ijp7Ilg0MDJfUlBDX1VSTCI6IiR7WDQwMl9SUENfVVJMfSJ9fQ%3D%3D"
}{
"servers": {
"a402-pay-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agent402-dev/[email protected]"
],
"env": {
"X402_RPC_URL": "${X402_RPC_URL}"
}
}
},
"deeplink": "vscode:mcp/install?%7B%22name%22%3A%22a402-pay-mcp%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40agent402-dev%2Fpay-mcp%400.16.1%22%5D%2C%22env%22%3A%7B%22X402_RPC_URL%22%3A%22%24%7BX402_RPC_URL%7D%22%7D%7D"
}{
"mcpServers": {
"a402-pay-mcp": {
"command": "npx",
"args": [
"-y",
"@agent402-dev/[email protected]"
],
"env": {
"X402_RPC_URL": "${X402_RPC_URL}"
}
}
}
}extensions:
"a402-pay-mcp":
enabled: true
name: "a402-pay-mcp"
type: stdio
cmd: "npx"
args:
- "-y"
- "@agent402-dev/[email protected]"
envs:
"X402_RPC_URL": "${X402_RPC_URL}"
timeout: 300
Placeholders to fill from your own secret store: ${X402_RPC_URL}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlauth.prm, auth.as_metadata, auth.cimdauth.secret_in_urltools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dump, tools.hidden_text, tools.poisoningstability.changes, stability.rug_pull, stability.new_linksdeps.known_vulns, deps.mcp_sdk_version, deps.resolvableNo changes to tool, prompt or resource template definitions recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo ~liveness-unmeasured +updated-2d-ago -duplicate-repo(3 names)
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
@agent402-dev/[email protected] npmthis version is not known to the dependency resolver
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
@agent402-dev/pay-mcp | npm | 0.16.1 | – | X402_RPC_URL |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
2 other active names share this repository: io.github.agent402-dev/a402-check-mcp, io.github.agent402-dev/bond-seller-mcp
{
"name": "io.github.agent402-dev/a402-pay-mcp",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "0.16.1",
"packages": [
{
"version": "0.16.1",
"transport": {
"type": "stdio"
},
"identifier": "@agent402-dev/pay-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "X402_KEYPAIR_PATH",
"format": "string",
"description": "Path to the payment wallet key file (Solana CLI JSON). Without it nothing is paid."
},
{
"name": "X402_ALLOWED_DOMAINS",
"format": "string",
"description": "Allowed domains, comma-separated. Empty: every payment refused."
},
{
"name": "X402_TRUSTED_PAY_TO",
"format": "string",
"description": "Trusted recipient addresses, comma-separated. Empty: every payment refused."
},
{
"name": "X402_ALLOWED_ASSETS",
"format": "string",
"description": "USDC (default) or USDC,PREQ. A402 (v1) is deprecated."
},
{
"name": "X402_MAX_USD",
"format": "string",
"description": "Max USDC per payment in USD (default 0.05)"
},
{
"name": "X402_MAX_USD_PER_DAY",
"format": "string",
"description": "Max USDC per UTC day in USD (default 1)"
},
{
"name": "X402_MAX_PAYMENTS_PER_DAY",
"format": "string",
"description": "Max payments per UTC day (default 20)"
},
{
"name": "X402_MAX_USD_PER_RECIPIENT_PER_DAY",
"format": "string",
"description": "Max USDC per recipient per UTC day in USD (default off)"
},
{
"name": "X402_MAX_PREQ_ATOMIC",
"format": "string",
"description": "Max PREQ per payment, in PREQ smallest units (1 PREQ = 1,000,000). Not set: PREQ refused."
},
{
"name": "X402_MAX_PREQ_PER_DAY_ATOMIC",
"format": "string",
"description": "Max PREQ per UTC day, in PREQ smallest units (1 PREQ = 1,000,000). Not set: PREQ refused."
},
{
"name": "X402_MAX_PREQ_PER_RECIPIENT_PER_DAY_ATOMIC",
"format": "string",
"description": "Max PREQ per recipient per UTC day, in PREQ smallest units (1 PREQ = 1,000,000). Default off."
},
{
"name": "X402_CONFIRM_ABOVE_USD",
"format": "string",
"description": "Ask a human at or above this USDC amount (USD). Default off."
},
{
"name": "X402_CONFIRM_ABOVE_PREQ_ATOMIC",
"format": "string",
"description": "Ask a human at or above this PREQ amount (PREQ smallest units). Default off."
},
{
"name": "X402_REQUIRE_LOCK",
"format": "string",
"description": "yes = pay only sellers whose registered on-chain lock meets the minimums (default off)"
},
{
"name": "X402_REQUIRE_LOCK_ABOVE_USD",
"format": "string",
"description": "Require a seller lock only for USDC payments at or above this amount (USD)"
},
{
"name": "X402_MIN_LOCK_DAYS",
"format": "string",
"description": "The minimum must still be locked this many days from now (default 90)"
},
{
"name": "X402_MIN_LOCK_PREQ_ATOMIC",
"format": "string",
"description": "Minimum PREQ locked by the seller, PREQ smallest units (1 PREQ = 1,000,000)"
},
{
"name": "X402_MIN_LOCK_USDC_ATOMIC",
"format": "string",
"description": "Minimum USDC locked by the seller, USDC smallest units (1 USDC = 1,000,000)"
},
{
"name": "X402_MIN_LOCK_SOL_ATOMIC",
"format": "string",
"description": "Minimum wrapped SOL locked by the seller, lamports (1 SOL = 1,000,000,000)"
},
{
"name": "X402_BOND_SELLERS",
"format": "string",
"description": "Agent402 Bond: seller addresses you may open deals with, comma-separated. Empty: bond_open refused."
},
{
"name": "X402_BOND_MAX_USD",
"format": "string",
"description": "Agent402 Bond: max price per deal (USD). Unset: bond_open refused."
},
{
"name": "X402_BOND_MIN_SELLER_BOND_BPS",
"format": "string",
"description": "Agent402 Bond: minimum seller bond as a share of the price, basis points (default 500 = 5%)."
},
{
"name": "X402_BOND_MAX_DAYS",
"format": "string",
"description": "Agent402 Bond: max days from now to the delivery deadline (default 30)."
},
{
"name": "X402_BOND_CONFIRM_ABOVE_USD",
"format": "string",
"description": "Agent402 Bond: ask a human at or above this amount in USD (default 0 = always ask)."
},
{
"name": "X402_BOND_MAX_PREQ_ATOMIC",
"format": "string",
"description": "Agent402 Bond: max PREQ price per deal, PREQ smallest units (1 PREQ = 1,000,000). Not set: PREQ deals refused."
},
{
"name": "X402_BOND_CONFIRM_ABOVE_PREQ_ATOMIC",
"format": "string",
"description": "Agent402 Bond: ask a human at or above this PREQ amount, smallest units (default 0 = always ask)."
},
{
"name": "X402_BOND_DIRECTORY_URL",
"format": "string",
"description": "Agent402 Bond: seller directory for bond_find_sellers (https). Default: the toolkit list. off = tool off."
},
{
"name": "X402_BOND_V2_ALLOW_SHARE",
"format": "string",
"description": "Agent402 Bond v2: 1 = accept deals where a stated share of your deposit goes to the seller if you do not accept. Default: refused."
},
{
"name": "X402_BOND_V2_ARBITERS",
"format": "string",
"description": "Agent402 Bond v2: arbiter addresses you accept, comma-separated. Default: deals with an arbiter refused."
},
{
"name": "X402_MCP_TASKS",
"format": "string",
"description": "on = add bond_v2_wait_result as an MCP task (experimental, read-only). Default off."
},
{
"name": "X402_NETWORK",
"format": "string",
"description": "mainnet or devnet"
},
{
"name": "X402_RPC_URL",
"format": "string",
"isSecret": true,
"description": "Solana RPC URL used to build payment transactions"
},
{
"name": "X402_PAY_WITH",
"format": "string",
"description": "Preferred asset: USDC or PREQ"
},
{
"name": "X402_PREQ_MINT",
"format": "string",
"description": "PREQ mint override (only needed before the PREQ mint is built into this version, or for devnet rehearsal)"
},
{
"name": "X402_ALLOWED_NETWORKS",
"format": "string",
"description": "Networks payments may use: solana (default) or solana,base. Base (EVM) per-request payments are off by default"
},
{
"name": "X402_PREFER_NETWORK",
"format": "string",
"description": "Network to use when an option passes on both: solana (default) or base"
},
{
"name": "X402_EVM_KEY_PATH",
"format": "string",
"description": "Base wallet key file (one line, 0x private key). Without it every Base payment is refused"
},
{
"name": "X402_HISTORY_PATH",
"format": "string",
"description": "Local payment log (JSONL). Daily limits are counted from this file."
},
{
"name": "X402_BOND_PREFER",
"format": "string",
"description": "Set to on to read a seller's 402 extensions.bond, check that bond account on chain (mint, owner = payment receiver, balance >= maxCover), and ask before paying a seller without a checked bond. Only adds a confirmation; limits are unchanged. Default off."
},
{
"name": "X402_UNBONDED_CONFIRM_ABOVE_USD",
"format": "string",
"description": "With X402_BOND_PREFER=on: ask before paying a seller without a checked bond at or above this USD amount (non-USDC payments always ask). Default 0.05."
}
]
}
],
"repository": {
"url": "https://github.com/agent402-dev/agent402-toolkit",
"source": "github",
"subfolder": "packages/pay-mcp"
},
"description": "Pay x402 APIs (USDC, PREQ) and run Agent402 Bond deals from your own wallet. Refuses by default."
}