AI42

Provides automatic web data access with Solana-based X402 payments and built-in balance/history/limits support.
  • javascript

0

GitHub Stars

javascript

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "kishore-mk-ai42-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ai42/mcp"
      ],
      "env": {
        "SOLANA_PRIVATE_KEY": "YOUR_BASE58_PRIVATE_KEY"
      }
    }
  }
}

This MCP server lets Claude Desktop automatically handle web requests that require Solana-based payments. It fetches data from URLs and processes X402 payments when needed, enabling seamless pay-as-you-go access to protected resources while tracking balance, payments, and spending limits.

How to use

You interact with the MCP server through your Claude Desktop assistant. When you request data from a URL that requires payment, Claude automatically handles the X402 payment flow and retries the request once payment is made. You can fetch public data, post data, check your balance, view payment history, and set spending limits all within natural language conversations.

When a request needs payment

If a target endpoint enforces payment, the service returns a 402 status. Claude then initiates an automatic payment using your Solana wallet and retries the request with proof of payment. This makes paid data access smooth and hands-free.

Examples of common interactions

Fetch data from a URL without showing payment details in your workflow. Claude handles the payment behind the scenes and returns the data.

Fetch data from a paid service and receive the premium data after the payment is processed.

How to check balance and manage limits

Ask for your current SOL balance to see how much is available for payments and how much you have spent in total.

Set a maximum spending limit per request to prevent overspending. You can lower or remove the limit by setting it to 0.

Available tools

fetch-with-payment

Fetch data from a URL with automatic payment handling and optional POST data.

get-balance

Check the wallet SOL balance along with network and address.

get-payment-history

View all payments made during the current session, with totals and timestamps.

set-payment-limit

Set a maximum SOL amount per request or remove the limit by setting to 0.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational