Skip to content
x402-ads-mcp logo
MCP server
Registry

x402-ads-mcp MCP Server

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

x402-ads-mcp scores 67 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 7 tools. Filed under Uncategorized. GitHub shows 1 stars. Package registries report about 127 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by forgemeshlabsMITJavaScript1 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 67 comes from

22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "forgemeshlabs-x402-ads-mcp": {      "command": "npx",      "args": [        "-y",        "@forgemeshlabs/x402-ads-mcp@0.2.7"      ],      "env": {        "WALLET_PRIVATE_KEY": "YOUR_WALLET_PRIVATE_KEY",        "X402_ADS_PUBLISHER_KEY": "YOUR_X402_ADS_PUBLISHER_KEY"      }    }  }}

Environment variables

NameRequiredNotes
WALLET_PRIVATE_KEYSecretOptionalOptional 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_KEYSecretOptionalOptional publisher key from ads.forgemesh.io. Makes get_intent_report free for your registered services.

Tools7Tool docs quality grade F

All capabilities

About

@forgemeshlabs/x402-ads-mcp

M8ven Score mcpservers.org

Install one middleware. Monetize unused 402 responses with recommendations, discovery, and machine commerce analytics.

This is the MCP side of that network: what autonomous agents probe, want, and abandon across the x402 ecosystem — as tools for your agent.

Wraps the ForgeMesh x402 Ads & Intent Network. Paid tools settle per call in USDC on Base mainnet over the x402 protocol — no account, no API key; your wallet is the login. Publishers get reports on their own services free.

Install

{
  "mcpServers": {
    "intent": {
      "command": "npx",
      "args": ["-y", "@forgemeshlabs/x402-ads-mcp"],
      "env": {
        "WALLET_PRIVATE_KEY": "0x... (optional — enables paid analytics)",
        "X402_ADS_PUBLISHER_KEY": "pub_... (optional — free reports on your own services)"
      }
    }
  }
}

Both env vars are optional. With neither set, free tools work fully and paid tools return the x402 payment challenge (price, network, payTo) instead of settling — useful for inspection before spending anything.

Bonus: one-command publisher registration

This package doubles as the signup CLI for API operators (no MCP client needed):

# read the terms first: https://ads.forgemesh.io/terms
WALLET_PRIVATE_KEY=0xYOUR_WALLET npx -y @forgemeshlabs/x402-ads-mcp register \
  --url https://api.your-service.com --accept-terms

One $0.10 USDC payment on Base; the paying wallet becomes your identity and your publisher key is printed once. Invalid requests are rejected before payment — you can't pay for a doomed registration.

Tools

ToolPriceWhat it returns
get_network_countersfreeLive network totals: 402s observed, agent-class requests, recommendations served
preview_recommendationsfreeThe exact recommendations block the middleware injects into a 402
get_termsfreeCanonical terms + complete data-collection disclosure
get_network_stats$0.005Network totals + monitor/indexer/agent classification split
get_intent_trends$0.01Top endpoints & categories autonomous agents request
get_category_demand$0.02Demand depth for one category: probes, agent probes, conversions, price points (404 no_data is not charged)
get_intent_report$0.05 / free*Why-agents-didn't-buy funnel for one service

* get_intent_report is free with X402_ADS_PUBLISHER_KEY for services you contribute events to — the data co-op rule: your own data is free, forever.

Environment

VariableRequiredPurpose
WALLET_PRIVATE_KEYnoBase mainnet wallet holding USDC; enables automatic settlement of paid tools
X402_ADS_PUBLISHER_KEYnoPublisher key from ads.forgemesh.io; free lane for your own reports
X402_MAX_PRICE_USDnoPer-call price cap in USD; can only LOWER the built-in cap ($0.05, or $0.10 for register)
X402_SESSION_BUDGET_USDnoCumulative cap per process; can only LOWER the built-in $10

The backend URL is fixed to https://ads.forgemesh.io (the publisher key is only ever sent there). The server refuses to sign for any payee other than the ForgeMesh Ads wallet, any network other than Base mainnet, any asset other than USDC, or any amount over the cap. Use a dedicated, low-balance wallet. The key never leaves your machine — payments are signed locally (EIP-3009) and settle on-chain.

Ready-made configs live in examples/: a Claude Desktop mcpServers block and a commented env-var template.

Testing (safe by construction)

npm test                # smoke: MCP boots over stdio and lists its 7 tools
npm run test:free       # free tools against the live network
npm run test:challenge  # every paid tool returns an x402 challenge — no wallet, nothing can spend
npm run test:all        # all of the above

No test settles a payment. The challenge test deletes the payment env vars before loading, so it cannot move funds even if your shell has a wallet configured.

The network in one sentence

We measure machine commerce, not API content — publishers running the @forgemeshlabs/x402-ads middleware contribute anonymized 402 probe metadata; this MCP sells the aggregate demand signal back to agents and builders.

Full disclosure of what publishers send (and never send): https://ads.forgemesh.io/terms

License

MIT © ForgeMesh

Frequently asked questions

What is x402-ads-mcp MCP Server?

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

How do I install x402-ads-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. x402-ads-mcp MCP Server runs locally from the npm package @forgemeshlabs/x402-ads-mcp with the command npx -y @forgemeshlabs/x402-ads-mcp@0.2.7.

Is x402-ads-mcp MCP Server free and open source?

Yes. x402-ads-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does x402-ads-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for x402-ads-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does x402-ads-mcp MCP Server provide?

x402-ads-mcp MCP Server provides 7 tools, including get_category_demand, get_intent_report, get_intent_trends, and get_network_counters. See the full tool list for descriptions and parameters.

How is x402-ads-mcp MCP Server's trust score calculated?

x402-ads-mcp MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server