Publish Your Server
Monetize any MCP server with pay-per-tool-call billing — zero code changes required.
How It Works
- Register your MCP server URL on xpay
- Set pricing for each tool (or a flat rate for all tools)
- Share your proxy URL — users connect via
https://{your-slug}.mcp.xpay.sh/mcp - Earn USDC for every tool call
xpay sits between the user and your server as a transparent proxy. Your server stays exactly as-is — no SDK, no code changes, no x402 integration needed.
Revenue flows directly to your wallet in USDC on Base. xpay never holds your funds.
What You Get
- Dedicated MCP endpoint at
{your-slug}.mcp.xpay.sh - Automatic billing — every tool call is metered and charged
- Discovery — your tools appear on xpay.tools and in
xpay_discover - Analytics — see call volumes, revenue, and unique users
- Discovery files — auto-generated
llms.txt,skill.md, and.well-known/mcp.json
Getting Started
Supported Transports
- Streamable HTTP (recommended) — Modern HTTP-based MCP transport
- SSE — Server-Sent Events transport (legacy)
Revenue Model
- Users pay per tool call from their xpay credit balance
- Revenue is accumulated and can be withdrawn to your wallet at any time
- No monthly fees, no minimum volumes — you earn from the first call
Last updated on: