💧 Spraay x402 MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**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 — these tools move
real funds.**
One-line install (Claude Code)
Manual config (Cursor / Claude Desktop)
**Cursor** (.cursor/mcp.json) or **Claude Desktop** (claude_desktop_config.json):
That's it. The first run prints something like:
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.
Smithery
From source
---
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 |