SuperAPIAI Directory

x402-bazaar-mcp

github.com · AI developer platforms

Base token-safety tools paid via x402: B20 freeze/seize/rug checks, pre-trade gates, honeypot detection, wallet and approval audits, prices and AI reports.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

x402-bazaar-mcp is a standard MCP (Model Context Protocol) stdio server used to expose pay-per-call APIs on the x402 Bazaar to AI agents. According to the official description, the catalog contains 131 pay-per-call APIs, covering token security, honeypot and rug checks, the B20 freeze/seize suite, sanctions screening, wallet risk, and other capabilities, mainly targeting the Base ecosystem.

Purpose It solves the checks an agent needs to complete before touching Base tokens, including token safety, sellability, admin permissions, wallet and approval risks, and supports real-time price queries and AI reports.

Main capabilities The officially described tools include: pre_trade_gate (pre-trade gate for any Base token), near_pre_trade_gate (NEAR token), b20_gate (Base native B20 token), sign_guard (pre-signature transaction protection), token_risk, token_price, base_swap (routing through 0x on Uniswap, Aerodrome, Balancer, Curve, etc.), near_swap (cross-chain via NEAR Intents), near_swap_status, b20_safety, url_extract, email_verify, domain_check, etc. The B20 suite contains 30 tools, covering freeze/seize permissions, policy changes, minting allowance and rebase history; the official description says it also covers Coinbase's 82 tokenized stocks, distinguishing genuine issuance from tokens that merely borrow the stock ticker by reading who manages transfer policy on-chain.

Usage When the server starts, it fetches the live catalog from https://402.com.tr/api/catalog and automatically registers one MCP tool for each service. It can be used hosted: point any MCP client at https://402.com.tr/mcp(Streamable HTTP, and the server does not hold a wallet). It can also be run locally: npx x402-bazaar-mcp.

There are three payment modes (in priority order): free tier (no key, token, or configuration required; one free call per day for each service that offers a free allowance; AI and metered services do not offer a free allowance), prepaid credit token (after a one-time x402 purchase, subsequent calls only need the HTTP header X402_CREDIT_TOKEN; top-up tiers are $0.25 starter, $1, $5 (+10%), $20 (+20%)), and per-call wallet payment (using a private key holding USDC on Base mainnet). In wallet mode, the x402 flow is HTTP 402 → pay USDC on Base → retry → return response, and the payer is gas-free (gas is paid by the facilitator). NEAR users can use USDC, USDT, or NEAR to purchase the same credit token.

Configuration Desktop MCP clients configure it in the mcpServers block, with the command npx and the argument -y x402-bazaar-mcp; omitting env runs the free tier, or set X402_CREDIT_TOKEN, or use AGENT_PRIVATE_KEY to pay from a wallet. The documentation lists configuration locations for Cursor (~/.cursor/mcp.json), Cline (cline_mcp_settings.json), Windsurf (~/.codeium/windsurf/mcp_config.json), and VS Code (.vscode/mcp.json). Coinbase Agentic Wallet, Coinbase AgentKit, and command-line agents are also supported.

Use cases For AI agents that need on-chain security data, real-time DEX prices, gas estimation, transaction decoding, and AI reports, but do not want to manage RPC endpoints, crawlers, security heuristics, or each provider's API keys themselves.

Limitations Funds do not pass through this server. In wallet mode, the private key is used only within the local process to sign payment authorizations and is not sent to the server or third parties; the documentation recommends using a dedicated spending wallet and keeping only a small amount of USDC in it. The credit token is a bearer credential, and a leak can at most result in the loss of its remaining balance. Payment addresses and price caps are fixed within the package or set by environment variables, and are not taken from the catalog or 402 responses. AI and metered services are always paid. The specific tool list is subject to the server-side card and live catalog, and the prices in the documentation are those at the time of publication.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools