About x402-solana
x402-solana is an x402 API server for AI agents, with requests paid in USDC on Solana. It provides crypto safety, market data, and business verification endpoints without API-key authentication.
Key features
- 01USDC payments on Solana
- 02Crypto token safety checks
- 03Pre-trade verdicts and dossiers
- 04Polymarket odds lookup
- 05LEI and sanctions screening
Use cases
- 01Screen a token before trading
- 02Look up prediction-market odds
- 03Check an entity’s LEI or sanctions status
MCP support
The README describes x402 API endpoints and discovery files, but does not state that the server uses MCP.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://x402-solana-cva8.onrender.com/mcp/claude mcp add --transport http digitalweb33333-creator-x402-solana https://x402-solana-cva8.onrender.com/mcp/{"mcpServers":{"digitalweb33333-creator-x402-solana":{"type":"http","url":"https://x402-solana-cva8.onrender.com/mcp/"}}}Open in Cursor{"servers":{"digitalweb33333-creator-x402-solana":{"type":"http","url":"https://x402-solana-cva8.onrender.com/mcp/"}}}Open in VS Code{"mcpServers":{"digitalweb33333-creator-x402-solana":{"type":"http","url":"https://x402-solana-cva8.onrender.com/mcp/"}}}{"mcpServers":{"digitalweb33333-creator-x402-solana":{"serverUrl":"https://x402-solana-cva8.onrender.com/mcp/"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
10| Parameter | Type | Required | Description |
|---|---|---|---|
| lei | string | Yes | 20-character LEI, e.g. '529900T8BM49AURSDO55' |
Details
From the project READMEx402-solana
Paid x402 API tools for AI agents, settled in USDC on Solana (mainnet). A Solana-rail replica of x402-endpoints (Base): same FastAPI quality, same CDP facilitator — payments routed on Solana instead of Base.
- No API key — payment is authentication.
- Gasless for the buyer — the CDP facilitator is the transaction fee payer.
- USDC mint
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v(6 decimals), networksolana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp.
Endpoints (10)
| Path | Price | What it does |
|---|---|---|
GET /gleif/lei | $0.01 | GLEIF LEI lookup (KYB, official global registry) |
GET /sanctions/screen | $0.05 | EU consolidated sanctions / AML screening |
GET /polymarket/odds | $0.05 | Live Polymarket prediction-market odds |
GET /crypto/token-safety | $0.05 | EVM token honeypot / rug / tax safety score |
GET /crypto/pre-trade-verdict | $0.05 | Fused GO/CAUTION/NO-GO pre-trade verdict (signed) |
GET /crypto/token-dossier | $0.10 | Deep token dossier: holders, liquidity, red flags |
GET /solana/token-safety | $0.01 | Solana SPL rug/honeypot (static + behavioral) |
GET /solana/pre-trade | $0.05 | All-in-one Solana pre-trade BUY-SAFE/CAUTION/AVOID |
GET /agent/rank-check | $0.10 | x402 seller keyword-rank pulse in CDP Bazaar |
GET /agent/visibility-audit | $1.00 | Full x402 discoverability audit (Ed25519-signed) |
Discovery: /.well-known/x402.json, /.well-known/agent-card.json, /llms.txt. Health: /health.
Run locally
python3.12 -m venv .venv
./.venv/bin/pip install -r requirements.txt
# set env (see .env.example) — CDP keys required for the facilitator
./.venv/bin/uvicorn app.main:app --port 8000
Deploy (Render)
One-click via render.yaml (Blueprint). Set the sync:false secrets (CDP_API_KEY_ID,
CDP_API_KEY_SECRET, RECEIPT_SIGNING_SEED, optional ANTHROPIC_API_KEY) in the dashboard.
Architecture
Payment layer is 100% in app/main.py (register_exact_svm_server + PaymentOption(network=solana…));
endpoint handlers in app/routers/ are payment-agnostic. Description ≤ 500 chars is enforced at
startup (hard CDP /verify constraint). See DIFFERENCES-BASE-SOLANA.md for the full Base→Solana map.
Tooling (tools/)
check_facilitator.py— verify the CDP facilitator advertises Solana support.lint_descriptions.py— English-only + ≤500-char lint.gen_discovery.py— regenerate the discovery files from the routes.create_seller_ata.py— create the seller USDC ATA (settlement prerequisite).settle.py— buyer→endpoint settlement (dry by default,--executeto pay).
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.