Atelier
Converts spoken descriptions into standards-compliant floor plans and furnished 3D models, enabling real-time collaborative editing through a live browser editor with Claude AI.
README
English Β· π»π³ TiαΊΏng Viα»t
Atelier π
An AI architect that plugs into any MCP client β Claude Code, Codex CLI, Gemini CLI, Claude Desktop, Cursorβ¦ From a spoken description to standards-compliant floor plans and a furnished 3D model, with a live browser editor you can edit by hand while the AI works.
Built for the Vietnamese tube house (nhΓ α»ng): TCVN drawing symbols, Vietnamese dimensional rules, Lα» Ban feng-shui rulers, irregular lot polygons β things no Western tool ships as first-class citizens. The editor UI is bilingual and auto-detects by country: Vietnamese in Vietnam, English elsewhere (timezone + browser language β no geo-IP; the VI/EN button overrides and is remembered). Exported drawings stay Vietnamese by design: they are TCVN documents.
Atelier /ΛΓ¦tΙlΛjeΙͺ/ β "design workshop".
| Standards-compliant plan, 3-chain dims | First-person walkthrough (WASD) | A/B design comparison |
|---|---|---|
![]() |
![]() |
![]() |
Core idea
One parametric model (JSON) is the single source of truth. Claude edits it through MCP tools; humans edit it directly in the web editor (drag, type exact numbers); both sync in real time over WebSocket. A deterministic renderer generates symbol-correct 2D drawings and the furnished 3D model from the same source β so 2D and 3D can never drift apart, and drawing symbols are always correct because the AI never draws them.
Claude Code ββMCPβββΊ Server (model + validator + renderer) βββWebSocketβββΊ Browser (live editor)
Install (30 seconds)
You don't clone anything β Atelier ships as an npm package (atelier-mcp), and it's a standard MCP server, so it is not tied to Claude: any MCP client can run it. The server is always the same one command β npx -y atelier-mcp β only the registration step differs per client.
Stand in your own house folder (one folder = one house) and run ONE command β it detects every MCP client on your machine and registers with each:
mkdir my-house && cd my-house
npx -y atelier-mcp setup # finds Claude Code / Codex CLI / Gemini CLI /
# Claude Desktop / Cursor and registers Atelier
npx playwright install chromium # optional, once β PNG/PDF export
<details> <summary>Registering manually instead (or for other MCP clients)</summary>
claude mcp add atelier -- npx -y atelier-mcp # Claude Code
codex mcp add atelier -- npx -y atelier-mcp # OpenAI Codex CLI
gemini mcp add atelier npx -y atelier-mcp # Gemini CLI
GUI clients (Claude Desktop, Cursor, β¦) have no "current folder" β point ATELIER_DIR at your house folder in their MCP config JSON:
{ "mcpServers": { "atelier": {
"command": "npx", "args": ["-y", "atelier-mcp"],
"env": { "ATELIER_DIR": "C:\\path\\to\\my-house" } } } }
</details>
Then start your agent and say "design me a 4Γ16m tube house". Works best with a model that reads Vietnamese well (tool descriptions and validator messages are Vietnamese-first) and a client that shows images from tool results β the agent inspects its own drawings.
From source (contributors)
pnpm install
npx playwright install chromium # PNG/PDF rendering + demos
pnpm build:web
pnpm demo:p5 # the 60-second demo: live build β drag a wall,
# type 4200 β walk through the house in 3D
The repo ships a ready .mcp.json β open Claude Code in this folder and it registers the atelier server from source. pnpm build:cli builds the npm package (packages/cli, single-file bundle + web editor + fonts; verify with npx tsx packages/cli/smoke.mts <installed-pkg-path>).
What's the "60-second demo"?
The project's definition of success (doc 01), and it runs end-to-end (pnpm demo:p5):
Describe "4Γ16m tube house, 2 floors, 3 bedrooms, parking for 2 motorbikes" β a two-storey plan with correct symbols grows live in the browser β the user grabs a wall, types
4200 ββ dims update, Claude notices the change and adapts the adjacent rooms β switch to 3D and walk (WASD) through the furnished house.
Status β roadmap complete
All six phases (P0βP5) plus the first three backlog items shipped:
| Phase | Delivered | Demo |
|---|---|---|
| P1 β Engine + static drawings | Parametric model, 22-rule validator with sources checked against TCVN 13967:2024, SVG/PNG plan renderer (symbols + 3-chain dims), 7 MCP tools, design-process skill | demo:p1 |
| P2 β One-way live | editor_open launches the browser editor (Vite + Three.js) in the same process; every apply_ops appears instantly in 2D (server-rendered SVG) and 3D (incremental maquette); capture_view lets Claude see exactly what the user sees |
demo:p2 |
| P3 β Hand editing | Drag walls/doors/furniture with a type-a-number HUD (drag, type 4200 β β exactly 4200mm), snapping, per-origin undo, soft-locks ("the user always wins" β agent writes on a user-held entity are rejected), editable properties panel, get_changes_since with old β new summaries |
demo:p3 |
| P4 β Documentation set | Numbered sheet set KT-01β¦: floor plans (clear-dimension interior dims, section mark), front elevation, section A-A through the stair (pochΓ©, door voids, step profile), room & door schedules; export multi-page A3 PDF, DXF (pure TS, true mm β measurable in CAD), SVG | demo:p4 |
| P5 β Furniture & experience | 106-asset catalog (true mm sizes, clearances, CC0 parametric geometry + license manifest), per-category 3D builders, floor finishes, catalog panel in the editor, WASD walkthrough (pointer lock, 1600mm eye height), sun study (hour/month sliders, real shadows from latitude + site orientation), assets_search with a visual contact sheet |
demo:p5 |
Backlog shipped: rough cost estimate (estimate_cost + a KT-06 sheet: converted areas Γ an editable local price table, auto-checked against the interview budget) Β· view-only share links (/xem/<token>, server-enforced read-only β send it to your spouse) Β· A/B design comparison (variant_save/open/compare, two plans side by side with per-room mΒ² and per-variant cost deltas) Β· local zoning rule pack (PLN-01β¦06: setbacks for any lot shape, density, floors, height, canopy overhang β checks only what the interview brief declares) Β· IFC4 export (export ifc, pure-TS STEP writer: walls with proper opening voids/fills, slabs with real holes, stairs, rooms as IfcSpace β concept-level handover, not construction documents) Β· photoreal path (export gltf β one GLB in true metres, one node per entity, plus scripts/render-photoreal.py for headless-Blender Cycles renders using the same sun model as the editor's sun study) Β· legacy plan import (underlay_import traces an old DXF or plan photo as a dim layer under the live plan β scale from DXF units or a 2-point calibration; underlay_trace proposes walls from parallel stroke pairs, always human-reviewed before applying).
Bilingual: English README + full English design docs (docs/en/) + bilingual editor UI auto-detected by country (VN β vi, elsewhere β en; asset catalog included). Out of scope by design: structure & MEP (this is a concept tool, not construction documents).
Design docs
The full spec lives in docs/en/ (English) with the Vietnamese originals in docs/ β each file cross-links its counterpart; the Vietnamese original is authoritative if they differ:
| # | Doc | Contents |
|---|---|---|
| 01 | Vision & positioning | Users, non-goals, competitive landscape, differentiators |
| 02 | Design process | Interview β brief β 5 phases with approval checkpoints |
| 03 | System architecture | Dual-client, single process, data flow |
| 04 | Data schema | Parametric model: walls, openings, rooms, stairs, furniture |
| 05 | MCP tools | 19 tools + the ops vocabulary |
| 06 | Sync protocol | WebSocket, revisions, conflicts, undo |
| 07 | Validator & rules | TCVN rules + geometry + Lα» Ban rulers |
| 08 | 2D renderer | Layers, line weights, symbols, dims, title block |
| 09 | Web editor | Hand-editing UX: drag, type numbers, 3D, walkthrough |
| 10 | Roadmap | 6 phases with Definitions of Done + backlog |
| 11 | Decisions | 10 ADRs + 8 settled questions |
Stack
TypeScript monorepo β Node.js (MCP server + WebSocket), Three.js (3D), SVG (2D drawings), Vite (web editor), Vitest + Playwright (162 tests incl. real-browser e2e). Rationale in doc 03.
Dev environment
The repo integrates haido β a code-anchored memory layer that served as the project's own long-term memory while Atelier was being built:
.mcp.jsonβhaido serveMCP server (recall / remember / related / overview / stale / reanchor).claude/settings.jsonβ hooks that feed project knowledge into every Claude Code session- Local DB in
.haido/(gitignored); shared knowledge ships as a memory pack indocs/memory-pack/
License & disclaimer
- Code: MIT. Font Be Vietnam Pro: SIL OFL 1.1 (
OFL.txtnext to the font files). Furniture catalog (parametric): CC0-1.0 (packages/core/assets/license-manifest.json). - Standards data in
rules/*.jsoncites TCVN/QCVN sources per rule; the price tablerules/don-gia.jsonis reference-only β edit it for your region. - β Atelier outputs are concept drawings β for thinking, discussing and working with an architect; they do not replace permit/construction documents signed by a licensed architect.
The 5 invariants
- Claude never draws directly β it only edits the parametric model; the renderer draws.
- Standard symbols live in the renderer β encoded once per TCVN, correct 100% of the time.
- Every mutation goes through one gate (
apply_ops) β transaction, validation, broadcast. - The user always wins β hand edits are never overwritten by the AI.
- Claude must look before inviting the user to look β validate + render + capture after every significant change.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.


