x402check

io.github.caiovicentino/x402check

Risk-check counterparties before an AI agent pays; pay x402 resources only after a verified allow

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": {
    "x402check": {
      "command": "npx",
      "args": [
        "-y",
        "@x402check/mcp@0.3.3"
      ],
      "env": {
        "X402CHECK_CREDIT_TOKEN": "<your X402CHECK_CREDIT_TOKEN>",
        "X402CHECK_PAYER_KEY": "<your X402CHECK_PAYER_KEY>",
        "X402CHECK_BUDGET_USD": "1.00",
        "X402CHECK_MAX_PAYMENT_USD": "0.05"
      }
    }
  }
}
Environment variables
  • X402CHECK_CREDIT_TOKENsecretPrepaid credit token (x402c_…, from POST https://x402check.xyz/v1/credits): $0.001 a check
  • X402CHECK_PAYER_KEYsecretPrivate key of a dedicated low-balance wallet: pays the x402 resources x402check_pay clears, and per-call checks without credits
  • X402CHECK_BUDGET_USDSpend cap for this server process: the payer's spend (checks and resources), and separately what checks spend from prepaid credits
  • X402CHECK_MAX_PAYMENT_USDThe most a single payment may cost (a check or a resource)

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

Category
Developer Tools
Version
0.3.3
Registry
active
Published
10/23/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that x402check is listed here — it’s also the link we check for a free listing.

x402check — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-caiovicentino-x402check?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="x402check — 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

[![x402check — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-caiovicentino-x402check?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.