mcp-boilerplate

mcp-boilerplate

A remote Cloudflare MCP server template with user authentication and payment functionality.

MCPDevOpen source
Type
MCP
Transport
http
Open source
Yes
GitHub Stars
★ 1.0k
Source
mcp-github

Overview

This project helps you create your own remote MCP server, supporting user login and payment options. It is compatible with AI assistants like Cursor and Claude. With simple setup, you can quickly deploy an MCP server featuring user authentication (Google or GitHub) and Stripe payment processing. Ideal for developers looking to offer paid tools for AI assistants.

Capabilities

  • User login (Google or GitHub)
  • Stripe payment processing
  • Create free and paid MCP tools
  • Compatible with multiple AI assistants

Use cases

Offering paid services for AI assistantsBuilding a custom MCP serverIntegrating user authentication and payment features

Setup

Requires: Node.js 环境Cloudflare 账户Google 或 GitHub 账户Stripe 账户
1. Clone the repository: `git clone https://github.com/iannuttall/mcp-boilerplate.git`; 2. Install dependencies: `npm install`; 3. Set up the database: `npx wrangler kv namespace create "OAUTH_KV"`; 4. Configure the `.dev.vars` file; 5. Set up Google or GitHub login; 6. Set up Stripe payments.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to set up user login?

You can use Google or GitHub for user login; refer to the documentation for detailed steps.

How to configure Stripe payments?

Get your API keys from the Stripe dashboard, create a product price, then add the relevant information to the `.dev.vars` file.

Related skills