Cloudflare Worker template

create-mcpay

Spin up a pay-per-call agent API in ~2 minutes. Every call costs a few mcents (1 mcent = 1/1000¢) — agents pay in crypto via x402, you keep the revenue.

npx create-mcpay my-api cd my-api wrangler kv:namespace create KEYS wrangler secret put ADMIN_KEY wrangler deploy
View on GitHub →

What you get

Why mcpay

Agents need (1) auth — bearer keys beat OAuth dashboards, (2) a balance — mcents so $0.01 buys 100 calls, (3) self-serve onramp — x402 so strangers mint keys programmatically, (4) reputation — XP and badges so the market rewards quality, (5) discoverability — Agent Readiness + MCP so agents find you. Stripe and OAuth add friction agents can't traverse. mcpay skips all of that.