loading…
Search for a command to run...
loading…
Transforms HTML into Figma designs using only the user’s design system, ensuring correct component usage or safe fallback to primitives, while continuously lear
Transforms HTML into Figma designs using only the user’s design system, ensuring correct component usage or safe fallback to primitives, while continuously learning from each build to improve mapping accuracy and consistency.
The design system copilot that builds Figma screens from HTML — and gets better every time you use it.
Give Mimic any HTML. It builds the equivalent in Figma using your actual design system:
It doesn't just build once. Every output improves the next — learning your system, your conventions, and your decisions over time.
After every build, it tells you what your design system is missing.
Glama
Install in VS Code
Install in VS Code Insiders
Open-source MCP server. Runs locally — your design data never leaves your machine.
You built a design system. Every token, every component, every variable — intentional.
Then someone needs a screen and builds it from scratch.
Your system sits in the library panel. Unused.
AI tools make it worse. They generate screens that look right but break on inspection — no components, no tokens, no structure.
The cleanup takes as long as building it yourself.
Mimic fixes that.
The first build scans your design system.
By the third, patterns start to verify. By the tenth, most decisions are instant.
Mimic doesn't just execute builds. It builds knowledge.
Correct it once Tell Mimic: "That's not the right Badge — use Tag/Neutral"
That decision becomes permanent. Every future build uses it.
Your design system evolves. Mimic keeps up. New components, renamed tokens, updated variants — Mimic detects changes at the start of every build and adapts automatically.
Every build is a review After each build, Mimic tells you:
Recommendations come as questions, backed by evidence: "Should your design system include a Status Badge? Used 31 times as primitives."
Mimic becomes the system that remembers how your team builds.
Describe a screen:
"Dashboard with metrics, activity table, and status overview"
Mimic builds it using your design system — components, tokens, and layout included.
Same system. Same rules. Same output quality.
Tools like Figma Make, Stitch, and generative UI depend on one thing:
Well-structured design systems.
Clear component roles. Consistent tokens. Meaningful descriptions.
Most design systems aren't there yet.
Mimic helps you get there — as a side effect of using it.
Component descriptions from usage Mimic observes how components are used across builds and suggests real descriptions based on actual patterns.
DESIGN.md generation Generate a structured file describing your design system — readable by AI tools and frameworks.
Better structure → better output across every AI tool you use.
| Other tools | Mimic | |
|---|---|---|
| Components | Draws rectangles that look like buttons | Uses your real components |
| Colors | Hardcoded hex values | Bound to your variables |
| Typography | Manual font styling | Uses your text styles |
| Spacing | Raw pixel values | Uses your spacing tokens |
| Layout | Fixed frames | Auto-layout everywhere |
| Output | Needs cleanup | Ready to use |
Screenshot tools capture pixels. Mimic captures structure.
| Design system type | What Mimic does |
|---|---|
| Team library (components + tokens) | Full usage — components, variables, text styles |
| Team library (components only) | Uses components, flags missing tokens |
| Community libraries | Full support out of the box |
Node.js v20.6+, Figma desktop, Professional plan or above.
bash <(curl -fsSL https://raw.githubusercontent.com/miapre/mimic-ai/main/install.sh)
Plugins → Development → Import plugin from manifest → select ~/mimic-ai/plugin/manifest.json
Terminal:
cd ~/mimic-ai && npm run bridge
Figma: Plugins → Development → Mimic AI → Run
Assets panel → Team library icon → toggle on. Once per file. Community libraries work out of the box.
"Build this HTML in Figma using my design system."
Every build enforces 46 quality rules. You don't configure them. They just run.
The result is what you'd build manually — without the time cost.
Full specification: GOLDEN_RULES.md
Works with any MCP client. Optimized for Claude Code.
{
"mcpServers": {
"mimic-ai": {
"command": "npx",
"args": ["-y", "@miapre/mimic-ai"]
}
}
}
Add to .cursor/mcp.json:
{
"mcpServers": {
"mimic-ai": {
"command": "npx",
"args": ["-y", "@miapre/mimic-ai"]
}
}
}
Click the install badge above, or add to settings:
{
"mcp": {
"servers": {
"mimic-ai": {
"command": "npx",
"args": ["-y", "@miapre/mimic-ai"]
}
}
}
}
Windsurf: ~/.codeium/windsurf/mcp_config.json
JetBrains: Settings → Tools → AI Assistant → MCP Servers
{
"mcpServers": {
"mimic-ai": {
"command": "npx",
"args": ["-y", "@miapre/mimic-ai"]
}
}
}
All clients need the bridge running and the Figma plugin active.
Your AI assistant talks to Mimic. Mimic talks to Figma. Everything happens locally.
Status & learning: mimic_status, mimic_discover_ds, mimic_ai_knowledge_read, mimic_ai_knowledge_write
DS setup: figma_preload_styles, figma_preload_variables, figma_discover_library_styles, figma_discover_library_variables, figma_set_session_defaults, figma_list_text_styles, figma_read_variable_values
Build: figma_create_frame, figma_create_text, figma_create_rectangle, figma_create_ellipse, figma_create_chart, figma_insert_component, figma_batch
Edit: figma_set_component_text, figma_set_text, figma_set_node_fill, figma_set_layout_sizing, figma_set_variant, figma_set_visibility, figma_swap_main_component, figma_replace_component, figma_restyle_artboard, figma_move_node, figma_delete_node
Inspect & QA: figma_get_node_props, figma_get_node_children, figma_get_node_parent, figma_get_text_info, figma_get_component_variants, figma_get_selection, figma_select_node, figma_get_page_nodes, figma_get_pages, figma_change_page, figma_validate_ds_compliance, figma_tag_raw_exception
Rendering: mimic_pipeline_resolve, mimic_render_url, mimic_generate_build_report, mimic_generate_design_md
Desktop app required — browser Figma won't work. Download
Personal Access Token — Figma → Profile → Settings → Personal access tokens → Generate. Read access. Copy immediately.
Publish your DS — components and tokens in a separate file, published as a team library. Re-publish after changes.
Professional plan or above — free plan can't publish libraries.
Mimic gets cheaper over time.
| Build | Tool calls | Why |
|---|---|---|
| 1st (cold) | ~140 | Full DS discovery, no cache, every pattern new |
| 5th (warm) | ~80 | Most patterns cached, discovery skipped for known components |
| 10th+ (hot) | ~55 | Nearly everything cached, decisions instant |
What drives cost down:
Every build report includes tool call counts and efficiency savings.
Everything runs locally.
No design data leaves your machine. No telemetry. No tracking.
The only outbound call is to the Figma REST API for published component keys.
FIGMA_ACCESS_TOKEN. Use the full installer for team library supportMIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mimic-ai": {
"command": "npx",
"args": []
}
}
}