Your agent gets a checking account.
Gasless stablecoin payments across 10 EVM chains, from any MCP client. One install, then ask your AI to set it up. 27 tools, one package.
Pick your client. One package underneath.
Same @quackai/q402-mcp server for every client. CLI for Claude and Codex, a JSON snippet for Cursor and Cline.
~/.claude.json for you, no editing by hand.Claude Code CLI or Claude Desktop. Reload or restart the app after running.
Restart, then ask “Set up Q402”. It runs q402_doctor, creates ~/.q402/mcp.env, and walks you through pasting keys in your editor, never in chat.
Do I need a private key?
Two modes use a local private key; one lets Q402 sign server-side. Most users want Mode C, no PK, just an API key.
No PK in env. No MetaMask popup. Best for AI agents.
Q402_MULTICHAIN_API_KEY=q402_live_...
Mode C's wallet, your private key. Export once from the dashboard. Local signing, MetaMask untouched.
Q402_AGENTIC_PRIVATE_KEY=0x... Q402_MULTICHAIN_API_KEY=q402_live_...
Signs directly via EIP-7702 (shows "Smart account", reversible). Use a fresh wallet.
Q402_PRIVATE_KEY=0x... Q402_MULTICHAIN_API_KEY=q402_live_...
~/.q402/mcp.env. q402_doctor asks on first install.The exact tool your agent calls.
Change the amount or token. The table re-ranks all 10 chains by gas, the same q402_quote the MCP server returns to the agent.
- 01Stablechain 988USDC and USDT both alias to USDT0USDT0$0.0005$0.00
- 02BNB Chainchain 56BNB$0.0010$0.00
- 03Scrollchain 534352zkEVM L2, EIP-7702 since Euclid Phase 2ETH$0.0010$0.00
- 04Arbitrum Onechain 42161Native USDC (not USDC.e) + USDTETH$0.0015$0.00
- 05X Layerchain 196OKB$0.0020$0.00
- 06Mantlechain 5000MNT$0.0020$0.00
- 07Monadchain 143MON$0.0020$0.00
- 08Avalanche C-Chainchain 43114AVAX$0.0030$0.00
- 09Injective EVMchain 1776INJ$0.0040$0.00
- 10Ethereum Mainnetchain 1L1, volatile gas. RLUSD (Ripple USD) Ethereum-onlyETH$1.20$0.00
Only what an agent should reach for.
No hidden admin endpoints. Nothing moves funds outside the confirm-and-sign flow. Grouped by what they do, with the auth each one needs.
q402_doctorno authInstall + ongoing health check. Call on "set up Q402".q402_quoteno authCompare gas across all 10 chains. Read-only.q402_balanceapi keyVerify key + remaining quota.q402_agentic_infoapi keyAgent Wallet info: addresses, caps, ERC-8004 id. Read-only.q402_wallet_statusprivate keyPer-chain EIP-7702 delegation state. Read-only.
q402_paylive modeSingle-recipient gasless USDC / USDT / RLUSD send. Sandbox by default.q402_batch_paylive modeUp to 20 recipients in one signed batch (trial: 5).
q402_receiptno authFetch + locally verify a Trust Receipt.
q402_recurring_listapi keyList recurring rules + next run.q402_recurring_createapi keyAuthor a recurring rule (paid Multichain only).q402_recurring_firesapi keyLast 50 fires for one rule (timestamps + txHashes).q402_recurring_pauseapi keyPause a rule. Reversible.q402_recurring_resumeapi keyResume a paused or stopped rule.q402_recurring_skip_nextapi keySkip only the next fire. Cadence preserved.q402_recurring_cancelapi keyPermanently stop a rule.
q402_yield_reservesno authAave V3 markets + supply APY. BNB only. Read-only.q402_yield_positionsapi keyYour open yield positions + total supplied. Read-only.q402_yield_depositlive modeSupply USDC / USDT into Aave V3. Mode C, BNB only. Sandbox by default.q402_yield_withdrawlive modeWithdraw USDC / USDT from Aave V3 ("max" = full). Sandbox by default.
q402_bridge_quoteno authQuote CCIP fee for a USDC bridge on eth / avax / arbitrum.q402_bridge_sendlive keyExecute a CCIP USDC bridge from your Agent Wallet (Mode C). Sandbox by default.q402_bridge_historyowner sigList recent CCIP bridges. Owner-sig auth via dashboard.q402_bridge_gas_tankowner sigLINK + native Gas Tank bucket per CCIP chain.
q402_clear_delegationprivate keyClear EIP-7702 delegation on a chain. Q402-sponsored gas.
q402_request_createapi keyPublish a payment request (invoice). No funds move; returns a /pay link + req_ id.q402_request_statusno authLook up a request by req_ id: amount, recipient, status. Read-only.q402_request_paylive modePay a request gaslessly from your own Agent Wallet. Terms locked to the request.
Full reference, EIP-7702 details, Trust Receipt + safety guards: /docs, MCP for AI Clients · what the Agent Wallet does
npm 
