x402-ads-mcp
v0.2.7x402 ad recommendations, intent analytics, and machine-commerce demand reports.
Values you need
| Variable | What it is | |
|---|---|---|
WALLET_PRIVATE_KEY | optional secret | Optional dedicated low-balance Base wallet private key for settling paid x402 analytics calls. Without it, paid tools return the x402 payment challenge instead of settling. |
X402_ADS_PUBLISHER_KEY | optional secret | Optional publisher key from ads.forgemesh.io. Makes get_intent_report free for your registered services. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add x402-ads-mcp -- npx -y @forgemeshlabs/x402-ads-mcp@0.2.7Add to
claude_desktop_config.json{
"mcpServers": {
"x402-ads-mcp": {
"args": [
"-y",
"@forgemeshlabs/x402-ads-mcp@0.2.7"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"x402-ads-mcp": {
"args": [
"-y",
"@forgemeshlabs/x402-ads-mcp@0.2.7"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"x402-ads-mcp": {
"args": [
"-y",
"@forgemeshlabs/x402-ads-mcp@0.2.7"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.x402-ads-mcp]
command = "npx"
args = ["-y", "@forgemeshlabs/x402-ads-mcp@0.2.7"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_tools, get_network_counters, preview_recommendations, get_network_stats, get_intent_trends, get_category_demand, get_intent_report, get_terms.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json