The stack AI moves fast with.
npm install create-mf2-app
The full-stack web framework for developers who ship
Get started by running npx create mf2-app@latest
[![npm version][npm-image]][npm-url]
[![Downloads][downloads-image]][npm-url]
[![License][license-image]][license-url]
[![GitHub Stars][stars-image]][github-url]
- 🚀 Quick Start
- 🎯 What is MF2 Stack?
- 📦 Templates
- ✨ Features
- 🛠️ CLI Usage
- 🤔 Why MF2?
- 🚢 Deploy
- 🤝 Community
- 👥 Contributors
npm create mf2-app@latest| npm | npm create mf2-app@latest |
| yarn | yarn create mf2-app |
| pnpm | pnpm create mf2-app |
| bun | bun create mf2-app |
```
◇ What will your project be called?
│ my-startup
│
◇ Which platform are you building for?
│ Web
│
◇ What are you building?
│ ● Full Stack (database, auth, payments, emails)
│ ○ Full Stack + AI (agents, RAG, chat interface)
│ ○ Frontend (landing pages, marketing sites)
│
◇ Would you like to include documentation?
│ ● Yes (powered by Mintlify)
│ ○ No
│
◇ Should we initialize a Git repository?
│ ● Yes
│ ○ No
│
◇ Should we install dependencies?
│ ● Yes
│ ○ No
│
◆ Done! Here's how to get started...
The MF2 Stack is an opinionated, full-stack web development framework designed for speed. Created by Korrect, it's the stack that AI moves fast with.
- 🚀 Ship Fast: Pre-configured with everything you need
- 🔒 Type Safety: End-to-end TypeScript for confidence
- 🤖 AI-Ready: Built for the AI era with streaming and real-time
- 📦 Batteries Included: Auth, payments, emails, analytics - it's all there
- ❤️ Amazing DX: Tools that developers and LLMs love
| Frontend | Full Stack | Full Stack + AI |
|---|---|---|
Perfect for: • Landing pages • Marketing sites • Documentation Includes: ✅ Next.js 15 ✅ TypeScript ✅ Tailwind CSS v4 ✅ shadcn/ui ✅ Dark mode ✅ SEO ready | Perfect for: • SaaS products • Web apps • Startups Everything in Frontend plus: ✅ Convex (database) ✅ Clerk (auth) ✅ Polar (payments) ✅ Resend (email) ✅ PostHog (analytics) ✅ Production ready | Perfect for: • AI applications • Chatbots • Smart features Everything in Full Stack plus: ✅ AI Agents ✅ RAG System ✅ Chat UI ✅ Streaming ✅ Usage tracking ✅ Rate limiting |
| ⚡ Next.js 15 | Latest React framework with App Router |
| 🔷 TypeScript | Type-safe from database to UI |
| 🎨 Tailwind CSS v4 | Modern styling with CSS variables |
| 🧩 shadcn/ui | Beautiful components ready to use |
| 🌙 Dark Mode | Automatic theme switching |
| 📱 Responsive | Mobile-first design |
| 🗄️ Convex | Real-time database with TypeScript |
| 🔐 Clerk | Complete auth with social logins |
| 💳 Polar | Modern payments and subscriptions |
| 📧 Resend | Beautiful transactional emails |
| 📊 PostHog | Analytics and feature flags |
| 🚀 Vercel | One-click deployment |
| 🤖 AI Agents | Pre-built assistant and support agents |
| 📚 RAG System | Knowledge base with vector search |
| 💬 Chat Interface | Beautiful streaming chat UI |
| 📊 Usage Tracking | Monitor tokens and costs |
| 🚦 Rate Limiting | Protect your API and wallet |
| 🎮 Playground | Test and debug AI agents |
bash
npm create mf2-app@latest
`$3
`bash
Create with project name
npm create mf2-app@latest my-startupSkip installation
npm create mf2-app@latest my-startup --no-installUse specific package manager
npm create mf2-app@latest my-startup --use-pnpmSkip git initialization
npm create mf2-app@latest my-startup --no-git
`$3
| Option | Description |
|--------|-------------|
|
--use-npm | Use npm as package manager |
| --use-yarn | Use Yarn as package manager |
| --use-pnpm | Use pnpm as package manager |
| --use-bun | Use Bun as package manager |
| --no-git | Skip Git repository initialization |
| --no-install | Skip dependency installation |🤔 Why Choose MF2?
$3
🧠 AI-First Architecture
- Streaming responses built-in
- Type-safe AI interactions
- Real-time data sync
- Production-ready scaling
⚡ Insane Developer Velocity
- Hot reload everything
- Type safety everywhere
- Amazing error messages
- One-command setup
💰 Save Weeks of Setup
- Auth system ready
- Payments integrated
- Email templates included
- Analytics configured
🛡️ Production Ready
- Security best practices
- Error tracking setup
- Performance optimized
- Deployment ready
$3
| Feature | MF2 Stack | T3 Stack | Next.js Starter |
|---------|-----------|----------|-----------------|
| Real-time Database | ✅ Convex | ❌ | ❌ |
| Authentication | ✅ Clerk | ✅ NextAuth | ❌ |
| Payments | ✅ Polar | ❌ | ❌ |
| Email System | ✅ Resend | ❌ | ❌ |
| AI Ready | ✅ Built-in | ❌ | ❌ |
| Type Safety | ✅ End-to-end | ✅ | ⚠️ Partial |
| Setup Time | < 1 minute | 5 minutes | 10+ minutes |
🚢 Deploy
Deploy your MF2 app with one click:

🤝 Community & Support
Join our growing community of developers who ship fast:


- 💬 Discord - Get help and share your projects
- 🐛 GitHub Issues - Report bugs
- 🐦 Twitter - Stay updated
- 📧 Email - Business inquiries
👥 Contributors
We love our contributors! Want to join them?
$3
1. Fork the repository
2. Create your feature branch (
git checkout -b feature/amazing)
3. Commit changes (git commit -m 'Add amazing feature')
4. Push to branch (git push origin feature/amazing`)See CONTRIBUTING.md for detailed guidelines.
500+ Projects Built with MF2 | 48 Hours Average time to MVP | $2M+ Revenue Generated by MF2 apps |
MIT © Korrect
---
Built with ❤️ by Korrect and our amazing contributors
[npm-image]: https://img.shields.io/npm/v/create-mf2-app?color=0b7285&logoColor=0b7285
[npm-url]: https://www.npmjs.com/package/create-mf2-app
[downloads-image]: https://img.shields.io/npm/dm/create-mf2-app?color=364fc7&logoColor=364fc7
[license-image]: https://img.shields.io/npm/l/create-mf2-app
[license-url]: https://github.com/korrect-ai/create-mf2-app/blob/main/LICENSE
[stars-image]: https://img.shields.io/github/stars/korrect-ai/create-mf2-app?style=social
[github-url]: https://github.com/korrect-ai/create-mf2-app