X402 Middleware
БесплатноНе проверенOne-line x402 + Stripe payment middleware for MCP servers. The Stripe for the agent economy.
Описание
One-line x402 + Stripe payment middleware for MCP servers. The Stripe for the agent economy.
README
Pay USDC per API call on Base. No signup, no subscriptions, no API keys.
npm install @gadgethumans/x402
Quick Start
import x402 from '@gadgethumans/x402'
// Add payment middleware to any MCP server
const server = x402.wrap(myMcpServer, { price: 0.001 })
How It Works
- AI agent calls a tool → server returns HTTP 402 Payment Required
- Agent pays $0.001 USDC on Base via the x402 protocol
- Server processes the request and returns the result
Documentation
Full docs at x402 Documentation
License
MIT
Установить X402 Middleware в Claude Desktop, Claude Code, Cursor
unyly install x402-middlewareСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add x402-middleware -- npx -y @gadgethumans/x402FAQ
X402 Middleware MCP бесплатный?
Да, X402 Middleware MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для X402 Middleware?
Нет, X402 Middleware работает без API-ключей и переменных окружения.
X402 Middleware — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить X402 Middleware в Claude Desktop, Claude Code или Cursor?
Открой X402 Middleware на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Stripe
Payments, customers, subscriptions
автор: Stripemalamutemayhem/unclick-agent-native-endpoints
110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n
автор: malamutemayhemwhiteknightonhorse/APIbase
Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa
автор: whiteknightonhorsetrackerfitness729-jpg/sitelauncher-mcp-server
Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr
Compare X402 Middleware with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории finance
