Edge AI x402 MCP
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
Edge AI x402 MCP
Ultra-low-cost pay-per-call AI inference, embeddings, FLUX image generation, and public URL-to-Markdown web extraction on Cloudflare Workers, settled on Solana Mainnet via x402 v2 (USDC & USDT via PayAI and Dexter facilitators) or prepaid credit key packs.
Production Base URL:
https://edge-ai-x402.nguyenthanhnam-pye.workers.devRemote MCP Endpoint (Streamable HTTP):
https://edge-ai-x402.nguyenthanhnam-pye.workers.dev/mcpOpenAPI 3.1 Spec:
https://edge-ai-x402.nguyenthanhnam-pye.workers.dev/openapi.jsonx402 Manifest:
https://edge-ai-x402.nguyenthanhnam-pye.workers.dev/.well-known/x402.jsonMCP Server Card:
https://edge-ai-x402.nguyenthanhnam-pye.workers.dev/.well-known/mcp/server-card.jsonDexter / x402gle Skills:
https://x402gle.com/servers/edge-ai-x402.nguyenthanhnam-pye.workers.dev/skills.jsonSettlement Network: Solana Mainnet (
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp)Accepted Assets: USDC (
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v), USDT (Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB)Facilitators: PayAI (
https://facilitator.payai.network) & Dexter (https://x402.dexter.cash)
Pricing & Endpoints
Route | MCP Tool | Models / Behavior | Price (USD) |
|
| List available chat, embedding & image models | Free |
| — | Static web extraction response example | Free |
|
|
| $0.001 |
|
|
| $0.001 |
|
| SSRF-guarded public URL HTML -> clean Markdown + headings/links | $0.002 |
|
|
| $0.005 |
| — | Redeem prepaid credit packs ( | On-chain |
Related MCP server: farebox-mcp
Quick Start
1. Discover x402 v2 payment terms (HTTP 402)
curl -i -X POST https://edge-ai-x402.nguyenthanhnam-pye.workers.dev/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"llama-3.3-70b","messages":[{"role":"user","content":"Hello"}]}'Decode the base64 PAYMENT-REQUIRED response header, sign the Solana Mainnet USDC or USDT transaction with an x402 v2 client, and retry with PAYMENT-SIGNATURE.
2. Connect via Remote MCP (Streamable HTTP)
{
"mcpServers": {
"edge-ai-x402": {
"url": "https://edge-ai-x402.nguyenthanhnam-pye.workers.dev/mcp"
}
}
}Security & Accounting
Strict x402 v2 Exact Settlement: Verifies facilitator proof and settles before running inference; atomic SQLite-backed Durable Object (
EdgeLedger) prevents concurrent replay and enforces the daily neuron budget.SSRF-Protected Web Extraction: Accepts public HTTP/HTTPS domains only; rejects IP literals, credentials, non-standard ports, loopback/private/internal/metadata hosts, and re-validates every redirect hop.
Local Development & Tests
node --test test/*.test.jsCopy wrangler.example.toml to wrangler.toml, provision your own KV namespaces and Solana wallet variables, and deploy with npx wrangler deploy.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
URL-to-Markdown ($0.002) and summarization ($0.003), paid per call in USDC on Solana via x402.
Pay-per-call AI gateway: models, speech, web search, on-chain reads and NLP tools, via x402.
x402 pay-per-call Solana data + crypto market + JWT/unit utils for AI agents.
17-model LLM gateway + 350+ data/KYB/sanctions tools. Pay-per-call USDC via x402, no API key.
Related MCP Servers
AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover, pay for, and sell APIs using crypto on Solana and Base networks, with support for automated x402 payments.87 npm3MIT- AlicenseNot gradedqualityCmaintenanceCrypto-native LLM gateway with OpenAI-compatible API and per-token USDC payments on Solana via the x402 protocol.MIT
- AlicenseAqualityDmaintenanceEnables AI agents to access Solana wallet analytics, token data, and DeFi tools via pay-per-request USDC micropayments using the x402 protocol, without API keys or subscriptions.1358 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to call pay-per-request AI and web tools—including web-to-Markdown reading, PDF extraction, translation, compliance lookups, domain/email/Solana data, and prediction-market intelligence—without accounts or API keys, settling each call in USDC via x402 on Base, Solana, or Arc.MIT