Component Registry & MCP to Frontend — GenUI Architecture (P3)

In the previous part, we understood that a Framework-Agnostic Frontend (like Astro) doesn’t receive HTML code from AI, but JSON data. But how does the Frontend know it needs to render that JSON block into a <Card>, a <Chart>, or a <Form>? The answer lies in the Component Registry — the interface resolution brain of the Generative UI architecture. 3.1. The Convergence of MCP (Model Context Protocol) and Frontend To understand the Component Registry, we need to go upstream to the Backend. On the Backend, modern Agentic systems are standardizing communication with peripheral systems (like Databases, APIs) via the MCP (Model Context Protocol) standard (See details in Series: MCP Engineering In Production). ...

May 16, 2026 · 3 min · Lê Tuấn Anh

GenUI Boilerplate & Strangler Fig Migration — Frontend (P7)

This is the conclusion of the series. The best architectural theories remain merely on paper if we lack a clear execution path. In this part, we will define a Reference Repository structure and a Migration Strategy to bring Generative UI into actively running systems. 7.1. Boilerplate Directory Structure (Astro + Svelte) To maximize the power of the Framework-Agnostic architecture, we choose Astro as the Orchestrator. Svelte is chosen as the UI framework because it compiles to extremely lightweight Vanilla JS, without the Virtual DOM overhead like React—perfect for highly dynamic UI Components. ...

May 16, 2026 · 6 min · Lê Tuấn Anh