AgentHubAgentHub

anchor-x402

MCP ServerMCP Registry官方收录

io.github.hypeprinter007-stack/anchor-x402 · v0.2.0

14-tool x402 MCP: 9 onchain primitives + 5 LLM endpoints. USDC pay-per-call on Base or Solana.

概览

anchor-x402 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "anchor-x402": {
      "command": "npx",
      "args": [
        "-y",
        "anchor-x402-mcp"
      ],
      "env": {
        "ANCHOR_WALLET_PRIVATE_KEY": "<ANCHOR_WALLET_PRIVATE_KEY>"
      }
    }
  }
}

环境变量

ANCHOR_WALLET_PRIVATE_KEY必填secret

EVM private key (0x-prefixed hex). The wallet pays for x402 calls in USDC on Base mainnet. Fund with USDC before use.

相关资源

统一 Manifest

{
  "id": "io.github.hypeprinter007-stack/anchor-x402",
  "type": "mcp-server",
  "version": "0.2.0",
  "displayName": "anchor-x402",
  "description": "14-tool x402 MCP: 9 onchain primitives + 5 LLM endpoints. USDC pay-per-call on Base or Solana.",
  "repository": {
    "url": "https://github.com/hypeprinter007-stack/anchor-x402-mcp",
    "source": "github"
  },
  "homepage": "https://anchor-x402.com",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "anchor-x402-mcp",
        "version": "0.2.0",
        "runtimeHint": "npx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "ANCHOR_WALLET_PRIVATE_KEY",
            "description": "EVM private key (0x-prefixed hex). The wallet pays for x402 calls in USDC on Base mainnet. Fund with USDC before use.",
            "isRequired": true,
            "isSecret": true
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.hypeprinter007-stack/anchor-x402",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.hypeprinter007-stack%2Fanchor-x402/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
anchor-x402 — MCP Server 安装与配置 · AgentHub