NestDaddy

X402 Bazaar Mcp

io.github.sukrutkrdg/x402-bazaar-mcp · v0.3.0

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

Connect Runs on your machine

Terminal
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]
claude_desktop_config.json
{
  "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>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "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>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
X402_CREDIT_TOKEN
Optional, 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_KEY
Optional, 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_CATALOG
Optional
Override the catalog URL (default https://402.com.tr/api/catalog).

Details

Package[email protected] (NPM, stdio)
First published10 Oct 2026
Last updated10 Oct 2026
Registry nameio.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.