Turn any API into a paid MCP server

Checkout, API keys, usage metering and billing for your MCP tools — running on Cloudflare's free tier, with a merchant of record collecting the money.

No US company · No billing code · No tax paperwork

Test mode — pay with Creem's sandbox card 4111 1111 1111 1111, any future expiry, any CVC. No real money moves.

ToolBooth demo: checkout, key issued, metered MCP calls

Three steps to your first paying user

Step 1

Drop in your API logic

One file owns your tools. Everything around it — auth, billing, metering — is already wired and tested.

Step 2

Deploy in one command

wrangler deploy puts it on Cloudflare's free tier with your own domain. D1 stores keys and usage.

Step 3

Get paid per call

Buyers check out on a hosted page, get a key, and every tools/call counts against their quota.

# your buyer runs:
claude mcp add --transport http yourtool https://yourtool.com/mcp --header "Authorization: Bearer mmk_..."
# every metered call returns their remaining quota:
{"words": 9, "chars": 57, "quota_remaining": 999}

What's in the box

MCP server skeleton

Streamable HTTP for remote + stdio for local dev, on the official SDK. Clear slots for your tools.

Merchant-of-record billing

Creem integration: hosted checkout, webhooks with HMAC verification, idempotent fulfillment. Stripe adapter on the roadmap.

API keys done right

SHA-256 hashed at rest, shown to the buyer exactly once, hint retained for support.

Metering & quotas

Per-key monthly quotas with lazy reset — no cron. Exhausted quota returns a clean 429.

One-command deploy

Cloudflare Workers + D1, free tier friendly. Custom domain in one config line.

Launch playbook · EN/中文

Pricing guidance, directory submissions, launch post templates, and how AI clients discover your server.

🛂

No Stripe? No problem.

Stripe needs a US or supported-country entity. A merchant of record resells your product as its own — so it handles global sales tax, EU consumer rules and card processing, and you get a payout. If you've ever shelved a paid tool because of payment paperwork, this is the unlock.

Pricing

Live demo
$9
  • A real metered API key
  • Test mode — sandbox card, no real charge
  • Feel the exact flow your buyers get
Buy a demo key
Single license
$39 $59 EARLY BIRD
  • Full source, one product
  • 6 months of updates
  • Launch playbook EN/中文
Buy early access · $39
Unlimited license
$119
  • Everything in Single
  • Unlimited products
  • For portfolio builders & teams
Buy · $119

Questions you'd ask

Do I really not need a US company?

Correct. The merchant of record (Creem) is the legal seller and handles card processing, sales tax and VAT. You pass its standard KYC as an individual and receive payouts. You're responsible for your own local income tax.

How is this different from Stripe-based boilerplates?

Stripe boilerplates assume you can open a Stripe account. ToolBooth is MoR-first for developers who can't — and it's MCP-native: metering happens per tool call, which is how agent-era products actually get used.

Is the code mine after I buy?

Yes — full source, build and sell as many end products as your license covers. The only restriction: you can't resell or redistribute the template itself.

Which clients can call my paid server?

Anything speaking MCP over streamable HTTP with headers — Claude Code, Claude.ai connectors, Cursor and most agent frameworks. Your buyer pastes one command.

What stack is it?

TypeScript, Hono, the official MCP SDK, Cloudflare Workers + D1. Boring, cheap, and fast — on purpose.