Stride20k x402 Data Gateway
x402 analytics feed + 20+ pay-per-call agent tools over x402 (data, LLM, risk), no accounts.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
x402-gateway-mcpclaude mcp add stride20k-x402-data-gateway -e 'WALLET_PRIVATE_KEY=<your wallet_private_key>' -e 'MAX_PER_CALL_USD=<MAX_PER_CALL_USD>' -e 'MAX_SESSION_USD=<MAX_SESSION_USD>' -e 'GATEWAY_URL=<GATEWAY_URL>' -- npx -y x402-gateway-mcp@0.2.0
{
"mcpServers": {
"stride20k-x402-data-gateway": {
"command": "npx",
"args": [
"-y",
"x402-gateway-mcp@0.2.0"
],
"env": {
"WALLET_PRIVATE_KEY": "<your wallet_private_key>",
"MAX_PER_CALL_USD": "<MAX_PER_CALL_USD>",
"MAX_SESSION_USD": "<MAX_SESSION_USD>",
"GATEWAY_URL": "<GATEWAY_URL>"
}
}
}
}
متغيرات البيئة
WALLET_PRIVATE_KEYسري Buyer wallet key (fund with a few USDC on Base). Optional: free previews work without it.MAX_PER_CALL_USDRefuse any single call above this price. Default 0.25; set 1.25 to enable the $1 domain dossier.MAX_SESSION_USDTotal spend cap per session. Default 2.00.GATEWAY_URLGateway base URL override. Default https://gateway.stride20k.com.
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
Retired source — recovery reference
Active maintenance moved to the sole maintained private repository Marysbrain/aye-today, in packages/mcp/.
Do not install or deploy from this retired repository. The historical instructions below are retained for recovery and reference, not current operations.
Existing public deployments continue unchanged. Repository retirement does not delete or shut down services. Original source and Git history remain preserved; retired repository workflows are disabled.
Retirement notice: 2026-09-03.
x402-gateway-mcp
The live x402 market feed for agents. The x402_market_pulse tool is
FREE — no wallet, no payment, no signup: the x402 ecosystem in one snapshot,
refreshed ~3x/day — service listings by category with week-over-week deltas,
newly listed services, npm download trends for the core x402 packages,
protocol release tags, and per-source reliability grades. Every metric
carries a freshness stamp; a stale source says so instead of pretending.
Behind the feed, Aye Scout exposes two paid pre-payment diligence tools: x402 category coverage and a resource preflight that checks reachability, terms, catalog presence, and observed age before an agent spends. The tool list is fetched from the signed public manifest at startup; compatibility-only routes are deliberately absent (verify).
The manifest is verified over its exact response bytes before any paid tools are registered. Both the treasury address and gateway signing-key ID are pinned; an unsigned manifest or an unexpected key rotation stops startup.
⚠️ Funded-wallet warning:
WALLET_PRIVATE_KEYsigns real payments. Use a dedicated wallet holding only small balances (a few dollars of USDC). Never your main wallet. The key is read from env, never logged, and payment headers are never echoed into agent-visible output.
5-minute setup (Claude Desktop / Claude Code)
- Create a fresh wallet and fund it with a small amount of USDC on Base (or Base Sepolia test USDC from https://faucet.circle.com while testing).
npm install -g x402-gateway-mcp(or usenpx).- Add to your MCP config (Claude Desktop
claude_desktop_config.json, orclaude mcp addfor Claude Code):
{
"mcpServers": {
"x402-gateway": {
"command": "npx",
"args": ["-y", "x402-gateway-mcp"],
"env": {
"GATEWAY_URL": "https://<your-gateway-host>",
"WALLET_PRIVATE_KEY": "0x<small-balance-wallet-key>",
"MAX_PER_CALL_USD": "0.25",
"MAX_SESSION_USD": "2.00"
}
}
}
}
- Restart the client. The free
x402_market_pulsetool works immediately (no wallet needed); every paid tool description states its price, e.g.[costs $0.01 USDC per call] Score an x402 resource before paying it…
Spend guardrails
MAX_PER_CALL_USD(default 0.25): tools priced above this are refused.MAX_SESSION_USD(default 2.00): cumulative settled spend per server session; calls that would exceed it are refused with a clear message the agent can relay. Restart the server to reset.
Refusals happen before any payment is signed.
Env reference
| Var | Default | Purpose |
|---|---|---|
GATEWAY_URL | https://pulse.aye.today | Gateway base URL (override for local/testnet) |
WALLET_PRIVATE_KEY | — | Buyer key (small balance!). Without it, tools list but calls fail with a clear error |
MAX_PER_CALL_USD | 0.25 | Per-call cap |
MAX_SESSION_USD | 2.00 | Per-session cap |
EXPECTED_PAY_TO | Aye treasury address | Pinned payment destination; override only for a controlled test deployment |
EXPECTED_SIGNING_KID | Aye production key ID | Pinned manifest signing key; rotate only with an audited gateway release |
If a transport or body-read error occurs after payment authorization, the MCP reserves the full advertised amount as possibly spent. It will not silently restore that session capacity; reconcile the wallet before retrying.
الأسئلة الشائعة
ما هو Stride20k x402 Data Gateway؟
x402 analytics feed + 20+ pay-per-call agent tools over x402 (data, LLM, risk), no accounts.
كيف أثبّت Stride20k x402 Data Gateway؟
يعمل على جهازك. في Claude Code: claude mcp add stride20k-x402-data-gateway -e 'WALLET_PRIVATE_KEY=<your wallet_private_key>' -e 'MAX_PER_CALL_USD=<MAX_PER_CALL_USD>' -e 'MAX_SESSION_USD=<MAX_SESSION_USD>' -e 'GATEWAY_URL=<GATEWAY_URL>' -- npx -y x402-gateway-mcp@0.2.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Stride20k x402 Data Gateway إلى مفتاح API؟
نعم. يتطلب WALLET_PRIVATE_KEY، وتضبطها في إعداداته.
هل Stride20k x402 Data Gateway مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون Stride20k x402 Data Gateway؟
ينشره Marysbrain. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.