Spraay X402 MCP
概览
作者提供的说明(英文原文)
MCP server for Spraay x402 Gateway. 60 tools for crypto payments, DeFi, and AI on Base.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 62/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 加密货币与区块链
- 你需要填写:X402_WALLET_PRIVATE_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
X402_WALLET_PRIVATE_KEY
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"spraay-x402": {
"command": "npx",
"args": [
"-y",
"spraay-x402-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add spraay-x402 --env X402_WALLET_PRIVATE_KEY=your-value -- npx -y spraay-x402-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"spraay-x402": {
"command": "npx",
"args": [
"-y",
"spraay-x402-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"spraay-x402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"spraay-x402-mcp"
],
"env": {
"X402_WALLET_PRIVATE_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Private key for the wallet that pays for x402 requests (USDC on Base)
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 plagtech 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“加密货币与区块链”中的其他服务器比较i
- 星标数多于此分类中其他 1619 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1619 个服务器的 6% 更新
- 基础检查结果等于或优于此分类中其他 1619 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Spraay X402 MCP 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:X402_WALLET_PRIVATE_KEY
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(3.1.1)于8个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有:Agentwallet, Highwire, Lucky x402
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Highwire
Trade, launch and research higher.fun coins on Solana, from any AI agent. Unsigned or policy-signed.
Lucky x402
Pre-trade crypto checks for agents: token/memecoin verdict (EVM+Solana), wallet risk, CEX ops. x402.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
💧 Spraay x402 MCP Server
Full-stack DeFi infrastructure for AI agents — 183 pay-per-call tools, backed by the 192-endpoint Spraay x402 Gateway on Base, with Solana, Ethereum, XRP, and Stellar payment rails.
Connect Claude, Cursor, or any MCP client to onchain payments, batch payouts, swaps, bridging, payroll, invoicing, escrow, oracle data, analytics, 200+ AI models, GPU/compute, research APIs, search/RAG, and more. Agents pay USDC per request via the x402 protocol — no API keys, no accounts.
The tool list is generated from the live gateway manifest at build time
(
npm run sync), so the authoritative catalog and pricing always live at the
gateway — see Tool catalog. 24 of the gateway's endpoints are
free (no payment required).
Quick Start
Install and go — no config, no API keys, no env vars. On first run the server auto-creates a wallet, saves it to ~/.spraay/.session, and prints the address to stderr. Fund that address with USDC on Base and start calling tools.
Read [Security & Wallet Safety](#security--wallet-safety) — these tools move real funds.
One-line install (Claude Code)
claude mcp add spraay -s user -- npx -y spraay-x402-mcp
Manual config (Cursor / Claude Desktop)
Cursor (.cursor/mcp.json) or Claude Desktop (claude_desktop_config.json):
{
"mcpServers": { "spraay": { "command": "npx", "args": ["-y", "spraay-x402-mcp"] } } }
That's it. The first run prints something like:
💧 Spraay created a new wallet: 0xABC…123
Private key saved to ~/.spraay/.session (keep it safe — it controls funds). Fund this address with USDC on Base to start paying for tool calls.
Optional — bring your own wallet
To sign with a key you already control instead of the auto-created one, set EVM_PRIVATE_KEY in your environment (it overrides the session wallet). Never paste a raw key into a committed config file — use a dedicated hot wallet funded only with what the agent may spend. See Security & Wallet Safety.
Remote URL (no wallet on your machine)
Settlement is handled gateway-side; your client never holds a signing key.
{
"mcpServers": { "spraay": { "url": "https://spraay-x402-mcp--plagtech.run.tools" } } }
Smithery
smithery mcp add Plagtech/Spraay-x402-mcp
From source
git clone https://github.com/plagtech/spraay-x402-mcp
cd spraay-x402-mcp npm install npm run build npm start # auto-creates a wallet on first run
Tool catalog
183 tools spanning the gateway's 33 categories. Highlights by area:
| Area | What it covers |
|---|---|
| AI & Inference | 200+ LLMs (OpenAI-compatible), wallet/tx classification, contract explanation, summaries |
| Compute | Text / image / video / TTS / STT / embeddings across Replicate, Chutes, OpenRouter; batch jobs |
| Compute Futures | Prepaid compute credits with tier discounts; draw down per inference |
| Bittensor | Decentralized inference, image gen, and embeddings via SN64 / SN19 |
| Payments | Batch payouts up to 200 recipients (Base, XRP Ledger, Stellar); estimates |
| Payroll | Stablecoin payroll runs across Base, Ethereum, Solana |
| Invoicing & Escrow | Crypto-native invoices and milestone escrow (persistent) |
| DeFi & Data | Swaps (Uniswap V3 / Aerodrome), oracle prices/gas/FX, bridge quotes, balances, ENS/Basename |
| Analytics | Wallet profiles and decoded transaction history |
| Research | 250M+ papers (OpenAlex), arXiv, Crossref, PubMed, PubChem, US Census, dictionary |
| Search & RAG | Web search, content extraction, question answering |
| Communication | Email, SMS, XMTP messaging, webhooks |
| Infrastructure | Multi-chain RPC, IPFS/Arweave storage, cron scheduling, structured logs |
| Identity & Compliance | KYC/sanctions screening, auth sessions, audit trail, crypto tax (FIFO, IRS 8949) |
| Supply Chain (SCTP) | Supplier registration, purchase orders, invoice verification, settlement |
| Robotics (RTP) | Register robots, dispatch paid tasks, escrow-backed completion |
| Trust & Safety | ProofLayer trust scores; free token-safety, address-safety, and tx-decode checks |
24 free endpoints require no payment — gas/prices/chain-status, address & batch validation, ENS resolution, unit conversion, x402 discovery probes, and model/compute discovery.
For the exact, current tool list and per-tool pricing, query the live manifest:
curl https://gateway.spraay.app/.well-known/x402.json
Pricing ranges from $0.001 (reads) to ~$0.10 (payroll, escrow release, tax), settled in USDC on Base.
How it works
- An agent calls a tool (e.g.
spraay_batch_execute). - The MCP server hits the Spraay x402 Gateway.
- The gateway responds
402 Payment Requiredwith a USDC amount. - Remote mode: settlement is handled gateway-side. Local mode:
@x402/axiossigns a USDC micropayment from the auto-created (or overridden) wallet. - The gateway validates payment and returns the data.
Security & Wallet Safety
These tools can initiate real USDC payments. Treat the server like any tool with funds access.
- The auto-created wallet only holds what you send it. Fund it with only as much USDC as you're willing to let the agent spend. It starts empty, so a fresh install cannot move funds until you fund it; read-only tools work regardless.
- The session key lives at `~/.spraay/.session`. Protect that file like any secret — anyone who reads it controls the wallet. It's written with
0600permissions on POSIX systems. Back it up if the funds matter; delete it to rotate to a new wallet on the next run. - Prefer the remote URL if you'd rather keep no signing key on your machine — settlement is handled gateway-side.
- If you bring your own key via
EVM_PRIVATE_KEY, use a dedicated hot wallet that controls no other assets, and never put a raw private key in a config file, issue, or any committed file — keep it in your shell environment only.
The published npm package ships only dist/, README, and LICENSE (verify with npm pack --dry-run) — no binaries, no build tooling, no install scripts.
Report security issues to security@spraay.app, not a public issue.
Requirements
- Node.js 20+
- MCP client — Claude Desktop, Cursor, or any MCP-compatible client
- USDC on Base — fund the auto-created wallet (or your own); even $1 covers thousands of calls
Environment variables
None are required — the server runs with zero configuration. All of the following are optional overrides.
| Variable | Required | Default | Description |
|---|---|---|---|
EVM_PRIVATE_KEY | No | auto-created at ~/.spraay/.session | Override the auto-created wallet with your own key. Use a dedicated, funded-as-needed hot wallet. |
SPRAAY_GATEWAY_URL | No | https://gateway.spraay.app | Override the gateway URL. |
Links
- MCP server: mcp.spraay.app
- Gateway: gateway.spraay.app
- Manifest: gateway.spraay.app/.well-known/x402.json
- Smithery: smithery.ai/servers/Plagtech/Spraay-x402-mcp
- x402: x402.org
License
MIT