MCP Boilerplate — DevOps skill for Claude Code
A remote Cloudflare MCP server boilerplate with user authentication and Stripe for paid tools.
How to install MCP Boilerplate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open iannuttall/mcp-boilerplate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What MCP Boilerplate does
A remote Cloudflare MCP server boilerplate with user authentication and Stripe for paid tools.
Alternatives in DevOps
- Cccc — Coordinate your coding agents like a group chat — read receipts, delivery tracking, and remote ops from your p 1.1k ★
- Second Brain Cloudflare — One memory layer, every AI tool 734 ★
- Workers MCP — Talk to a Cloudflare Worker from Claude Desktop 646 ★
README
MCP Boilerplate: Simple Setup Guide
This project helps you create your own remote MCP server on Cloudflare with user login and payment options. You don't need to be a technical expert to get it running.
[!NOTE] This project is now free to use and open source. If you want to support me, just follow me on X [@iannuttall](https://x.com/iannuttall) and subscribe to [my newsletter](https://ian.is).
What You'll Get
- An MCP server that works with Cursor, Claude and other AI assistants
- User login with Google or GitHub
- Payment processing with Stripe
- The ability to create both free and paid MCP tools
Setup Checklist
Before starting, make sure you have:
- Node.js installed (download from nodejs.org)
- A Cloudflare account (sign up at dash.cloudflare.com/sign-up)
- A Google account for setting up login (or GitHub if you prefer)
- A Stripe account for payments (sign up at dashboard.stripe.com/register)
Step-by-Step Setup
Step 1: Get the Code
- Clone this repository to your computer:
git clone https://github.com/iannuttall/mcp-boilerplate.git
cd mcp-boilerplate
- Install everything needed:
npm install
Step 2: Set Up the Database
- Install Wrangler (Cloudflare's tool) if you haven't already:
npm install -g wrangler
- Create a database for user login:
npx wrangler kv namespace create "OAUTH_KV"
Note: you can't use a different name for this database. It has to be "OAUTH_KV".
After running this command, you'll see some text that includes `id` and `preview_id` values
Open the `wrangler.jsonc` file in the project folder
Look for the section with `"kv_namespaces": [`
Add your database information there:
"kv_namespaces": [
{
"binding": "OAUTH_KV",
"id": "paste-your-id-here",
"preview_id": "paste-your-preview-id-here"
}
]
Step 3: Set Up Your Local Settings
- Create a file for your settings:
cp .dev.vars.example .dev.vars
Open the `.dev.vars` file in your code editor
You'll need to add several values here (we'll get them in the next steps)
Step 4a: Setting Up Google Login (Recommended)
- Go to the Google Cloud Console
- Create a new project with any name you like
- Go to "APIs & Services" > "Credentials"
- Click "+ CREATE CREDENTIALS" and choose "OAuth client ID"
- If prompted, set up a consent screen:
- Choose "External" for User Type
- Add an App name (like "My AI Tool")
- Add your email address where required
- You can skip the "Scopes" and "Test users" sections
- For the OAuth client:
- Select "Web application" for Application type
- Give it a name
- Under "Authorized redirect URIs" add the following:
http://localhost:8787/callback/google
- Click "CREATE"
- You'll now see your Client ID and Client Secret - copy these val
Related Skills
Obsidian Web MCP
Secure remote MCP server for Obsidian vaults -- access your notes from Claude, your phone, or any MCP client,
MCP Gmail Multi Account
Remote MCP server for Gmail with support for multiple connected accounts, deployed on Cloudflare Workers, for
Build MCP
Build a remote MCP server on Cloudflare with tools and OAuth
MCP Google Contacts
Remote MCP server for Google Contacts on Cloudflare Workers, for use as a claude.ai custom connector
MCP SSH Manager
MCP SSH Server: 37 tools for remote SSH management Claude Code & OpenAI Codex DevOps automation, backups, data
3do Dev
Modern 3DO Interactive Multiplayer dev kit: Norcroft toolchain in Docker, patched Opera emulator with GDB serv
Related Agents
LinkedIn Login
Specialized agent for LinkedIn authentication using Playwright MCP server. Use proactively when LinkedIn login
Browser Stealth Agent
Stealth browser automation agent for targets behind Cloudflare, Akamai, Google, DataDome, or PerimeterX bot de
Stripe Specialist
Stripe payments + billing — the money layer: the server Stripe client, product/price catalog, Checkout Session