About this MCP Server
This TypeScript-based MCP server runs on Cloudflare Workers and is compatible with all MCP-enabled AI agents.
It serves as a production-ready reference implementation that demonstrates how to build and deploy a commercial MCP server with modern cloud architecture and infrastructure, including:
- OAuth 2.1 authentication
- Stripe payment integration
- Subscription management
- Usage quotas and rate limiting
- Cloudflare Workers serverless deployment
The included tools are intentionally simple. Their purpose is to showcase the complete authentication, authorization, billing, and access-control workflow rather than the tools themselves. Together, they demonstrate how to build an MCP server that supports both free and premium features with secure, scalable infrastructure.
Demo Tools
| Tool | Access |
|---|---|
| 🥠 Fortune Cookies | Subscription |
| 🎲 Lotto Numbers | Free Tier |
| 🎲 Lotto Numbers Pro | Subscription |
| ⚡ Snap Decisions | Subscription |
| ⚙️ Subscription Management | Free |
Screenshots

🚀 Explore This MCP Server
No real credit card is required. A built-in Stripe test environment allows you to explore the complete authentication, subscription, and billing workflow without any financial commitment.
The demo supports → 💳 Stripe's test payment cards, enabling you to simulate real-world payment scenarios such as:
- ✅ Successful payments
- ❌ Payment declines
- 💳 Insufficient funds
- ⏳ Expired cards
- ⚠️ Other billing and subscription conditions
This allows recruiters and technical reviewers to see a fully integrated implementation of OAuth 2.1, Stripe payments, subscription management, usage quotas, and MCP tool authorization in action.
To get started, see the → installation guide.