AgentHubAgentHub

mcp

MCP ServerMCP Registry官方收录

io.github.2s-io/mcp · v1.10.0

MCP server for 2s.io — pay-per-call tools settled in USDC on Base or Solana via x402.

概览

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

安装

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

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@2sio/mcp"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
      }
    }
  }
}

环境变量

EVM_PRIVATE_KEY必填secret

Hex-encoded EVM private key (0x-prefixed) used by the SDK to sign x402 EIP-3009 payment authorizations. Funds USDC on Base.

相关资源

统一 Manifest

{
  "id": "io.github.2s-io/mcp",
  "type": "mcp-server",
  "version": "1.10.0",
  "displayName": "mcp",
  "description": "MCP server for 2s.io — pay-per-call tools settled in USDC on Base or Solana via x402.",
  "repository": {
    "url": "https://github.com/2s-io/sdk",
    "source": "github",
    "subfolder": "packages/2s-mcp"
  },
  "homepage": "https://2s.io",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@2sio/mcp",
        "version": "1.10.0",
        "runtimeHint": "npx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "EVM_PRIVATE_KEY",
            "description": "Hex-encoded EVM private key (0x-prefixed) used by the SDK to sign x402 EIP-3009 payment authorizations. Funds USDC on Base.",
            "isRequired": true,
            "isSecret": true
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.2s-io/mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.2s-io%2Fmcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
mcp — MCP Server 安装与配置 · AgentHub