X402 Bazaar MCP
io.github.sukrutkrdg/x402-bazaar-mcp
v0.3.0Updated Oct 10, 2026stdio · npm
Check, then act, on Base and NEAR: token-safety gates, then swaps at the best price — over x402.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add x402-bazaar-mcp -- npx -y [email protected]Configuration
3 settings.
X402_CREDIT_TOKENEnv var· optional· secretPrepaid 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_KEYEnv var· optional· secretHex 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_CATALOGEnv var· optionalOverride the catalog URL (default https://402.com.tr/api/catalog).
Links
Listed in the official MCP Registry since Oct 10, 2026. Mirrored daily; last checked Nov 26, 2026.