Check, then act, on Base and NEAR: token-safety gates, then swaps at the best price — over x402.
Connect Runs on your machine
claude mcp add x402-bazaar-mcp -e X402_CREDIT_TOKEN=<X402_CREDIT_TOKEN> -e AGENT_PRIVATE_KEY=<AGENT_PRIVATE_KEY> -e X402_BAZAAR_CATALOG=<X402_BAZAAR_CATALOG> -- npx -y [email protected]
{
"mcpServers": {
"x402-bazaar-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X402_CREDIT_TOKEN": "<X402_CREDIT_TOKEN>",
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
"X402_BAZAAR_CATALOG": "<X402_BAZAAR_CATALOG>"
}
}
}
}
{
"mcpServers": {
"x402-bazaar-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X402_CREDIT_TOKEN": "<X402_CREDIT_TOKEN>",
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
"X402_BAZAAR_CATALOG": "<X402_BAZAAR_CATALOG>"
}
}
}
}
{
"servers": {
"x402-bazaar-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"X402_CREDIT_TOKEN": "<X402_CREDIT_TOKEN>",
"AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
"X402_BAZAAR_CATALOG": "<X402_BAZAAR_CATALOG>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
X402_CREDIT_TOKENOptional, secret | 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_KEYOptional, secret | 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_CATALOGOptional | Override the catalog URL (default https://402.com.tr/api/catalog). |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 10 Oct 2026 |
| Last updated | 10 Oct 2026 |
| Registry name | io.github.sukrutkrdg/x402-bazaar-mcp |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
