MCP server for the x402 protocol. Lets AI agents (Claude, Cursor, etc.) discover and call payment-gated HTTP APIs automatically.
X402 Payment Gated Http is an MCP project maintained in the merkleworks/x402-mcp repository. The maintainer describes its purpose as “MCP server for the x402 protocol. Lets AI agents (Claude, Cursor, etc.) discover and call payment-gated HTTP APIs automatically”. Read the project documentation for the complete scope.
The documented npm package is @merkleworks/x402-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| paid_http_request | Execute HTTP request; if 402, run x402 flow and return final response |
| discover_x402_api | Discover payable endpoints (/.well-known/x402 or probe) |
| pay_x402_endpoint | Call x402 endpoint with full control (delegator, broadcast URL, etc.) |
| parse_x402_challenge | Decode X402-Challenge header |
| verify_x402_proof | Verify X402-Proof against challenge and request |
{
"mcpServers": {
"x402": {
"command": "npx",
"args": [
"@merkleworks/x402-mcp"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Access Stripe billing and payment tools through its MCP server. Connect with OAuth or a supported agent API key and choose the intended account.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Auto-syncing MCP server for the Spraay x402 Gateway. Auto-creates a wallet on first run — no env vars, just fund and go. Pay-per-call x402, USDC, no
Czechia payments for AI agents — cards / Apple Pay via Stripe. Never holds funds.
Verify and settle x402 stablecoin payments; browse the PayAI Bazaar of x402-payable resources.
Travel eSIM catalog: search plans, check availability, and get exact quotes with checkout links.