
The full-stack Next.js SaaS Starter Kit your AI agent extends
Authentication, billing, teams with roles and invitations, and a super admin, already wired together in a Turborepo monorepo. A multi-tenant SaaS boilerplate with a working backend, not a Next.js SaaS template of screens.Your AI agent writes product features against conventions documented in AGENTS.md and exposed through the MakerKit MCP server, so Claude Code, Cursor, or Codex follow the kit's patterns.Pick Supabase with Postgres Row Level Security, or Drizzle or Prisma with Better Auth on any Postgres.
Authentication
Billing and Subscriptions
Customer Portal
Multi Tenancy
Super Admin
Shadcn UI and Tailwind CSS
Dark Theme
Blog
Documentation/Help Center
Mobile Friendly
Serverful/Serverless Stack
Strict code standards
E2E Testing with Playwright
Emails with React Email
Mailers
Plugins
You Own the Code
Documentation
SEO Basics
Swappable Providers
AI Agent Rules
MCP Server
Course
Realtime Notifications (Supabase)
Internationalization
Figma UI Kit
Support
Community
Guides
Continuous Updates
Maintained Full-Time
Since 2022
Rules and an MCP server for AI agents and IDEs: Claude Code, Codex, Gemini, and Cursor
Instruction files tell the agent where code goes and which patterns to reuse. The MCP server gives it structured access to the kit, so features land on the existing auth, tenancy, and billing instead of beside them.

A production-ready Next.js SaaS Starter KitThe setup, stack, and tooling are decided, so your first commit is a product feature.
AuthenticationPassword, magic link, passkey, and social sign-in, plus MFA, with the email flows that go with them.

Multi-TenancyPersonal and team accounts, invitations, and role-based access control, modeled in the database rather than bolted on in app code.

BillingSubscriptions with Stripe and other providers, including per-seat and metered billing, for personal and team accounts.
Admin PanelManage your users, organizations, and build your own internal tooling within the app.

Delightful UI, Built to ExtendScreens for every flow, built from the same Shadcn UI components you will use for your own features.

MarketingGet found by your target audience with blog, documentation, changelog, and more.

Monitoring and TestingComprehensive monitoring and testing tools to help you keep your SaaS running smoothly.

Support and CommunityAsk me and the MakerKit community on Discord about setup, kit-related issues, and how the codebase fits together.
What your AI agent would otherwise have to build first
An agent can scaffold a Next.js app in minutes. Auth, tenancy, and billing that hold up in production are where the hours go. With AI coding tools, that is still 49-81 hours of senior developer time, including fixing the patterns AI got wrong.
Build once
Infrastructure every SaaS needs before its first feature
- Authentication (email, OAuth, MFA)6-10 hoursPre-built
- Stripe subscription billing5-8 hoursPre-built
- Teams, roles & invitations6-10 hoursPre-built
- Super admin dashboard4-6 hoursPre-built
- Transactional emails3-5 hoursPre-built
- Marketing pages2-4 hoursPre-built
- Blog & documentation3-5 hoursPre-built
- Project setup (monorepo, CI, TypeScript)2-3 hoursPre-built
- E2E tests (auth and billing flows)3-5 hoursPre-built
Maintain forever
Work that keeps coming after launch
- Refactoring AI-generated patterns15-25 hoursNot needed
- Next.js/React version upgradesEvery major releaseIncluded
- Security patches & fixesOngoing, unpredictableIncluded
- Dependency updatesOngoingIncluded
49-81 hours
With AI tools, including rework
Day 1
Start building your product immediately
$7,350-$12,150
In developer time and opportunity cost
Estimates for a senior developer building from scratch with Claude Code or Cursor at $150/hour, including 15-25 hours refactoring AI-generated patterns. Read the methodology
Our customers love Makerkit ❤️
Rob, founder at Provider.app
Watch the full interview with Rob.Sebastian, founder at Watchthis
Watch the full interview with Sebastian.Michael, founder at ChatFlow
Watch the full interview with Michael.Get the Next.js SaaS Starter Kit: one payment, every product you build on it
One-time purchase: lifetime license, continuous updates, unlimited projects of your own.
- Lifetime access to your stack of choice
- Build unlimited applications
- Continuous updates
- Access to the Discord community
- The best support in the SaaS Starter kits market, period.
- Community and Chat support
- Community-based feature requests and Request for Comments. You have a say in what Makerkit should build next.
- One-time payment, no subscriptions
- Includes access to our free Figma UI kit
Choose your Stack
Select the technology stack that best fits your project
Questions about licensing?
Read the MakerKit license terms and the MakerKit FAQ, or contact me.
The parts of a SaaS your agent should not write from scratch
AI tools get you to a prototype. MakerKit gives your agent a production baseline to extend: tenant isolation, real billing, and an upgrade path maintained since 2022.
What is the MakerKit Next.js SaaS Starter Kit?
MakerKit is a Next.js SaaS starter kit and multi-tenant SaaS boilerplate for developers building B2B products. It ships authentication, Stripe billing, teams with roles and invitations, a super admin, and a marketing site on Next.js 16, with Supabase, Drizzle, or Prisma as the data layer. Agent rules and an MCP server let Claude Code, Cursor, and Codex extend the kit's patterns instead of replacing them.
Best for
- Developers building a B2B SaaS that needs teams, roles, and per-seat billing in the first release
- Founders who direct an AI coding agent and want it working inside an established codebase
- Agencies and product teams that start several SaaS projects on one architecture (Team license)
Not for
- Non-developers: MakerKit is source code you run, change, and deploy yourself
- Throwaway prototypes where auth and billing do not matter yet
- Teams looking for a hosted, no-code app builder
Tenant isolation in the data model
Teams, roles, and invitations are part of the schema. Supabase kits enforce access with Postgres RLS; Better Auth kits with organization-scoped authorization policies.
Built for AI coding agents
AGENTS.md and CLAUDE.md files at the root and in each package, rules for Claude Code, Cursor, Codex, and Gemini, and an MCP server your agent can call.
Billing beyond the happy path
Per-seat, metered, and one-off billing with webhook handling, behind a gateway that switches providers through configuration.
Lifetime license, continuous updates
Pay once, then pull new features, fixes, and framework upgrades into your repository with git. Maintained full-time since 2022.
Support from the author
Questions go to me on Discord, the person who writes and maintains the kits.
Documented per kit
Each kit has its own documentation, from installation to production. The Next.js Supabase kit alone has more than 170 pages.
With and without MakerKit
SaaS products built with MakerKit
A selection of products MakerKit customers have built on the kits.

