1. Conduid
  2. Blockchain
  3. io.github.bitgett/q402-mcp
MCP server · Blockchain

io.github.bitgett/q402-mcp

Q402 — gasless USDC/USDT payments across 7 EVM chains, callable from any MCP client.

Unclaimed blockchain
37Low

Scored 5 months ago · breakdown

About io.github.bitgett/q402-mcp

io.github.bitgett/q402-mcp is an MCP server published by bitgett in the Blockchain category: q402 — gasless USDC/USDT payments across 7 EVM chains, callable from any MCP client.

The repository has 1 stars and 1 forks, with the last commit 3 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add io-github-bitgett-q402-mcp -- npx -y @quackai/q402-mcp
npx
npx -y @quackai/q402-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (52)

**Bridge (CCIP + LayerZero)**No description in manifest

Parameters not published.

**Escrow**No description in manifest

Parameters not published.

**Payment requests**No description in manifest

Parameters not published.

**Payments & wallet**No description in manifest

Parameters not published.

**Recurring**No description in manifest

Parameters not published.

**Staking**No description in manifest

Parameters not published.

**Treasury memory**No description in manifest

Parameters not published.

**Triggers (RedStone)**No description in manifest

Parameters not published.

**Yield**No description in manifest

Parameters not published.

q402_agent_spend_reportapi key

Parameters not published.

Show all 52 tools
q402_agentic_infoapi key

Parameters not published.

q402_balanceapi key

Parameters not published.

q402_batch_paylive mode

Parameters not published.

q402_bridge_gas_tanknot yet wired

Parameters not published.

q402_bridge_historynot yet wired

Parameters not published.

q402_bridge_quotenone

Parameters not published.

q402_bridge_sendlive mode

Parameters not published.

q402_clear_delegationprivate key / api key

Parameters not published.

q402_doctornone

Parameters not published.

q402_escrow_createapi key

Parameters not published.

q402_escrow_disputelive mode

Parameters not published.

q402_escrow_locklive mode

Parameters not published.

q402_escrow_refundlive mode

Parameters not published.

q402_escrow_releaselive mode

Parameters not published.

q402_escrow_statusnone

Parameters not published.

q402_memory_summaryapi key

Parameters not published.

q402_paylive mode

Parameters not published.

q402_quotenone

Parameters not published.

q402_receiptnone

Parameters not published.

q402_recurring_cancelapi key

Parameters not published.

q402_recurring_createapi key

Parameters not published.

q402_recurring_firesapi key

Parameters not published.

q402_recurring_listapi key

Parameters not published.

q402_recurring_pauseapi key

Parameters not published.

q402_recurring_resumeapi key

Parameters not published.

q402_recurring_skip_nextapi key

Parameters not published.

q402_redstone_feedsnone

Parameters not published.

q402_redstone_trigger_cancellive mode

Parameters not published.

q402_redstone_trigger_createlive mode

Parameters not published.

q402_redstone_trigger_listlive mode

Parameters not published.

q402_request_createapi key

Parameters not published.

q402_request_paylive mode

Parameters not published.

q402_request_statusnone

Parameters not published.

q402_stakelive mode

Parameters not published.

q402_stake_positionslive mode

Parameters not published.

q402_unstakelive mode

Parameters not published.

q402_vendor_historyapi key

Parameters not published.

q402_wallet_statusprivate key

Parameters not published.

q402_yield_depositlive mode

Parameters not published.

q402_yield_positionsapi key

Parameters not published.

q402_yield_reservesnone

Parameters not published.

q402_yield_withdrawlive mode

Parameters not published.

Ask AI

✦

Ask AI about io.github.bitgett/q402-mcp

Powered by Claude · Grounded in docs

I know everything about io.github.bitgett/q402-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

@quackai/q402-mcp

MCP server for Q402 — gasless USDC and USDT payments across 7 EVM chains, callable directly from Claude Desktop and any other Model Context Protocol client.

npm license

Claude can now reason about stablecoin payments end to end — quote a transfer across 7 chains, pick the cheapest route, and (optionally) settle the transaction over Q402's EIP-7702 relayer infrastructure. The recipient receives the full amount; the sender pays $0 in gas.


Quick start (Claude Desktop)

claude mcp add q402 -- npx -y @quackai/q402-mcp

Or, if you prefer editing the config file directly, add this entry to your claude_desktop_config.json:

{
  "mcpServers": {
    "q402": {
      "command": "npx",
      "args": ["-y", "@quackai/q402-mcp"]
    }
  }
}

