Framesmith

•
17
•

Empower AI assistants with a visual design canvas by rendering HTML/CSS scene graphs to PNG images through headless Chromium.

Framesmith is an open-source Model Context Protocol (MCP) server that provides AI coding agents with a dynamic visual design canvas. It enables AI to sketch user interfaces, facilitating immediate visual review and design agreement before any framework-specific code is generated. By rendering declarative HTML/CSS scene graphs into high-fidelity PNG images via headless Chromium, Framesmith bridges the gap between AI-driven design concepts and tangible visual representations, making it easier for developers and AI to iterate and refine UI designs collaboratively.

Key Features

01Render HTML/CSS scene graphs to high-fidelity PNG images via headless Chromium.
02Provide a visual browser viewer for canvases, offering breakpoint previews and inspection tools.
03Manipulate UI elements (frames, text, images, etc.) on a scene graph using a declarative API.
04Manage design systems with tokens, style presets, and `DESIGN.md` import functionality.
05Bind canvases to local Git repositories for version control and collaborative design workflows.
060 GitHub stars

Use Cases

01Enabling AI coding agents to visually prototype and iterate on UI designs.
02Providing immediate visual feedback and design agreement before writing framework-specific UI code.
03Managing and version-controlling UI designs within a project repository, compatible with `DESIGN.md` standards.