AI42-MCP adds automatic X402 Solana payments to web fetches
The AI42-MCP X402 Payment Server is an MCP server that enables Claude Desktop to automatically handle X402 cryptocurrency payments via Solana when fetching data from URLs that return a 402 status.
Score breakdown
The server removes the need for manual payment handling when accessing X402-paywalled web endpoints, making paid API access a transparent, agent-driven step within Claude Desktop workflows.
- 01Automatically processes X402 payments using Solana wallets when a web request returns a 402 status
- 02Supports both Solana devnet and mainnet
- 03Exposes four tools: `fetch-with-payment`, `get-balance`, `get-payment-history`, and `set-payment-limit`
The AI42-MCP X402 Payment Server is a JavaScript-based remote MCP server created by Kishore-MK and listed on Glama. It integrates with Claude Desktop to automate the handling of X402 HTTP payment flows — when a web request returns a 402 status, the server transparently processes a Solana cryptocurrency payment and retries the request, returning the paid content to the user without manual intervention. The server supports both GET and POST HTTP methods and runs on Solana devnet or mainnet.
Installation requires Node.js 18+ and a Solana wallet private key in base58 format.
The server exposes four tools: `fetch-with-payment` for fetching URLs with automatic payment handling, `get-balance` for checking the connected wallet's SOL balance, `get-payment-history` for viewing all payments made during a session, and `set-payment-limit` for capping the maximum SOL spent per request. Installation requires Node.js 18+ and a Solana wallet private key in base58 format. Configuration is done by adding a `mcpServers` entry to `claude_desktop_config.json` on Windows, macOS, or Linux, pointing to the `@ai42/mcp` package via `npx`. No additional manual installation steps are needed beyond restarting Claude Desktop after configuration.
Key facts
- 01Automatically processes X402 payments using Solana wallets when a web request returns a 402 status
- 02Supports both Solana devnet and mainnet
- 03Exposes four tools: `fetch-with-payment`, `get-balance`, `get-payment-history`, and `set-payment-limit`
- 04Supports GET and POST HTTP methods for API interactions
- 05Requires Node.js 18+ and a Solana wallet private key in base58 format
- 06Configured via `claude_desktop_config.json` using `npx -y @ai42/mcp`; no manual installation required
- 07Built with full TypeScript support
Topics
Summary and scoring are generated automatically from the original article. We always link back to the publisher and never republish images or paywalled content. Last processed Jun 14, 2026 · 09:08 UTC. How this works →