MCP directory
XB

X402 Bazaar Mcp

by github.com/sukrutkrdg · v0.3.0 · updated Oct 10, 2026

Check, then act, on Base and NEAR: token-safety gates, then swaps at the best price — over x402.

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • X402_CREDIT_TOKENsecret

    Prepaid credit token (ck_…) from the buy-credits service. Sent as the x-credit-token header; each call debits your balance. No wallet or signing needed. Recommended paid mode. Buyable with USDC on Base, or with USDC/USDT/NEAR on NEAR at https://402.com.tr/credits.

  • AGENT_PRIVATE_KEYsecret

    Hex private key of a Base wallet holding USDC. Used locally to sign x402 payments — never sent anywhere. Use a dedicated low-balance wallet. Optional: without it (and without a credit token) the server runs on the free tier.

  • X402_BAZAAR_CATALOG

    Override the catalog URL (default https://402.com.tr/api/catalog).

More from github.com/sukrutkrdg

More MCP servers