Codapult
DocsBlogPricingPluginsDemo
Get Codapult
Logo

Build your SaaS with AI. Keep the architecture under control.

Get Codapult

Product

  • Pricing
  • Architecture
  • Modules
  • AI platform
  • Plugins

Developers

  • MCP
  • CLI
  • Documentation
  • Launch your SaaS
  • Build a B2B SaaS

Resources

  • Blog
  • FAQ

Connect

  • Contact
  • GitHub

Compare

  • SaaS template comparison
  • Codapult vs Supastarter
  • Codapult vs Makerkit
  • Codapult vs ShipFast
  • Codapult vs SaaSBold
  • Codapult vs Gravity
  • Codapult vs Nextbase
  • Codapult vs BuilderKit

Featured on

Codapult on LaunchNestCodapult on LaunchNestbetterlaunch.cobetterlaunch.coFeatured on LaunchBuffFeatured on LaunchBuffCodapult on PeerPushCodapult on PeerPushFeatured on LaunchItFeatured on LaunchIt
© 2026 Codapult·All rights reserved·Privacy Policy·Terms of Service
Full source code · One-time purchase · Self-host anywhere
All articles

Getting Started

  • Introduction
  • Quick Start
  • Your First 30 Minutes
  • Project Structure
  • License and Permitted Use
  • Starter Profiles and Recipes
  • Product Recipes

Configuration

  • Environment Variables
  • App Configuration
  • Which Modules Should I Enable?
  • Provider Matrix
  • Capability Coverage

Database

  • Database and Provider Guide
  • Database
  • Migrations

Authentication

  • Authentication
  • OAuth Providers
  • Two-Factor & Passwordless
  • Enterprise SSO (SAML)

Ai

  • AI Runtime Architecture and Evals
  • AI Features
  • Streaming Chat
  • RAG and Semantic Search
  • Quotas and Memory

Teams

  • Teams & Organizations
  • Permissions & RBAC
  • SCIM Provisioning

Security

  • Data Retention Policy
  • Security

Deployment

  • Enterprise E2E Evidence
  • Enterprise Production Readiness
  • Deployment, Backup, and Restore Runbook
  • Deployment
  • Troubleshooting

Payments

  • Payments & Billing
  • Stripe Setup
  • LemonSqueezy Setup
  • Polar Setup
  • Payment Webhooks

Api

  • API Layer
  • tRPC
  • GraphQL

Email

  • Email
  • Email Templates

Infrastructure

  • Infrastructure
  • Self-Hosting
  • File Storage
  • Docker
  • Background Jobs
  • Terraform & Pulumi
  • Kubernetes

Ui

  • UI & Theming

I18n

  • Internationalization

Content Management

  • Content Management

Admin

  • Admin Panel

Monitoring

  • Analytics & Monitoring

Modules

  • Module Architecture
  • Waitlist
  • Audit Log
  • White-Labeling
  • Workflow Automation
  • A/B Testing
  • Welcome Page
  • Referrals
  • GDPR Export and Deletion
  • Promotions
  • Outgoing Webhooks

Plugins

  • Plugin System
  • CRM Plugin
  • Helpdesk Plugin
  • Email Marketing Plugin

Upgrading

  • Upgrading Codapult

Developer Tools

  • AI Agents & IDEs
  • MCP Server
  • Testing
  • Build Your First Feature with Codapult MCP
  • How Guard Blocks an Architectural Regression
Developer Tools

Build Your First Feature with Codapult MCP

Use Codapult MCP to understand a project, generate a feature boundary, and verify the result.

This workflow uses MCP as a project-aware development surface. The assistant reads the current project context first, proposes a bounded change, uses the generator where it fits, and runs the repository checks before you review the diff.

1. Connect MCP

The generated .cursor/mcp.json starts the published CLI server:

{
  "mcpServers": {
    "codapult": {
      "command": "npx",
      "args": ["-y", "@codapult/cli@latest", "mcp-server"],
      "cwd": "."
    }
  }
}

Verify the connection from the project root:

npx @codapult/cli mcp doctor

2. Start with context, not a file path

Ask the assistant to inspect the active providers, enabled features, schema, and conventions:

Read the Codapult project context and current Git diff. I want to add saved reports for organization members. Identify the existing auth, organization, database, navigation, and testing patterns. Do not edit files yet.

This matters because a Codapult project can remove modules during setup and can use different providers. The correct implementation depends on the project that is actually present.

3. Generate the smallest boundary

For a dashboard feature, the CLI generator creates an authenticated server page:

npx @codapult/cli generate page reports

For an API boundary or server action, use:

npx @codapult/cli generate api reports
npx @codapult/cli generate action reports

The generators provide a safe starting shape with authentication, rate limiting, or input validation. Connect that starting shape to the product's business behavior by asking MCP to inspect the generated files and follow the existing service, schema, and navigation conventions.

4. Ask for an implementation plan

Using the generated reports boundary, propose the schema, organization-scoped query, server action, dashboard UI, and tests. Reuse existing components and keep the first change limited to listing and creating reports. Show the files you will change before editing.

Prefer one source of truth for validation and provider behavior. Keep organization scope in the data access path, not only in the page UI.

5. Verify the result

Run the relevant type-check, lint, and tests for the reports feature. Then run Codapult Doctor and report any schema, environment, or provider mismatch. Do not hide warnings or change unrelated files.

You can also run the checks directly:

pnpm type-check
pnpm test
npx @codapult/cli doctor

If the feature changes the database, inspect the generated schema diff and migration plan before applying it with pnpm db:push or the project's migration workflow.

MCP boundaries

MCP reads the local project and can execute configured project commands. Use it alongside code review, database backups, provider staging tests, and deliberate mutation decisions. Treat generated code as a typed starting point and review the final diff like any other change.

TestingHow Guard Blocks an Architectural Regression