x402 Universal Payer
by github.com/nirholas · v1.0.2 · updated Aug 19, 2026
Pay any x402 endpoint on the open web: auto-paying bridge with Bazaar discovery and spend caps.
Run it locally
Install the package and point your AI client at it.
npm
npx -y @three-ws/[email protected]Environment variables
MCP_BRIDGE_EVM_PRIVATE_KEYsecret0x-prefixed 32-byte hex private key that funds USDC payments on EVM chains (Base, Arbitrum, …). At least one of the EVM/SVM keys is required. Treat like cash — use a dedicated low-balance wallet.
MCP_BRIDGE_SVM_PRIVATE_KEYsecretSolana secret key that funds USDC payments: base58 64-byte secret key (Phantom / solana-keygen format) or a JSON array of 64 integers. At least one of the EVM/SVM keys is required. Treat like cash.
MCP_BRIDGE_MAX_PRICE_PER_CALL_ATOMICPer-call spending cap in atomic units (USDC has 6 decimals). Payments above this abort with a clear reason.
MCP_BRIDGE_MAX_TOTAL_ATOMICCumulative session spending ceiling in atomic units. Once total spend would exceed it, further payments abort until restart.
MCP_BRIDGE_ALLOWED_PAYTOComma-separated payee allowlist. When set, any payment whose payTo address is not listed is refused.
MCP_BRIDGE_ALLOWED_HOSTSComma-separated hostname allowlist for outbound paid requests. When set, any other host is refused before a request is signed.
MCP_BRIDGE_ALLOW_HTTPSet to 1 to allow http:// targets (local development only). https is enforced otherwise.
MCP_BRIDGE_DISCOVER_LIMITMax number of x402 Bazaar resources to register as dynamic tools at startup. Set 0 to disable discovery.
MCP_BRIDGE_BAZAAR_URLx402 Bazaar discovery endpoint. Override to point at a self-hosted or alternative bazaar.
MCP_BRIDGE_BATCH_DEPOSIT_MULTIPLIERHow many request-amounts to deposit at once when opening an EVM batch-settlement channel.
MCP_BRIDGE_MAX_DEPOSIT_ATOMICHard cap in atomic units on a single batch-settlement channel deposit or top-up.
X402_MCP_BRIDGE_CHANNELS_DIRDirectory for persisted batch-settlement channel state (survives client restarts).
RPC_URL_8453Per-chain RPC override, one variable per chain id (RPC_URL_<chainId>, e.g. RPC_URL_8453 for Base). Defaults to viem's public RPC for that chain.
More from github.com/nirholas
vid2context
github.com/nirholas
Turn any video into context for AI agents: transcripts, metadata, chapters, timestamps.
Papertrade AI
github.com/nirholas
Trade Papertrade BTC and ETH perps from Claude, ChatGPT, Codex, Cursor and any MCP client.
pump.fun Solana Data
github.com/nirholas
Free, read-only pump.fun + Solana MCP: token discovery, on-chain analysis, SNS, 3D snapshots.
three.ws Solana Memo Media
github.com/nirholas
Extract validated image data URIs from Solana SPL Memos and return them inline to MCP clients.
three.ws for Grok
github.com/nirholas
Free text/image to 3D for Grok Bot, plus your three.ws agents once signed in. Never spends.
Alibaba Cloud DashScope — Qwen
github.com/nirholas
Alibaba Cloud DashScope MCP: Qwen chat, embeddings, and model discovery on your own account.
More MCP servers
Coalent
github.com/nisarg-pujara-vectorlink
Fresh, attributed facts from your sources — cached, and invalidated the moment a source changes.
Site Rep MCP
github.com/nish3451
Read-only Site Rep handoff: agent brief, pending work, first-customer receipt with payment evidence.
SuperMCP
github.com/nitaiaharoni1
Israeli online supermarket pricing: compare grocery prices and delivered shopping baskets.
Code Crawler
github.com/nithin554
Static and dynamic call tracing MCP server backed by a SQLite property graph of your codebase
Mcp Multi Poc Alpha
github.com/nithishr
PoC alpha server - base install, subcommand selection from a shared PyPI package.
Mcp Multi Poc Beta
github.com/nithishr
PoC beta server - extras-gated deps, subcommand selection, same PyPI package as alpha.