# 安装 mcp-x402 — The x402 Amazon for AI Agents

- 类型: MCP 工具
- 说明: 提供43+按次付费的金融数据与支付工具，支持SEC、期权及链上支付查询
- 仓库: https://github.com/timwal78/SML_Portfolio
- ⚠ 安全: 该 MCP 工具来自官方 Registry 且有可审计源码，整体未见明确高风险红旗；但其需要钱包种子等高敏感凭证，并会联网到声明端点执行付费调用，因此整体更适合评为“需留意”。

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "mcp-x402 — The x402 Amazon for AI Agents" MCP 服务：
执行：claude mcp add --transport http io-github-timwal78-mcp-x402 https://mcp-x402.onrender.com/mcp
```

### Codex
```
请帮我安装 askskill 上的 "mcp-x402 — The x402 Amazon for AI Agents" MCP 服务：
在 ~/.codex/config.toml 中添加：
[mcp_servers.io-github-timwal78-mcp-x402]
url = "https://mcp-x402.onrender.com/mcp"
然后重启 Codex 生效
```

### Cursor
```
请帮我安装 askskill 上的 "mcp-x402 — The x402 Amazon for AI Agents" MCP 服务：
在 .cursor/mcp.json 的 "mcpServers" 中添加：
"io-github-timwal78-mcp-x402": { "url": "https://mcp-x402.onrender.com/mcp" }
然后在 Cursor 设置 > MCP 中启用
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
claude mcp add --transport http io-github-timwal78-mcp-x402 https://mcp-x402.onrender.com/mcp
```

### Codex
```bash
codex mcp add io-github-timwal78-mcp-x402 --url https://mcp-x402.onrender.com/mcp
```
配置文件 ~/.codex/config.toml：
```toml
[mcp_servers.io-github-timwal78-mcp-x402]
url = "https://mcp-x402.onrender.com/mcp"
```

### Cursor
配置文件 .cursor/mcp.json：
```json
{
  "mcpServers": {
    "io-github-timwal78-mcp-x402": {
      "url": "https://mcp-x402.onrender.com/mcp"
    }
  }
}
```
一键安装：cursor://anysphere.cursor-deeplink/mcp/install?name=io-github-timwal78-mcp-x402&config=eyJ1cmwiOiJodHRwczovL21jcC14NDAyLm9ucmVuZGVyLmNvbS9tY3AifQ
