MCP server providing token safety checks and payment-gated tools for Base-native B20 tokens and USDC on Base.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by X402 Bazaar MCP.
Hosted, no install: point any MCP client at https://402.com.tr/mcp โ
Streamable HTTP, one tool per catalogued service, no wallet held server-side. Or
run it locally with npx as described below; both talk to the same catalog. The
current tool list is always
the server card; a number
written here would be wrong the next time a service is added.
The Base token-safety toolkit for AI agents. An MCP (Model Context Protocol) server that gives your agent the checks it needs before it touches a Base token โ including a 30-tool B20 (Base-native token standard) suite covering freeze/seize powers, policy changes, mint headroom and rebase history โ which also covers all 13 of Coinbase's tokenized equities, telling a real issuance apart from a token merely wearing an equity ticker by reading who administers the transfer policy on chain rather than by consulting a list of addresses, so a newly issued one is recognised the day it appears โ pre-trade GO/HOLD/STOP gates, honeypot & sellability checks, wallet + approval audits, sign-guard, prices and AI reports. Every paid API in the x402 Bazaar catalog, exposed as a callable tool (Claude Desktop, Cursor, Cline, Windsurf, VS Code, Coinbase AgentKit, custom agents).
Bind these first: pre_trade_gate (any token), b20_gate (Base-native B20
tokens), sign_guard (before signing a tx).
No wallet needed to start. Run it with no key, no token and no config at all
and it uses the free tier โ one free call/day on each service that offers
one. Roughly a third of the catalogue does not: AI and metered services are
always paid, and every entry in
the catalogue says which it is under
freeTier. When you outgrow
that, a prepaid credit token keeps it walletless: one purchase, then every call
is just an HTTP header. A wallet is only needed for the third mode, per-call
payment.
Each tool call is otherwise backed by an x402 micro-payment in USDC on Base โ no API keys, no subscriptions, no sign-up. The agent pays only for what it uses, typically fractions of a cent per call.
Works with zero config. Run it with no wallet and no token and it uses the free tier (one free call/day on each service that offers one, then a preview) โ so an agent can try most of the catalogue instantly, and sees a priced 402 on the AI and metered tools rather than a surprise. Unlock unlimited paid calls with either a prepaid credit token (one x402 purchase up front, then no wallet or signing per call) or a wallet key.
https://402.com.tr/api/catalog and auto-registers one MCP tool per
service.HTTP 402 โ pay USDC on Base โ retry โ return response, gasless for the payer
(the facilitator pays gas).| Mode | Set | What happens | Wallet? Signing? |
|---|---|---|---|
| Credits โญ | X402_CREDIT_TOKEN | Sent as x-credit-token; each call debits your prepaid balance | No / No |
| Wallet | AGENT_PRIVATE_KEY | Signs an x402 USDC payment locally per call | Yes / Yes |
| Free | (nothing) | Free tier: 1 full call/day/service, then a preview | No / No |
Credits are the easiest paid mode day-to-day: buying the pack takes ONE x402
settlement (call the buy_credits tool in wallet mode, or pay
https://402.com.tr/api/x402/buy-credits?tier=0.25|1|5|20 from any x402 client),
which returns a ck_โฆ token. Set it as X402_CREDIT_TOKEN and every later call
just draws down the balance โ no private key ever touches this config again.
Tiers: $0.25 starter, $1, $5 (+10%), $20 (+20%).
| Variable | Required | Default | Description |
|---|---|---|---|
X402_CREDIT_TOKEN | no | โ | Prepaid credit token (ck_โฆ) from buy-credits. Sent as x-credit-token; debits your balance per call. No wallet needed. Recommended paid mode. |
AGENT_PRIVATE_KEY | no | โ | Hex private key for a Base wallet holding USDC. 0x prefix optional. Used only if no credit token is set. |
X402_BAZAAR_CATALOG | no | https://402.com.tr/api/catalog | Override the catalog URL (useful for local dev). |
With none of the above set, the server runs on the free tier.
Add the following to your claude_desktop_config.json
(usually ~/Library/Application Support/Claude/claude_desktop_config.json on
macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):
Omit the env block entirely to run on the free tier (great for a first
try), or use "AGENT_PRIVATE_KEY": "0xโฆ" instead of the credit token to pay
from a wallet.
After saving, restart Claude Desktop. You should see the Bazaar tools appear in the tool list (hammer icon).
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project:
In the Cline panel โ MCP Servers โ Configure (cline_mcp_settings.json):
Add to ~/.codeium/windsurf/mcp_config.json:
Add to .vscode/mcp.json in your workspace (or run MCP: Add Server):
Every client above works the same way: omit env to run on the free tier,
or swap the credit token for "AGENT_PRIVATE_KEY": "0xโฆ" to pay from a wallet.
Because this is a standard MCP stdio server, any MCP-capable agent runtime can load and pay for the Bazaar's tools โ including Coinbase's own agent stack, with no bespoke integration:
npx awal)Coinbase Agentic Wallets ship
native x402 support and an MCP interface. Point the wallet's MCP config at
npx x402-bazaar-mcp, and the agent can call โ and pay for โ any Bazaar service
straight from its MPC-secured wallet, gasless on Base. The x402 payment handshake
is handled for you: HTTP 402 โ pay USDC on Base โ retry โ response.
Two ways in:
command: "npx", args: ["-y", "x402-bazaar-mcp"], and X402_CREDIT_TOKEN
or AGENT_PRIVATE_KEY in env). The agent gains every Bazaar tool โ
B20 freeze/seize checks, pre-trade gates, honeypot/sellability, deployer
reputation, exit liquidity, live DEX prices, gas, tx decode, Claude reports โ
as pay-per-call actions, no action provider to write.GET https://402.com.tr/api/x402/<service>
and pay the returned 402 from its own wallet. The 402 body includes a
machine-readable alternatives block (starter credits first) so the agent can
pick the cheapest on-ramp programmatically.Either way the agent pays only for the calls it makes, in USDC on Base, gasless.
Add it as an MCP server in one command:
Then ask Claude Code to check a token, price a portfolio, or screen an address โ it calls the right Bazaar tool and settles the micro-payment automatically.
Agents need fresh on-chain data and AI utilities but don't want to manage RPC endpoints, scrapers, security heuristics, or per-provider API keys. One MCP server plus a credit token (or a funded wallet) gives them everything โ contract safety checks, live DEX prices, gas estimates, transaction decoding, and Claude-powered reports โ all pay-per-use, with no subscriptions or sign-up required.
Tools are loaded live from the catalog, so the list stays current. At the time of writing it includes:
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sukrutkrdg-x402-bazaar-mcp)<a href="https://allmcps.com/mcp/sukrutkrdg-x402-bazaar-mcp"><img src="https://allmcps.com/api/badge/sukrutkrdg-x402-bazaar-mcp?style=directory" alt="X402 Bazaar MCP on AllMCPs" /></a>