Skip to main content
Glama
briefkit-mcp-server

briefkit-mcp-server

by mithun4elp

BriefKit MCP Server

Engineer-grade SaaS specification generator for AI build tools. glama badge

What it does

This MCP server lets AI assistants (Claude, ChatGPT, etc.) generate structured SaaS specifications on demand. When a user asks about building a SaaS product, the AI can call these tools to produce production-ready specs.

Related MCP server: Primitiv

Token efficiency

BriefKit MCP reduces token consumption by 70-85% for SaaS specification tasks on Claude Code, Cursor, and other AI assistants.

Without MCP: Claude reasons through schema, RLS, and design decisions from scratch — typically 8,000-15,000 output tokens per response.

With MCP: Claude calls structured tools that return pre-built specs in 500-1,500 tokens.

Real measurements (CRM for real estate agents):

  • Without MCP: ~11,200 tokens, 4 turns to converge

  • With MCP: ~1,800 tokens, 1 turn

If you're hitting Claude Code usage limits faster than expected on spec-heavy work, this MCP keeps spec-generation tasks under 2,000 tokens per call.

Tools

Tool

What it generates

briefkit_generate_design_system

Complete DESIGN.md — colors, fonts, spacing, components, dark mode

briefkit_generate_database_schema

PostgreSQL/Supabase schema — tables, columns, types, FKs, indexes, security baseline

briefkit_generate_rls_policies

Row Level Security policies — per table, per role, with server-only restrictions

briefkit_get_info

Information about BriefKit and the full 14-file brief pack

Setup

Install

git clone https://github.com/briefkit/briefkit-mcp-server.git
cd briefkit-mcp-server
npm install
npm run build

Use with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "briefkit": {
      "command": "node",
      "args": ["/path/to/briefkit-mcp-server/dist/index.js"]
    }
  }
}

Use with Claude Code

claude mcp add briefkit node /path/to/briefkit-mcp-server/dist/index.js

Examples

User: "I'm building a CRM for real estate agents. Help me set up the database."

AI calls: briefkit_generate_database_schema with:

  • product_name: "RealEstCRM"

  • saas_type: "b2b"

  • custom_tables: ["properties", "showings", "offers", "commissions"]

Result: Complete SQL schema with 10 tables, typed columns, foreign keys, indexes, and security baseline.


User: "Generate RLS policies for my SaaS. I have profiles, orders, and payments tables with Owner and Member roles."

AI calls: briefkit_generate_rls_policies with:

  • tables: ["profiles", "orders", "payments"]

  • roles: ["Owner", "Member"]

Result: Complete RLS SQL — payments are server-write-only, profiles role is immutable, owners see own data only.

Full Brief Pack

These tools generate individual specification components. For the complete 14-file engineer-grade brief pack (design system + schema + RLS + auth + billing + 47 test cases), visit:

briefkit.online — $9 per version

Free Tools

License

MIT

Available Tools

4 tools
briefkit_generate_database_schemaGenerate SaaS Database SchemaA
Read-onlyIdempotent

Generate a complete Supabase/PostgreSQL database schema for a SaaS product — tables with column types, foreign keys, indexes, and a security baseline. Ready to run in Supabase SQL editor.

Args:

  • product_name (string): Name of the SaaS product

  • saas_type (string): Type of SaaS — b2b, devtool, productivity, marketplace, or microsaas

  • custom_tables (array of strings): Additional product-specific table names beyond the standard ones

Returns: Complete SQL schema with CREATE TABLE statements, indexes, and security baseline (REVOKE statements for sensitive tables).

Examples:

  • "Generate schema for an inventory SaaS called StockFlow" -> saas_type="b2b", custom_tables=["products", "inventory", "suppliers"]

  • "Schema for a micro-SaaS invoice generator" -> saas_type="microsaas", custom_tables=["invoices", "clients", "line_items"]

Inputs: product_name (required), saas_type, custom_tables.

