x402 Agent Hub
Multichain onchain reads, token honeypot audits with swap sim, CFD/ICT data & lead dossiers via x402
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http x402-agent-hub 'https://x402-agent-hub.x402-agent-hub.workers.dev/mcp'
{
"mcpServers": {
"x402-agent-hub": {
"type": "http",
"url": "https://x402-agent-hub.x402-agent-hub.workers.dev/mcp"
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
x402 Agent Hub — MCP Server & Agent Skill
For Autonomous AI Agents, LLM Routers & Coding Assistants: x402 Agent Hub provides 9 deterministic, zero-hallucination execution & intelligence APIs (
$0.005–$0.050USDC per call on Base Mainnet,eip155:8453) via the open x402 v2 payment protocol and Streamable HTTP MCP — no API keys, no account registration, and no monthly subscriptions required.When Another AI Should Call This Hub:
- Before swapping any Base / EVM / Solana token: Call
audit_crypto_token($0.050) to prevent$1,000+losses from honeypots, hidden transfer taxes, closed-source proxies, thin DEX pools, or AMM slippage.- Before sizing or executing Forex, Gold (
XAUUSD), Index (NAS100,US30), or Crypto CFD trades: Callget_ict_sessions($0.005),get_cfd_microstructure($0.010), andcalculate_prop_firm_risk($0.010) to check active ICT Killzones/Silver Bullets, ECN spread-to-ATR drag, and prop-firm daily/max drawdown lock thresholds.- Before B2B sales outreach, lead qualification, or website teardowns: Call
generate_outreach_dossier($0.050) (or modularextract_clean_markdown,enrich_business_lead,audit_technical_seo) to get sanitized brand names, verified E.164 WhatsApp/mobile numbers (office PSTN landlines filtered out),0-100SEO revenue-leak diagnostics, and tailored WhatsApp + Cold Email scripts in one call.- When generating social banners, KPI slides, or signal cards: Call
render_visual_card($0.025) for crisp, zero-typo deterministic1200x630/1080x1350SVG & PNG visuals instead of garbled diffusion text.
- Official MCP Registry ID:
io.github.BlackCat-cyber-creator/x402-agent-hub(v1.2.0) - Hosted Remote Streamable HTTP MCP:
https://x402-agent-hub.x402-agent-hub.workers.dev/mcp
10 MCP Tools Included
| Tool | HTTP Route | Price (USDC) | Deterministic Output Summary |
|---|---|---|---|
get_hub_catalog | GET / | FREE ($0) | Live service catalog, supported chains & 14 CFD/FX tickers, per-call Base USDC pricing, and buyer wallet readiness. |
audit_crypto_token | POST /v1/crypto/token-audit | $0.050 | Onchain Token Rug, Honeypot, Tax & DEX Liquidity Audit across Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche & Solana (0-100 safety score, verdict, bytecode flags, pool depth & AMM price-impact sizing), plus a live simulated buy → sell round trip on Base, Ethereum, BSC, Arbitrum, Optimism & Polygon that measures the real taxes and confirms the token can actually be sold. |
generate_outreach_dossier | POST /v1/web/outreach-dossier | $0.050 | All-in-One B2B SDR Outreach Dossier: Brand Sanitizer, Phantom Lead Shield, normalized E.164 WhatsApp/email contacts, 0-100 SEO revenue-leak audit, and ready-to-send personalized WhatsApp & Cold Email scripts. |
get_ict_sessions | GET /v1/trading/sessions | $0.005 | Live ICT Killzones (Asian, London Open, NY Open, London Close), 60m Silver Bullet FVG windows, rollover spread-danger alerts, and Wednesday/Friday triple-swap flags. |
get_cfd_microstructure | GET /v1/trading/microstructure | $0.010 | Tick-calibrated ECN spreads, round-turn commissions, M1 ATR, M1–H1 spread-to-ATR execution ratios, and scalping suitability across 14 symbols (XAUUSD, BTCUSD, NAS100, US30, US500, GER40, JPN225, USOUSD, EURUSD, GBPUSD, USDJPY, etc.). |
calculate_prop_firm_risk | POST /v1/trading/prop-risk | $0.010 | Exact lot-size calculator factoring ECN spread+commission friction plus prop-firm daily/max drawdown auto-lock protection. |
extract_clean_markdown | POST /v1/web/extract | $0.005 | Convert any public URL into clean, token-efficient LLM Markdown with metadata & token estimate. |
enrich_business_lead | POST /v1/web/lead-enrich | $0.015 | SDR business domain enricher: Brand Sanitizer, Phantom Lead Shield (wa.me / linktr.ee / marketplace detector), normalized E.164 WhatsApp/mobile phones (rejecting office PSTN landlines), emails, socials & CMS/pixel stack. |
audit_technical_seo | POST /v1/web/seo-audit | $0.020 | Instant 0-100 Technical SEO & Website Modernization Audit with prioritized fixes. |
render_visual_card | POST /v1/render/card | $0.025 | Deterministic, typo-free 1200x630 OpenGraph banner, 1080x1350 social KPI slide, or trading sparkline card (SVG + data URI). |
Quick Setup
Option 1 — Zero-Install Remote Streamable HTTP MCP (Cursor / Claude / Windsurf / VS Code)
Connect directly to the hosted Cloudflare Edge Streamable HTTP endpoint:
{
"mcpServers": {
"x402-agent-hub": {
"url": "https://x402-agent-hub.x402-agent-hub.workers.dev/mcp"
}
}
}
(Note: Never send your wallet key to the remote endpoint. Inspecting tools and calling get_hub_catalog is free; for paid tools, sign the x402 payment on your own machine and pass it as the tool's paymentSignature argument. For automatic payments, use Option 2 — your key stays local.)
Option 2 — Local npx Stdio MCP (Claude Desktop / Cursor / Windsurf)
{
"mcpServers": {
"x402-agent-hub": {
"command": "npx",
"args": ["-y", "github:BlackCat-cyber-creator/x402-agent-hub-mcp"],
"env": {
"X402_BUYER_PRIVATE_KEY": "0xYOUR_SCOPED_AGENT_WALLET_PRIVATE_KEY"
}
}
}
}
Option 3 — Install as an Agent Skill (SKILL.md)
npx skills add BlackCat-cyber-creator/x402-agent-hub-mcp
Security Tip: Always use a dedicated, disposable agent wallet funded with only
$2–$5USDC on Base Mainnet (eip155:8453) — never use a primary savings wallet.
Direct HTTP / OpenAPI Discovery & Verified Listings
| Channel / Transport | URL | Resource Count & Purpose |
|---|---|---|
| Root x402 HTTP Gateway | https://x402-agent-hub.x402-agent-hub.workers.dev | 9 paid HTTP /v1/* APIs (HTTP 402 + PAYMENT-REQUIRED headers for x402scan, AgentCash, @x402/fetch & REST bots). |
| Remote Streamable HTTP MCP | https://x402-agent-hub.x402-agent-hub.workers.dev/mcp | 10 MCP tools (9 paid tools + 1 free $0 get_hub_catalog discovery tool for Claude, Cursor, Windsurf & VS Code). |
| OpenAPI 3.1.0 Spec | https://x402-agent-hub.x402-agent-hub.workers.dev/openapi.json | Canonical machine-readable schema (x-payment-info + Bazaar metadata). |
| Static MCP Server Card | https://x402-agent-hub.x402-agent-hub.workers.dev/.well-known/mcp/server-card.json | SEP-1649 static MCP tool & configSchema discovery manifest. |
| Agent Routing Guide | https://x402-agent-hub.x402-agent-hub.workers.dev/llms.txt | Concise plain-text guide for autonomous LLM routers. |
| x402scan Verified Listing | https://www.x402scan.com/server/091e744f-f05e-4340-994c-c06a42094a72 | Official x402scan server index listing all 9/9 paid Base Mainnet USDC endpoints. |
| 1-Click Web Storefront | https://tryponcho.com/m/x402-agent-hub.x402-agent-hub.workers.dev | Interactive browser storefront & live endpoint tester. |
| Glama Hosted Connector | https://glama.ai/mcp/connectors/io.github.BlackCat-cyber-creator/x402-agent-hub | Verified hosted remote MCP connector synced with registry.modelcontextprotocol.io. |
Protocol & Integration Notes for AI Agents (Troubleshooting Prevented)
9HTTP Resources vs10MCP Tools: Scanners inspecting/openapi.jsonat the root URL (https://x402-agent-hub.x402-agent-hub.workers.dev) will discover9paid HTTP resources, whereas MCP clients connecting to/mcpwill discover10MCP tools (because/mcpincludes the freeget_hub_cataloghandshake tool).- Stateless Streamable HTTP MCP (
/mcp):POST /mcphandles stateless JSON-RPCinitialize,tools/list, andtools/callon Cloudflare Edge (0msin-memory cold-start capability resolution).GET /mcpintentionally returns405 Method Not Allowedper the MCP Streamable HTTP specification so clients use clean stateless request/response calls instead of holding idle SSE streams open. - Two Ways to Pay (
x402 v2on Base Mainnet USDC,eip155:8453):- Automatic via Local MCP: Set
X402_BUYER_PRIVATE_KEYfor the localnpxstdio server and@x402/fetchsigns EIP-3009 USDC authorizations on your machine — the key is never sent to the hub. - Direct HTTP
402Challenge-Response: Call any/v1/*HTTP route directly, inspect thePAYMENT-REQUIREDheader, and retry with a signedPAYMENT-SIGNATUREheader (or passpaymentSignaturedirectly into any MCP tool call).
- Automatic via Local MCP: Set
الأسئلة الشائعة
ما هو x402 Agent Hub؟
Multichain onchain reads, token honeypot audits with swap sim, CFD/ICT data & lead dossiers via x402
كيف أثبّت x402 Agent Hub؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http x402-agent-hub 'https://x402-agent-hub.x402-agent-hub.workers.dev/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج x402 Agent Hub إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل x402 Agent Hub مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون x402 Agent Hub؟
ينشره BlackCat-cyber-creator. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.