io.github.ukenal/x402ai-mcp

io.github.ukenal/x402ai-mcp

Pay-per-call AI tools (embed, summarize, ask) from x402ai, paid in USDC on Base via x402.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "x402ai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "x402ai-mcp@0.1.1"
      ],
      "env": {
        "X402AI_BUYER_PRIVATE_KEY": "<your X402AI_BUYER_PRIVATE_KEY>",
        "X402AI_MAX_SESSION_USD": "0.25"
      }
    }
  }
}
Environment variables
  • X402AI_BUYER_PRIVATE_KEYsecretBuyer wallet private key (hex), used only to sign payments locally. Needed only for the paid tools. Use a wallet holding only what you are willing to lose.
  • X402AI_MAX_SESSION_USDSpending cap per server process in USD (default 0.25).

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.1
Registry
active
Published
10/26/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.ukenal/x402ai-mcp is listed here — it’s also the link we check for a free listing.

io.github.ukenal/x402ai-mcp — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-ukenal-x402ai-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.ukenal/x402ai-mcp — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.ukenal/x402ai-mcp — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-ukenal-x402ai-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.