MCP ExplorerExplorer

Mcp Saas Kit

@Anson2Devon 9 months ago
4 MIT
FreeCommunity
AI Systems
MCP SaaS Kit is a Next.js template for rapid SaaS development with user auth, team management, and Stripe payments.

Overview

What is Mcp Saas Kit

MCP SaaS Kit is a modern starter template for building SaaS applications using Next.js. It provides essential features like user authentication, team management, subscription payments, and activity logging, enabling developers to create professional-grade SaaS products quickly.

Use cases

Use cases for MCP SaaS Kit include developing project management tools, online learning platforms, subscription-based e-commerce sites, and any application that requires user authentication and payment functionalities.

How to use

To use MCP SaaS Kit, clone the project from GitHub, install the necessary dependencies using pnpm, and set up the environment by configuring Stripe and other required services. Follow the quick start guide in the README for detailed instructions.

Key features

Key features include secure JWT-based user authentication, team collaboration tools, seamless Stripe payment integration, comprehensive activity logging, responsive design for various devices, and support for light/dark themes.

Where to use

MCP SaaS Kit can be used in various domains such as software as a service (SaaS) applications, team collaboration tools, subscription-based services, and any web application requiring user management and payment processing.

Content

MCP SaaS Kit Template

A modern SaaS application starter template built with Next.js 15.4.0-canary.9, featuring user authentication, team management, Stripe payments, and activity logging. Designed for rapid development and deployment, helping you build professional-grade SaaS products in ONE DAY.

Demo: https://mcp.day/
~~test account: [email protected], pwd:love2dev~~ Register directly

中文文档

✨ Core Features

  • User Authentication - Secure JWT-based authentication with email/password login
  • Team Collaboration - Complete team creation, member invitations, and permission management
  • Subscription Payments - Seamless Stripe integration supporting multiple subscription plans
  • Activity Logging - Comprehensive user action tracking system for auditing and analysis
  • Responsive Design - Modern UI that adapts perfectly to mobile and desktop devices
  • Light/Dark Themes - Support for light/dark theme switching to enhance user experience

🛠️ Tech Stack

🚀 Quick Start

Clone the Project

git clone https://github.com/Anson2Dev/mcp-saas-kit
cd mcp-saas-kit
pnpm install

Environment Setup

  1. Set Up Stripe

    Install Stripe CLI and log in:

    stripe login
    
  2. Create Environment Variables

    Run the setup script to generate your .env file:

    cp .env.example .env
    // TODO pnpm db:setup
    
  3. Initialize Database

    pnpm db:migrate
    // TODO pnpm db:seed
    
  4. Start Development Server

    pnpm dev
    

    Visit http://localhost:3000 to view the application

  5. Listen for Stripe Webhooks

    stripe listen --forward-to localhost:3000/api/stripe/webhook
    

💳 Test Payments

Use Stripe test card:

  • Card Number: 4242 4242 4242 4242
  • Expiry Date: Any future date
  • CVC: Any 3 digits

🌐 Production Deployment

1. Configure Stripe

Create a production webhook in the Stripe dashboard with the endpoint set to https://yourdomain.com/api/stripe/webhook.

2. Deploy to Vercel

  1. Push your code to a GitHub repository
  2. Import the repository in Vercel and deploy
  3. Configure the following environment variables:
    • POSTGRES_URL: Your Supabase URL
    • BASE_URL: Your production domain
    • STRIPE_SECRET_KEY: Production Stripe key
    • STRIPE_WEBHOOK_SECRET: Production webhook secret
    • POSTGRES_URL: Production database URL
    • AUTH_SECRET: Random string (openssl rand -base64 32)

📂 Project Structure

app/
├── (marketing)/ - Marketing pages (home, pricing, blog, docs)
├── (auth)/ - Authentication pages (sign-in, sign-up)
├── dashboard/ - Dashboard pages (overview, team, account, activity logs)
├── api/ - API routes (user, team, payments, activity)
├── lib/ - Core libraries
│   ├── auth/ - Authentication functionality
│   ├── db/ - Database functionality
│   └── payments/ - Payment functionality
└── components/ - UI components

🔑 Project Highlights

  • Clean Architecture - Clear directory structure based on Next.js App Router
  • Integrated Account Management - Account information and security settings in one place
  • Complete Team Functionality - Support for team creation, member invitations, and permission management
  • Multilingual Support - Interface and documentation available in English and Chinese
  • Activity Logging System - Detailed user action tracking with pagination and filtering
  • Theme Switching - Support for light/dark themes, automatically adapting to system settings

🔄 Recent Updates

  • Integrated security features into the account page for a simplified user experience
  • Optimized responsive layout for mobile devices
  • Added pagination to activity logs
  • Improved team management interface
  • Implemented light/dark theme switching
  • Optimized dashboard layout by removing unnecessary navigation elements

🤝 Contributing

Here’s my first opensource project, so it’s not perfect. I need your contribution to make it better.

If you have any suggestions or improvements, please open an issue or submit a pull request.

For any questions, please contact: [email protected]

Thanks

  • Vercel saas-starter-kit
  • Vibe coder: Augment & Cursor, they’re contributing 90% of the code.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers