x402-bazaar-mcp
An MCP server providing AI agents with pre-trade safety gates and swap capabilities on Base and NEAR. It offers token safety checks, honeypot detection, B20 freeze/seize suite analysis, sanctions screening, and wallet risk assessment. Agents can execute swaps at the best price via 0x routing or NEAR Intents, with payments handled via x402 micro-payments in USDC or a free tier.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Perform pre-trade token safety and honeypot checks on Base
- Analyze B20 token freeze/seize powers and policy changes
- Execute token swaps on Base routed by 0x across multiple DEXs
- Screen wallets and tokens for sanctions and risk factors
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
x402-bazaar-mcp 0.3.0
{
"version": "0.3.0",
"transport": "stdio",
"identifier": "x402-bazaar-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "X402_CREDIT_TOKEN",
"format": "string",
"description": "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."
},
{
"name": "AGENT_PRIVATE_KEY",
"format": "string",
"description": "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."
},
{
"name": "X402_BAZAAR_CATALOG",
"format": "string",
"description": "Override the catalog URL (default https://402.com.tr/api/catalog)."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"x402-bazaar-mcp": {
"command": "npx",
"args": [
"-y",
"x402-bazaar-mcp@0.3.0"
],
"env": {
"X402_CREDIT_TOKEN": "<YOUR_X402_CREDIT_TOKEN>",
"AGENT_PRIVATE_KEY": "<YOUR_AGENT_PRIVATE_KEY>",
"X402_BAZAAR_CATALOG": "<YOUR_X402_BAZAAR_CATALOG>"
}
}
}
}Cline
{
"mcpServers": {
"x402-bazaar-mcp": {
"command": "npx",
"args": [
"-y",
"x402-bazaar-mcp@0.3.0"
],
"env": {
"X402_CREDIT_TOKEN": "<YOUR_X402_CREDIT_TOKEN>",
"AGENT_PRIVATE_KEY": "<YOUR_AGENT_PRIVATE_KEY>",
"X402_BAZAAR_CATALOG": "<YOUR_X402_BAZAAR_CATALOG>"
}
}
}
}VS Code
{
"servers": {
"x402-bazaar-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"x402-bazaar-mcp@0.3.0"
],
"env": {
"X402_CREDIT_TOKEN": "<YOUR_X402_CREDIT_TOKEN>",
"AGENT_PRIVATE_KEY": "<YOUR_AGENT_PRIVATE_KEY>",
"X402_BAZAAR_CATALOG": "<YOUR_X402_BAZAAR_CATALOG>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"x402-bazaar-mcp": {
"command": "npx",
"args": [
"-y",
"x402-bazaar-mcp@0.3.0"
],
"env": {
"X402_CREDIT_TOKEN": "<YOUR_X402_CREDIT_TOKEN>",
"AGENT_PRIVATE_KEY": "<YOUR_AGENT_PRIVATE_KEY>",
"X402_BAZAAR_CATALOG": "<YOUR_X402_BAZAAR_CATALOG>"
}
}
}
}Let your agent find its tools
Find servers like x402-bazaar-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.