Skip to content
Build your own
15 views·0 installs·Apr 27, 2026
Shared stack plan · /s/3XZ4HI0y

Build me a SaaS MVP stack with Postgres, Stripe payments, and Resend emails

Build me a SaaS MVP stack with Postgres, Stripe payments, and Resend emails

Install with one command
$ npx mcpflix install 3XZ4HI0y

Writes claude_desktop_config.json, prompts for any required API keys, and drops skills into ~/.claude/skills/. Backed up automatically.

What this stack is

You're building a SaaS MVP with a PostgreSQL database, Stripe payment processing, and Resend email delivery. I'm proposing a Claude Code stack that connects to Postgres via Prisma ORM, manages Stripe subscriptions and webhooks, and sends transactional emails through Resend—giving you a complete, production-ready payment and communication layer for your product.

Architecture

Loading diagram…

MCP Servers

Prisma

mcp-prisma

Type-safe ORM for PostgreSQL with migrations, schema introspection, and CRUD operations—essential for data modeling your SaaS users, subscriptions, and accounts.

Stripe

mcp-stripe

Full Stripe API access to create customers, manage subscriptions, handle invoices, and process payments—core to your billing engine.

SendGrid

mcp-sendgrid

Transactional email delivery at scale with templates and tracking—use this as your primary email service (Resend alternative if you prefer their modern API).

Install everything in one go

Copy a single setup guide that includes the MCP config and the skills installer script — paste into a doc to keep, or follow it section by section.

Implementation Plan

  1. Install Claude Code — Download from claude.ai/code or use the VS Code extension. Ensure you have Node.js 18+ and npm/yarn installed.

  2. Initialize your Prisma project — Run npm init -y && npm install @prisma/client prisma in your project root. Create a .env file with your PostgreSQL connection string:

    DATABASE_URL="postgresql://user:password@localhost:5432/saas_mvp" STRIPE_API_KEY="sk_live_..." RESEND_API_KEY="re_..."
  3. Set up Prisma schema — Run npx prisma init and define your core models in prisma/schema.prisma:

    Loading code…

    Run npx prisma migrate dev --name init to create the database.

  4. Configure MCP servers in Claude Code — Add to your MCP config (usually ~/.claude/config.json or Claude Code settings):

    Loading code…
  5. Create a Stripe webhook handler — Prompt Claude Code with: "Generate a Next.js API route that handles Stripe webhook events (customer.subscription.updated, invoice.payment_succeeded) and updates the Postgres Subscription table." Claude will scaffold the handler with signature verification and event routing.

  6. Set up email templates — Prompt: "Create Resend email templates for welcome, subscription confirmation, and payment failed emails using React components." Claude will generate type-safe templates you can send via the Resend MCP.

  7. Test the payment flow — Use Stripe's test mode (keys start with sk_test_). Prompt Claude: "Write an integration test that creates a test Stripe customer, subscribes them, and verifies the Postgres record was created." Run /test-gen to scaffold it.

  8. Security audit before launch — Run /security-audit to scan for hardcoded keys, then /migration-safe to validate your schema migrations. Finally, prompt Claude: "Generate a checklist of SaaS security best practices for payment handling and customer data."

Build your own — or save this one

Describe your project and our AI will design a complete stack — architecture diagram, MCP servers, skills, and step-by-step setup. Sign up free to save and share your own.