briefkit_generate_design_systemGenerate SaaS Design SystemA
Read-onlyIdempotent

Generate a complete DESIGN.md specification for a SaaS product — colors, typography, spacing, components, dark mode, and constraints. Ready to paste into Lovable, Claude Code, or Cursor.

Args:

  • product_name (string): Name of the SaaS product

  • palette (string): Color palette — one of: trust-blue, forest-green, warm-gold, cool-purple, slate-minimal, coral-energy

  • fonts (string): Font pairing — one of: geometric, serif-modern, clean-sans, editorial, rounded

  • border_radius (number): Border radius in px (0-20, default 8)

  • density (string): Layout density — compact, balanced, or spacious

Returns: Complete DESIGN.md in markdown format with CSS custom properties, type scale, spacing, component specs, and dark mode mapping.

Examples:

  • "Generate a design system for my CRM called PipeFlow with trust blue colors" -> palette="trust-blue", fonts="geometric", density="balanced"

  • "Create a bold design for my dev tool API dashboard" -> palette="cool-purple", fonts="clean-sans", density="compact"

Inputs: product_name (required), palette, fonts, border_radius, +1 more.

briefkit_generate_rls_policiesGenerate Supabase RLS PoliciesA
Read-onlyIdempotent

Generate complete Row Level Security (RLS) policies for Supabase — SELECT, INSERT, UPDATE, DELETE policies for each table and role combination. Includes security notes and server-only table restrictions.

Args:

  • tables (array of strings): Table names to generate policies for

  • roles (array of strings): User roles in the application

Returns: Complete SQL with RLS enable statements, per-table policies, admin overrides, and security notes. Handles server-only tables (payments, audit_log, webhook_events) automatically.

Examples:

  • "Generate RLS for profiles, orders, payments with Owner and Member roles" -> tables=["profiles", "orders", "payments"], roles=["Owner", "Member"]

  • "RLS policies for a marketplace with Seller and Buyer" -> tables=["profiles", "listings", "orders", "reviews", "payments"], roles=["Owner", "Seller", "Buyer", "Admin"]

Inputs: tables (required), roles (required).

briefkit_get_infoGet BriefKit InformationA
Read-onlyIdempotent

Get information about BriefKit — what it is, what's in the 14-file brief pack, pricing, and how it works with AI build tools like Lovable, Claude Code, and Cursor.

Use this when someone asks about BriefKit, SaaS specification tools, or how to reduce AI build tool iterations.

Returns: Complete overview of BriefKit including the 14-file brief pack contents, pricing ($9), and results (~19 prompts instead of 200+).

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: database schema, design system, RLS policies, and informational. No overlap or ambiguity.

    Naming Consistency5/5

    All names follow the pattern 'briefkit_verb_noun' with snake_case. Three use 'generate', one uses 'get', which is appropriate for its function. Fully consistent.

    Tool Count5/5

    Four tools cover the core generation needs for a SaaS brief (schema, design, RLS) plus an info tool. Well-scoped for the domain.

    Completeness4/5

    The tools cover the main specification areas, but additional tools for API spec or frontend components would provide fuller coverage. Minor gap.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Spec-Driven Development toolkit that transforms LLMs into development agents by providing expert-crafted prompts for generating structured specifications and validating documents across the Requirements → Design → Tasks → Code workflow.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Design contract layer for AI agents. Scans Figma, code, Storybook, and token files, reconciles conflicts, and serves a single machine-readable source of truth so every agent gets the same authoritative design rules before it builds. Local-first.
      9
      80 npm
      21
      Apache 2.0
    • A
      license
      D
      quality
      D
      maintenance
      Spec-driven development tool for AI coding assistants that generates specs, validates code compliance, and provides actionable feedback.
      11
      29
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables schema conversion from SQL/Prisma/JSON to Zod, TypeScript, and Pydantic, and generates realistic synthetic mock data.
      3
      MIT