AI-native design editor. Open-source Figma alternative.
MCP server
stdio and Hono HTTP MCP server that reuses Core tools (packages/core/AGENTS.md, Tools).
- MCP-only filesystem and server tools live in
packages/mcp/src/tool/registration.ts; listener and session lifecycle underpackages/mcp/src/server/, stdio underpackages/mcp/src/stdio/, transport discovery underpackages/mcp/src/transport/. - Registration uses Standard Schema with Valibot JSON Schema conversion from the Core tool input contract; per-tool exposure comes from
isToolExposed(). - File access must resolve symlinks inside the effective MCP root. CLI defaults are the current directory on macOS and Linux and the home directory on Windows.
- Keep browser lifecycle out of this package and out of Core.
- Transport tests live under
tests/engine/mcp/{server,stdio,transport}with shared fixtures undertests/helpers/mcp; isolate tests from user runtime discovery. Playwright starts the development MCP companion through the Vite automation plugin; seetests/AGENTS.md.