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

AI Agents & IDEs

Connect Cursor, Claude, Codex, Gemini, Windsurf, and other AI coding agents to Codapult with project instructions and MCP.

Codapult is designed to work well with AI coding agents and AI-native IDEs. The repository includes agent instructions, Cursor rules, and an MCP server that exposes project-aware tools, resources, and prompt templates.

What Is Included

CapabilityFile or commandPurpose
Agent guideAGENTS.mdProject structure, rules, patterns, security requirements, MCP overview
Claude guideCLAUDE.mdShort entrypoint for Claude Code/Claude Desktop users
Gemini guideGEMINI.mdShort entrypoint for Gemini CLI/IDE users
Cursor rules.cursor/rules/*.mdcPattern-specific rules for API routes, DB, components, adapters, plugins, server actions
Cursor MCP config.cursor/mcp.jsonPreconfigured MCP server connection
MCP servernpx -y @codapult/cli@latest mcp-serverStructured project access for compatible agents

Supported Agents

Agent or IDERecommended setup
CursorUse included .cursor/rules and .cursor/mcp.json
Claude CodeRead CLAUDE.md/AGENTS.md; connect MCP through stdio if supported by your environment
Claude DesktopAdd the Codapult MCP server to claude_desktop_config.json
CodexRead AGENTS.md; use the MCP stdio command when MCP tools are available
Gemini CLI / Gemini Code AssistRead GEMINI.md/AGENTS.md; use the MCP stdio command where supported
Windsurf and other MCP clientsConfigure npx -y @codapult/cli@latest mcp-server as a stdio MCP server

MCP Server

The MCP server ships with @codapult/cli and exposes:

  • 29 Codapult template tools for project context, project status, database operations (including read-only live schema diff), env validation, plugin management, code generation, checks, and deployment readiness.
  • 8 resources: schema, app config, env config, AGENTS.md, .env.example, validation schemas, navigation config, and all non-test src/config files.
  • 2 prompt templates for Codapult code review and schema design.

The CLI also contributes 14 tools, 6 resources, and 2 prompt templates for architecture discovery, policy proposals, verification, review packets, run history, and time-bounded waivers through its integrated Guard capabilities.

The published CLI is downloaded automatically through npx; no global CLI installation, codapult-cli source repository, or local CLI build is required. To update the published MCP server version, run npx @codapult/cli mcp update and reload the editor connection.

Start the server:

npx -y @codapult/cli@latest mcp-server

Pin or update the MCP version from the project root:

npx @codapult/cli mcp update

Run the same project health checks used by MCP:

npx @codapult/cli mcp doctor

Full reference: MCP Server.

Cursor

The project includes:

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

Open Cursor settings and verify the codapult MCP server is active.

Claude Desktop

Add a stdio server entry:

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

Agent-Safe Workflows

Ask agents to use Codapult MCP tools instead of guessing:

  • "Run Codapult doctor and tell me what is misconfigured."
  • "List all database tables and propose a schema for saved reports."
  • "Generate a protected dashboard page for invoices."
  • "Inspect the project's installed capabilities and show what files and configuration they use."
  • "Check deployment readiness for Docker and Terraform."

The MCP server reads project files directly and returns structured results, which reduces stale context and copy-paste errors.

Guardrails for Agents

When prompting an agent, include these constraints:

  • Follow AGENTS.md and .cursor/rules.
  • Use @/ imports and existing UI components.
  • Server components by default; add 'use client' only when browser state or effects are needed.
  • API route pattern: auth, rate limit, Zod validation, business logic, JSON response.
  • Server actions must validate input, check permissions, and revalidate affected paths.
  • Never expose secrets through NEXT_PUBLIC_ variables.
  • Keep modules removable and respect codapult:prune markers.
Upgrading CodapultMCP Server