Habify BaseHabify Base
Đội ngũ Developer Experience (AI Tooling & SDK Engineering)Updated: 2026-11-248 min read

Vibe-Coding from Cursor / Claude Code to Production Safely with @habifybase/mcp

AI IDEs build UIs in minutes, yet often overlook PostgreSQL RLS, leak secret keys to browsers, or miss compliance gates. @habifybase/mcp brings 5 automated guardrails directly into your IDE.

Key Takeaways

  • 5 production-focused MCP tools: inspect, scaffold_integration, test_connection, generate_bct_pages, verify_production_readiness
  • Catches common AI coding pitfalls: client-side hb_sk_* leaks, tables missing RLS, and prohibited local password tables
  • Includes Next.js App Router and NestJS starters wired for Shared Habify Account OIDC+PKCE
  • Machine-readable docs at /llms.txt and /llms-full.txt

Step 1: Add @habifybase/mcp to Cursor / Claude Code / Antigravity

Register the stdio MCP server inside .cursor/mcp.json or your IDE MCP config without committing secret keys to version control.

json
{
  "mcpServers": {
    "habify": {
      "command": "npx",
      "args": ["-y", "@habifybase/mcp"]
    }
  }
}

Step 2: Scaffold Integration & Run verify_production_readiness

Ask your AI assistant to run habify_scaffold_integration and habify_verify_production_readiness before deploying your frontend to Vercel, Netlify, or Cloudflare Pages.

Frequently Asked Questions

Where do I host my frontend when using Habify Base?

Deploy your frontend on Vercel, Cloudflare Pages, Netlify, or your own VPS. Habify Base strictly provides the BaaS backend, databases, and Core Services.