Restart Claude Desktop and ask:

"Compare gas costs to send 50 USDC to vitalik.eth across all 7 Q402 chains."

You'll get a ranked breakdown immediately — no API key, no signup, no funds at risk.


Tools exposed

Tool Auth Purpose
q402_quote none Compare gas cost and supported tokens across chains. Read-only.
q402_balance API key Verify the API key and report its plan tier (live vs sandbox).
q402_pay API key + private key + flag Send a gasless payment. Sandbox by default — see Sandbox vs live mode.

q402_pay follows a "confirm in chat first" contract: the tool description instructs the model to never call it without explicit user approval of the recipient address, amount, chain, and token.

Per-chain gas tank balances and full transaction history live in the dashboard — those endpoints require a wallet signature, not a bare API key, so the MCP server points the agent there instead of exposing them.


Sandbox vs live mode

By default the MCP server operates in sandbox mode: q402_pay returns a deterministic-looking fake transaction hash, no funds move, no gas-tank credit is consumed. That makes it safe to plug into any Claude Desktop install without worrying about an LLM hallucinating a payment.

To enable real on-chain transactions, all three environment variables must be set:

Q402_API_KEY=q402_live_...           # live-tier key from /dashboard
Q402_PRIVATE_KEY=0xabc...            # signer for the payer EOA
Q402_ENABLE_REAL_PAYMENTS=1          # explicit opt-in

Anything missing → automatic sandbox fallback with a hint pointing at what to set.

Hard caps

Two additional guards run before every payment regardless of mode:

Env var Default Effect
Q402_MAX_AMOUNT_PER_CALL 5 Reject any single call where amount > N USD-equivalent.
Q402_ALLOWED_RECIPIENTS (empty = off) Comma-separated address allowlist. When set, all other recipients are rejected.

Combined with the confirm: true argument the tool requires, this means the model needs (a) explicit user OK in chat, (b) amount ≤ cap, (c) recipient on allowlist if one exists, (d) all three live-mode env vars set, before a single wei moves.


Configuration reference

Env var Required for Notes
Q402_API_KEY balance, live-pay Issue at https://q402.quackai.ai/dashboard. q402_test_* keys keep sandbox on.
Q402_PRIVATE_KEY live-pay Signer for the payer EOA. Never share. Never paste in chat.
Q402_ENABLE_REAL_PAYMENTS live-pay Set to 1 to opt in. Any other value (or unset) → sandbox.
Q402_MAX_AMOUNT_PER_CALL optional USD-equivalent cap. Defaults to 5.
Q402_ALLOWED_RECIPIENTS optional Comma-separated lowercase addresses. Defaults to no allowlist.
Q402_RELAY_BASE_URL optional Defaults to https://q402.quackai.ai/api. Override for self-hosted Q402.

Supported chains

Chain Chain ID Token(s) Notes
BNB Chain 56 USDC, USDT
Ethereum 1 USDC, USDT L1 — gas is volatile, quote is a snapshot.
Avalanche C-Chain 43114 USDC, USDT
X Layer 196 USDC, USDT
Stable 988 USDT0 (USDC and USDT both alias) Gas paid in USDT0.
Mantle 5000 USDC, USDT0 LayerZero OFT USDT0 since 2025-11-27.
Injective EVM 1776 USDT only Native USDC via Circle CCTP announced for Q2 2026.

Why this exists

x402 standardised "402 Payment Required" semantics for AI agents but the official Coinbase facilitator only covers a few chains and assumes ERC-3009 token support — which excludes BNB USDT, Mantle USDT0, Injective USDT, and the chains where most stablecoin volume actually lives.

Q402 implements the same payer experience (single signature, $0 gas, instant settlement) on all 7 of those chains using EIP-7702 delegated execution, which works with any ERC-20. This MCP server makes that infrastructure addressable from Claude itself.

If you want to dig into how the wire protocol differs from x402, see Q402 docs.


Repository

Source code: https://github.com/bitgett/q402-mcp Issues / requests: https://github.com/bitgett/q402-mcp/issues

License

Apache-2.0 — see LICENSE.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.bitgett/q402-mcp

How do I install io.github.bitgett/q402-mcp?

Run claude mcp add io-github-bitgett-q402-mcp -- npx -y @quackai/q402-mcp, then add the server to your MCP client's configuration.

Is io.github.bitgett/q402-mcp safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.bitgett/q402-mcp still maintained?

Yes — the last commit was 3 months ago. The repository has 1 stars and 1 forks.