Best for
- Developers needing a remote MCP server on Cloudflare quickly
- Developers wanting to monetize MCP tools
- Projects requiring user authentication
This is a framework for building MCP servers or agents, not a server you connect a client to.
A comprehensive MCP server boilerplate particularly suited for deploying remote MCP servers on Cloudflare with paid features, but requires some familiarity with Cloudflare and Stripe.
Strongest · Documentation 14/20 Weakest · Maintenance 7/20
Static review · not runListed 2026-08-07
Read the FMRS scoring method →Runtime:Node.js
BASE_URL
Base URL of the server; http://localhost:8787 locally or your workers.dev URL in production.
COOKIE_ENCRYPTION_KEY
Random key for encrypting login cookies; generate with openssl rand -hex 32.
GOOGLE_CLIENT_ID
OAuth client ID from Google Cloud Console, used for Google login.
GOOGLE_CLIENT_SECRET
OAuth client secret from Google Cloud Console, used for Google login.
GITHUB_CLIENT_SECRET
GitHub OAuth App Client Secret (optional, if using GitHub login).
STRIPE_SECRET_KEY
Secret key (sk_test_...) from Stripe Dashboard > Developers > API keys.
STRIPE_SUBSCRIPTION_PRICE_ID
Stripe Price ID (price_...) of a recurring product, used for subscription paid tools.
STRIPE_METERED_PRICE_ID
Stripe Price ID of a metered product, used for usage-based paid tools.
STRIPE_WEBHOOK_SECRET
Stripe webhook signing secret (whsec_..., optional, only needed if setting up webhooks).
GITHUB_CLIENT_ID
GitHub OAuth App Client ID (optional, if using GitHub login).
STRIPE_ONE_TIME_PRICE_ID
Stripe Price ID of a one-time payment product (optional, for one-time paid tools).
Clone the repository, npm install, create KV namespace OAUTH_KV, configure Google/GitHub OAuth, set up Stripe keys, fill in .dev.vars, run npx wrangler dev, then deploy.
After running npx wrangler dev, connect a client to http://localhost:8787/sse (e.g., Cloudflare AI Playground or Claude Desktop) and log in; the tools add, subscriptionAdd, meteredAdd, and onetimeAdd should appear, and calling add with two numbers should return their sum.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
MCP Boilerplate is an open-source project to create your own remote MCP server on Cloudflare with user login (Google or GitHub) and Stripe payments (subscription, metered, or one-time). It provides a simple step-by-step setup guide making it accessible to non-experts.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision e248a9fd5df7 Data synced 2026-10-12 Read the FMRS scoring method