I help founders launch faster - because life’s too short to write boilerplate code.
I am a software engineer with almost 15 years of experience writing code for both startups and enterprises.
My love for creating digital products inspired me to build Makerkit, a SaaS Starter Kit that helps you launch the SaaS you have always dreamed of.
My job is to help you achieve your goals, and I work hard to make it happen.
You can find me on Twitter, LinkedIn, and GitHub.
Building a multi-tenant SaaS with an AI agent? Start it on MakerKit.
If your product needs teams, roles, and billing that hold up with paying customers, this Next.js SaaS starter kit is the baseline to give your agent. Buy once, clone today, and spend this week on the features only your product has.
Next.js SaaS Starter Kit FAQ
Is MakerKit a Next.js SaaS template or a Next.js SaaS boilerplate?
A boilerplate, also called a Next.js starter kit. A Next.js SaaS template usually stops at the screens; MakerKit ships the backend behind them: auth wired to Postgres, billing wired to a payment provider, and the account model that ties them together. It is a multi-tenant SaaS boilerplate you own and extend, not a design template or a code generator.
Which stacks does the Next.js SaaS starter kit support?
Three, on the same architecture: Supabase (Supabase Auth, Postgres, Storage, and Row Level Security), Drizzle ORM with Better Auth, or Prisma 7 with Better Auth on any Postgres. All three use Next.js 16, React 19, TypeScript, Tailwind CSS 4, and Shadcn UI. A license covers one data stack and includes the TanStack Start version of that stack too, plus React Router 8 on the Supabase stack.
Is there a free version of MakerKit?
Yes. MakerKit Lite is a free, open source Next.js SaaS boilerplate on GitHub with Supabase authentication, marketing pages, and the same Turborepo architecture as the full kit. Use it to evaluate the codebase before upgrading to the full version with billing, teams, and admin tools.
How does MakerKit work with AI coding agents like Claude Code, Cursor, and Codex?
The repository ships AGENTS.md and CLAUDE.md instruction files at the root and inside each package, pre-configured rules for Claude Code, Cursor, Codex, and Gemini, and an MCP server that gives the agent structured access to the kit. Your agent builds features on patterns that already handle auth, tenancy, and billing, instead of generating its own versions of them.
Why not let an AI agent scaffold the SaaS infrastructure?
You can, for a prototype. The costly parts are the ones agents get subtly wrong: tenant isolation, role checks on every mutation, and billing webhooks that must reconcile plan changes, seat counts, and failed payments. Our estimate is 49 to 81 hours of senior developer time with AI tools, including 15 to 25 hours refactoring generated patterns, before your first product feature. MakerKit gives you that baseline on day one, maintained since 2022.
Is the Next.js SaaS starter kit overkill for a solo founder?
No. Team accounts sit behind a feature flag: on the Supabase kit, set NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS=false and you run personal accounts only, with auth, billing, the admin panel, and the marketing site intact. The Drizzle and Prisma kits offer a personal-only account mode. Turn teams on when the first company asks for seats.
Can I deploy the Next.js kit outside Vercel?
Yes. The Supabase kit has deployment guides for Vercel, Cloudflare, Docker, and a VPS. The Drizzle and Prisma kits document Docker and Railway and run against any Postgres provider, with Better Auth running inside your app rather than as a hosted service.
What support is included?
Discord support from me, Giancarlo, the founder who works on MakerKit full-time, and from the community. I help with setup, kit-related issues, and questions about the codebase. Team licenses add a private Discord channel for your team.
Can I evaluate MakerKit before buying, and can I get a refund?
Yes to the first: the documentation for every kit is public, and I can share code snippets or a demo on request. Refunds are generally not offered once repository access is redeemed, because you receive the full source code.
Is MakerKit a one-time purchase or a subscription?
A one-time purchase. You get a lifetime license to the source code, continuous updates for the stack you bought, and unlimited projects for your own business, with no renewal fee. Building products for clients requires a Team license, and each client that receives the code needs their own license.




















