Turn any API or MCP server into a paid service with x402
x402-deploy is a growing TypeScript project in the AI payments / x402 ecosystem, focused on agent, agents, ai, base. It currently has 23 GitHub stars and 4 forks, and sits alongside related tools like nano-currency-mcp-server, CloddsBot, Agent-Layer, modelcontextprotocol.name, sperax-crypto-mcp, tdm-integration-kit.
1-click deployment for monetized APIs & MCP servers
Turn any API or MCP server into a paid service in 5 minutes. No code changes required.
# Install globally
npm install -g @nirholas/x402-deploy
# Navigate to your API/MCP server
cd my-awesome-api
# Initialize (detects project automatically)
x402-deploy init
# Deploy (creates wallet, deploys, registers)
x402-deploy deploy
# Watch earnings
x402-deploy dashboard
That's it! Your API is now live and earning money. 💸
x402-deploy wraps your existing API with a payment gateway:
┌─────────────────────────────────────┐
│ Your API (unchanged) │
│ ↓ │
│ x402 Gateway (automatic) │
│ ↓ │
│ Payment Verification │
│ ↓ │
│ Analytics & Rate Limiting │
│ ↓ │
│ Deployed to Cloud │
└─────────────────────────────────────┘
| Platform | Status | Deploy Time | Free Tier |
|---|---|---|---|
| Railway | ✅ | ~2 min | $5/month |
| Fly.io | ✅ | ~3 min | Yes |
| Vercel | ✅ | ~1 min | Yes |
| Docker | ✅ | ~30 sec | Self-hosted |
Automatically detects and configures:
@modelcontextprotocol/sdk){
"pricing": {
"model": "per-call",
"default": { "price": "$0.01" },
"routes": {
"GET /api/*": "$0.0001",
"POST /api/trade": "$0.10",
"GET /api/free": "$0"
}
}
}
Beautiful terminal dashboard with live updates:
x402-deploy dashboard
╔═══════════════════════════════════════════╗
║ Earnings Summary ║
╠═══════════════════════════════════════════╣
║ Today: $12.45 (1,245 calls) ║
║ This Week: $87.32 (8,732 calls) ║
║ All Time: $1,547 (154,718 calls) ║
╚═══════════════════════════════════════════╝
x402-deploy init # Initialize project
x402-deploy deploy # Deploy to cloud
x402-deploy deploy --dry-run # Preview deployment
x402-deploy dashboard # Live earnings dashboard
x402-deploy pricing # Manage pricing
x402-deploy status # Check deployment status
x402-deploy logs # View deployment logs
x402-deploy withdraw # Withdraw earnings
x402-deploy export --csv # Export analytics
We love contributions! See CONTRIBUTING.md
MIT © nirholas
(Original Repo, Universal Crypto MCP)
As with most of my repos, I spend a lot of time building then find something interesting or have a need for something and i start on the next. I hope this at the very least is a good resource you can use to monetize your APIs and MCP Servers. What I truly hope to build is a community of developers, I love shipping alone but i wouldn't mind collaborating here and there. Please, always feel free to PR and throw an issue down. I am waiting.
Send Nano currency from AI agents/LLMs
Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.
A wallet for agents. Make payments via x402, use stablecoins, swap assets, earn yield with defi and buy tokenized stocks across the most popular chains.
Give AI agents access to money 💰1,100+ MCP tools — swap, bridge, stake, lend, trade, and deploy across most blockchains. The open MCP gateway where AI meets DeFi. Trade crypto, swap across DEXs, bridge chains, stake tokens, lend, track whales, read market news, analyze smart contracts, pay other agents autonomously via x402.
MCP server and plugin for Sperax Protocol – USDs, SPA, veSPA & Demeter on Arbitrum and BNB Chain. Listed on Anthropic's official MCP Registry.
Developer integration tools for adding TDM payments to AI agents, apps, and workflows. CLI, MCP server, and copy-paste examples
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.
Live data for AI agents — search, research, markets, crypto, X/Twitter. Pay-per-call via x402 micropayments.
Open-source MCP servers for Latin American commerce — Pix, NF-e, banking, fiscal, logistics, and messaging across Brazil, Mexico, Argentina, Colombia, Chile, and Peru. MIT, on npm.