PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serversblockchainai42-mcp
返回「blockchain」

ai42-mcp

modelscope·@Kishore-MK/ai42-mcp

blockchain0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

AI42 MCP Server

<div align="center">

X402 Payment MCP Server for Claude Desktop

npm version License: MIT TypeScript

Quick Start Features Installation Usage

</div>

Overview

AI42 MCP Server enables Claude Desktop to automatically handle web requests with X402 payments. Fetch data from any URL and seamlessly process cryptocurrency payments when required (402 status). Includes payment tracking, balance checking, and spending limits.

Features

  • Automatic Payment Handling: Transparent X402 payment processing on 402 responses
  • GET & POST Support: Full HTTP method support for API interactions
  • Payment Management: Track history, check balance, set spending limits
  • Solana Integration: Built on Solana devnet/mainnet
  • Type-safe: Full TypeScript support
  • Zero Configuration: Works out of the box with Claude Desktop

Available Tools

ToolDescription
fetch-with-paymentFetch data from URLs with automatic payments
get-balanceCheck wallet SOL balance
get-payment-historyView all payments made during session
set-payment-limitSet maximum spending limit per request

Installation

Prerequisites

  • Node.js 18+
  • Solana wallet private key (base58 format)
  • Claude Desktop

Quick Install

No manual installation needed! Just configure Claude Desktop:

Add to claude_desktop_config.json:

Windows:

{
  "mcpServers": {
    "x402-payment": {
      "command": "npx",
      "args": ["-y", "@ai42/mcp"],
      "env": {
        "SOLANA_PRIVATE_KEY": "your_base58_private_key_here"
      }
    }
  }
}

macOS:

{
  "mcpServers": {
    "x402-payment": {
      "command": "npx",
      "args": ["-y", "@ai42/mcp"],
      "env": {
        "SOLANA_PRIVATE_KEY": "your_base58_private_key_here"
      }
    }
  }
}

Linux:

{
  "mcpServers": {
    "x402-payment": {
      "command": "npx",
      "args": ["-y", "@ai42/mcp"],
      "env": {
        "SOLANA_PRIVATE_KEY": "your_base58_private_key_here"
      }
    }
  }
}

Config File Locations

PlatformPath
Windows%APPDATA%\Claude\claude_desktop_config.json
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Linux~/.config/Claude/claude_desktop_config.json

After adding config: Restart Claude Desktop!


Quick Start

Getting Your Private Key

Generate Solana Keypair:

solana-keygen new --outfile ~/.config/solana/id.json
solana-keygen pubkey ~/.config/solana/id.json

Export Private Key (base58 format):

cat ~/.config/solana/id.json
# Copy the array, then convert to base58

Never commit private keys to version control!

First Request

Once configured and Claude Desktop is restarted, simply ask:

You: Check my wallet balance

Claude: [Uses get-balance tool] Your balance is 2.5 SOL on devnet

Usage

Example Conversations

Fetch Data from URL

You: Get data from https://api.example.com/endpoint

Claude: [Uses fetch-with-payment] Here's the data from the API...

Fetch with Payment

You: Fetch https://paid-service.com/premium-data

Claude: [Uses fetch-with-payment] Payment of 0.05 SOL made successfully. 
Here's the premium data...

POST Request

You: POST this data to https://api.example.com: {"message": "hello"}

Claude: [Uses fetch-with-payment] Successfully posted. Response: {...}

Check Balance

You: What's my SOL balance?

Claude: [Uses get-balance] Your current balance:
- Balance: 2.5 SOL
- Network: devnet
- Address: 7xK...abc

Set Payment Limit

You: Set payment limit to 0.1 SOL

Claude: [Uses set-payment-limit] Payment limit set to 0.1 SOL. 
Any request exceeding this amount will be rejected.

View Payment History

You: Show my payment history

Claude: [Uses get-payment-history] 
Total payments: 3
Total spent: 0.15 SOL

Recent payments:
1. 0.05 SOL to xyz...abc at 2025-11-12T10:30:00Z
2. 0.08 SOL to def...123 at 2025-11-12T11:45:00Z
3. 0.02 SOL to ghi...789 at 2025-11-12T12:15:00Z

Tool Reference

1. fetch-with-payment

Fetch data from any URL with automatic payment handling.

Parameters:

  • url (string, required): URL to fetch
  • method (string, optional): HTTP method - "GET" or "POST" (default: "GET")
  • body (string, optional): JSON string for POST requests

Returns:

{
  success: boolean;
  data: any;
  payment_made: boolean;
  payment_amount: number; // in SOL
}

Example:

Get data from https://api.weather.com/current

2. get-balance

Check current SOL balance in your wallet.

Parameters: None

Returns:

{
  balance: number;      // SOL amount
  unit: "SOL";
  network: string;      // "devnet" or "mainnet"
  address: string;      // Public key
}

Example:

Check my wallet balance

3. get-payment-history

View all payments made during the current session.

Parameters:

  • limit (number, optional): Maximum records to return (default: all)

Returns:

{
  total_payments: number;
  total_spent: number;     // Total SOL spent
  records: Array<{
    url: string;
    amount: number;        // in SOL
    recipient: string;
    t…

相关 MCP Servers(来自「blockchain」)

Dune模型桥

一座通过模型控制协议(Model Control Protocol)将Dune Analytics区块链数据连接到人工智能应用的桥梁,使大型语言模型(LLMs)能够通过自然语言交互访问链上数据。

@olaxbt/dune-query-mcp

Template-x402-Mcp

暂无描述。

@CodaLabs-xyz/Template-x402-Mcp

aave-liquidation-mcp

暂无描述。

@clumsynonono/aave-liquidation-mcp

binance-mcp-server

暂无描述。

@AnalyticAce/binance-mcp-server

mcp-thorchain

暂无描述。

@MissionSquad/mcp-thorchain

MilesCool

暂无描述。

@MilesCool/binance-mcp

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/kishore-mk-ai42-mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

**macOS:** ```json { "mcpServers": { "x402-payment": { "command": "npx", "args": ["-y", "@ai42/mcp"], "env": { "SOLANA_PRIVATE_KEY": "your_base58_private_key_here" } } } }

基本信息

分类
blockchain / web3 / browser-automation
运行方式
No
许可证
Unknown
详情文件
kishore-mk-ai42-mcp.md