MCP server for Q402. Gasless USDC/USDT/RLUSD/Q payments on 12 EVM chains (USDG on Robinhood Chain), Q402 Yield (gasless supply and withdraw into Aave, Lista, and Morpho lending vaults), gasless non-custodial escrow (create, fund, release, refund, dispute), Q staking, a Chainlink CCIP USDC bridge on the eth/avax/arbitrum triangle, RedStone NAV/price triggers (autonomous gasless payout on a feed crossing), an x402 client (Base) for direct payment to any x402-enabled API, and read-only treasury Memory (spend summaries, vendor history, per-agent spend reports). 46 tools, callable from Claude (Desktop / Code), OpenAI Codex CLI, and any other Model Context Protocol client.
Critical failures across all 43 tools. ZERO input schemas visible in source, all tools declare empty object properties {}. Descriptions exist but are highly technical, domain-specific jargon (EIP-7702, CCIP, Mode C, AES-GCM) without explaining WHEN/WHY to call each tool or what parameters are required. No parameter descriptions at all, tools like q402_pay, q402_batch_pay, q402_bridge_send accept unknown inputs. Error handling, output schemas, and composition guidance entirely absent. This server prioritizes domain expertise over LLM usability.
read-only, requires key - read-only treasury Memory (per-agent spend reports)
read-only, requires key - Agent Wallet info + balance delegation state across all 12 chains
read-only, requires key - verify + remaining quota
multi-recipient settlement (trial: 5 / paid: 20 per call). Same chain + token across all recipients. Same sandbox gating as q402_pay
read-only, requires key - per-chain Gas Tank native balance + auto-fund debit window so AI can decide whether to top up before bridging.
read-only, requires key - recent bridge attempts for the caller's Agent Wallet (src/dst/amount/CCIP msgId/status), most-recent first.
read-only, no key - CCIP bridge quote across the eth/avax/arbitrum triangle. Surfaces fee + ETA + token path so AI agents can preview before send.
ALL 43 TOOLS: Input schemas are empty objects (properties: {}). No parameters are defined, typed, or described. LLMs cannot determine what inputs each tool accepts or what values are valid. This violates the fundamental requirement that every parameter must have a type and description.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 40 | 2026-07-28+ | v2 |
write, requires live Multichain key - execute a CCIP bridge from the Agent Wallet (Mode C). The server signs ccipSend with the AES-GCM-encrypted PK and auto-funds source-chain gas from the user's Gas Tank. Sandbox-default; sandbox: false + Q402_ENABLE_REAL_PAYMENTS=1 fires real bridge.
write, requires key - clears the EIP-7702 delegation on a chain (Q402-sponsored gas, local signing)
read-only, no key - first-install onboarding + ongoing health check. AI calls this BEFORE pay / balance whenever the user mentions setup or "is Q402 working". Returns recommendedActions[] for creating ~/.q402/mcp.env on first install.
write, requires key - create a gasless non-custodial escrow
write, requires key - dispute an escrow
write, requires key - lock funds into an escrow
write, requires key - refund locked funds back to the payer
write, requires key - release funds from an escrow to the recipient
read-only, no key - look up an escrow by id
read-only, requires key - read-only treasury Memory (spend summaries)
read-only, requires key - recent OFT bridge attempts
read-only, no key - LayerZero OFT bridge quote
write, requires key - execute a LayerZero OFT bridge
single-recipient settlement. Sandbox-default - real TX only when API key (live tier), private key, and Q402_ENABLE_REAL_PAYMENTS=1 all set
read-only, no key, no funds - gas comparison
read-only, no key - fetch + locally verify a Trust Receipt
write, requires key - permanently stop a rule
write, requires key - author a new recurring rule (single-recipient via MCP path)
read-only, requires key - past-fire history of one rule (last 50 with tx hashes + amounts)
read-only, requires key - list Agent Wallet's recurring rules + status + next-run time
write, requires key - pause an active rule (reversible via _resume)
write, requires key - bring a paused / stopped rule back to active
write, requires key - skip ONLY the next scheduled fire, preserve cadence
write, requires key - publish a payment request (invoice). No funds move; returns a /pay link + req_ id. Recipient defaults to the Agent Wallet.
write, requires key - pay a request gaslessly from the payer's own Agent Wallet (Mode C). terms come from the request; confirm-gated like q402_pay.
read-only, no key - look up a request by req_ id (amount/token/chain/recipient/status). notFound instead of throw.
write, requires key - stake Q tokens
read-only, requires key - Agent Wallet's staking positions
write, requires key - unstake Q tokens
read-only, requires key - read-only treasury Memory (vendor history)
read-only, requires key - per-chain EIP-7702
write, requires key - x402 client (Base) for direct payment to any x402-enabled API. Handles 402 Payment Required responses, signs EIP-3009 TransferWithAuthorization, and retries with X-PAYMENT header.
write, requires key - supply stablecoins into Q402 Yield: Aave V3 or Lista on BNB (USDC/USDT), or Morpho on Base (USDC). Mode C, confirm-gated, sandbox-default
read-only, requires key - Agent Wallet's open Q402 Yield positions + total supplied (USD)
read-only, no key - list Q402 Yield lending markets + supply APY. Aave V3 + Lista on BNB, Morpho on Base.
write, requires key - withdraw out of Q402 Yield (BNB Aave/Lista, Base Morpho; amount "max" = full). Mode C, confirm-gated, sandbox-default
Descriptions rely on domain jargon (EIP-7702, CCIP, Mode C, AES-GCM, AES-GCM-encrypted PK, Morpho, Lista, Aave V3, RLUSD, x402, LayerZero OFT, CIMD) without explaining WHEN to call each tool or what problem it solves for the user. LLMs cannot select tools based on user intent when descriptions assume deep blockchain/DeFi knowledge.
42 of 43 tools have NO visible output schema documentation. LLMs cannot plan downstream tool calls or extract required fields (e.g., chain_id, recipient_id, tx_hash) when response structure is undocumented. Only q402_x402_fetch has partial parameter documentation.
No error handling guidance. Tools like q402_pay, q402_bridge_send, q402_yield_deposit are destructive (write funds, execute transactions) but provide no recovery hints, retry guidance, or confirmation patterns. Agents cannot distinguish retryable errors from fatal ones.
Tool composition broken. q402_pay, q402_batch_pay, q402_bridge_send, q402_yield_deposit accept unknown parameters (empty schema). Agents cannot chain tools because they don't know what IDs/references to pass from one tool's output to another's input. E.g., does q402_pay accept recipient_id or recipient_address? Does it return tx_hash or tx_id?