x402-ads-mcp

v0.2.7
io.github.forgemeshlabs/x402-ads-mcp Checked 1 day ago Published 21 days ago

x402 ad recommendations, intent analytics, and machine-commerce demand reports.

Values you need

VariableWhat it is
WALLET_PRIVATE_KEYoptional 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_KEYoptional 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.7
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. 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.
  4. 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