X402 Bazaar MCP Server
by sukrutkrdgio.github.sukrutkrdg/x402-bazaar-mcpv0.2.9
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.
context tax
queued
security
queued
cold start
queued
freshness
Active13d ago
Install X402 Bazaar MCP server
Install in Claude Code
claude mcp add x402-bazaar -e X402_CREDIT_TOKEN='<x402-credit-token>' -e AGENT_PRIVATE_KEY='<agent-private-key>' -- npx -y x402-bazaar-mcpInstall in Cursor
{
"mcpServers": {
"x402-bazaar": {
"command": "npx",
"args": [
"-y",
"x402-bazaar-mcp"
],
"env": {
"X402_CREDIT_TOKEN": "<x402-credit-token>",
"AGENT_PRIVATE_KEY": "<agent-private-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"x402-bazaar": {
"command": "npx",
"args": [
"-y",
"x402-bazaar-mcp"
],
"env": {
"X402_CREDIT_TOKEN": "<x402-credit-token>",
"AGENT_PRIVATE_KEY": "<agent-private-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"x402-bazaar": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x402-bazaar-mcp"
],
"env": {
"X402_CREDIT_TOKEN": "<x402-credit-token>",
"AGENT_PRIVATE_KEY": "<agent-private-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"x402-bazaar": {
"command": "npx",
"args": [
"-y",
"x402-bazaar-mcp"
],
"env": {
"X402_CREDIT_TOKEN": "<x402-credit-token>",
"AGENT_PRIVATE_KEY": "<agent-private-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| X402_CREDIT_TOKEN | — | yes | 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 | — | yes | 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 | — | — | Override the catalog URL (default https://402.com.tr/api/catalog). |
Freshness
Active — last maintenance signal 13d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-09 · 30d ago · GitHub
Latest release
2026-07-18 · 3mo ago · GitHub · v0.2.2
Package published
no data · npm/PyPI
Registry entry updated
2026-09-26 · 13d ago · official registry · v0.2.9
FAQ
›How do I install the X402 Bazaar MCP server in Claude Code?
Run: claude mcp add x402-bazaar -e X402_CREDIT_TOKEN='<x402-credit-token>' -e AGENT_PRIVATE_KEY='<agent-private-key>' -- npx -y x402-bazaar-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does X402 Bazaar require an API key?
Yes. It expects X402_CREDIT_TOKEN, AGENT_PRIVATE_KEY, of which 2 are secrets.
›Can I use X402 Bazaar as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is X402 Bazaar in the official MCP registry?
Yes, as io.github.sukrutkrdg/x402-bazaar-mcp.
Alternatives to X402 Bazaar
Other finance & fintech MCP servers.