MCP-Billing
MCP-Billing is a self-hosted boilerplate designed for developers building Model Context Protocol (MCP) servers, offering pre-configured OAuth 2.1 authorization, per-call metered billing via Stripe, rate limiting, and multi-tenancy support. It aims to accelerate the deployment of monetized MCP tools by eliminating manual identity and payment infrastructure work. Currently in pre-launch validation phase (draft 01), the tool is not yet built; the developers are gauging demand through a waitlist and offering a founding price of $79 (one-time) for early adopters. The codebase is self-hosted, enabling developers to retain full control and 100% of revenue without marketplace fees or gateway cuts. Deployment templates for Cloudflare Workers, Vercel, and Fly.io are included, targeting platforms with free tiers. The boilerplate seeks to solve the common problem where building core MCP server functionality takes a weekend, but adding secure auth and billing often takes much longer and distracts from AI logic development.
- Category
- Apis
- Pricing
- Paid
Problem solved
Developers building MCP servers often struggle to integrate authentication, usage-based billing, and rate limiting, which can consume as much or more time than the core AI logic. MCP-Billing provides a ready-to-deploy foundation with OAuth 2.1, Stripe metered billing, and tenant isolation, allowing builders to concentrate on their server’s unique capabilities instead of infrastructure plumbing.
Use cases
- Launching a paid MCP server for AI agents with per-call billing
- Adding OAuth 2.1 login to an MCP tool without reading RFC 9728
- Monetizing an existing MCP server by adding metered subscriptions
- Multi-tenant MCP service where each client has isolated rate limits
- Prototyping an MCP business model with minimal upfront investment
- Deploying a secure MCP server quickly on Cloudflare Workers
Audience
- Developers
- ML Engineers
- Startups
Pros
- Pre-wired OAuth 2.1 and Stripe billing saves weeks of implementation
- Self-hosted, so developers retain full control and 100% revenue
- Includes deployment templates for popular serverless platforms
- Founding price is a low one-time cost for early adopters
- Addresses a common pain point in the emerging MCP ecosystem
Cons
- Not yet built; only a pre-launch validation draft, so not immediately available
- No existing users or track record to evaluate reliability
- Limited to the chosen frameworks (Stripe, Cloudflare Workers, etc.) without customization options
- Documentation and support may be minimal in early stages
- Dependence on third-party services (Stripe) for billing
Official website: https://mcp-billing.netlify.app/?src=indiehackers
Canonical LambdaBase page: https://www.lambdabase.com/tools/mcp-billing