DEV Community

Cover image for Why AI-Generated Websites Need an Operational CMS (And How MCP Solves It)
NextBlock™ CMS
NextBlock™ CMS

Posted on

Why AI-Generated Websites Need an Operational CMS (And How MCP Solves It)

Prompt-driven tools have made scaffolding modern web pages nearly instantaneous. However, the architecture behind most AI website generators leaves developers with throwaway codebases. The moment non-technical teammates take over, simple layout adjustments or editorial changes turn into engineering requests.

With NextBlock CMS, we structured our AI engine—Cortex AI—around the Model Context Protocol (MCP) to combine prompt-driven generation with an operational content management system:

The Architecture: Direct MCP Orchestration

Instead of paying a third-party builder a 5x to 10x token markup on an internal chat box, NextBlock turns your running application into an open MCP server:

  • Direct Desktop Integration: Connect your existing Claude Desktop, Cursor, or ChatGPT desktop subscriptions straight to your live site or localhost via /api/mcp.
  • Strict PostgreSQL JSONB: Cortex AI uses constrained schema outputs rather than raw HTML strings. Blocks write directly into Supabase as node-based JSONB, preserving React Server Component (RSC) rendering velocity and achieving 100/100 Lighthouse performance.
  • The Visual Tiptap Hand-off: Because the AI builds standard NextBlock blocks, content creators can open the dashboard and edit text, modify layouts, or publish articles using a Notion-style drag-and-drop editor without triggering a code deployment.

Launch in 60 Seconds

You can one-click deploy the free core framework on Vercel (complete with automated Supabase provisioning) and test the AI capabilities with a 30-day free trial:

Top comments (0)