Skip to main content
Glama

UI Design to Code MCP

中文文档 | English

MCP server for ingesting UI screenshots, Figma MCP node JSON, or hybrid Figma-plus-screenshot sources into a cross-platform design-to-code artifact pipeline.

The server standardizes source manifests, Figma source datasets, artifact run directories, codegen result registration, visual-review delivery gates, pipeline validation, and cleanup. Semantic IR and code generation remain agent/model-driven steps that write the existing schemas and register outputs through the MCP tools.

Install

Dynamic latest install:

npx -y ui-design-to-code-mcp@latest install \
  --clients cursor,claude-code,codex \
  --scope project \
  --project-dir .

Dynamic update:

npx -y ui-design-to-code-mcp@latest update \
  --clients cursor,claude-code,codex \
  --channel latest

Beta channel rollout:

npx -y ui-design-to-code-mcp@latest update \
  --clients cursor,claude-code,codex \
  --channel beta

Pinned install:

npx -y ui-design-to-code-mcp@0.1.0 install \
  --clients cursor,claude-code,codex \
  --scope project \
  --project-dir . \
  --package-spec ui-design-to-code-mcp@0.1.0

Run directly:

npx -y ui-design-to-code-mcp@latest serve

Health check:

npx -y ui-design-to-code-mcp@latest doctor

Client Config

Cursor or Claude Code project config:

{
  "mcpServers": {
    "ui-design-to-code": {
      "command": "npx",
      "args": ["-y", "ui-design-to-code-mcp@latest", "serve"]
    }
  }
}

Codex config:

[mcp_servers.ui_design_to_code]
command = "npx"
args = ["-y", "ui-design-to-code-mcp@latest", "serve"]
startup_timeout_sec = 60

Claude Code user-scope install can also use:

claude mcp add-json ui-design-to-code '{"type":"stdio","command":"npx","args":["-y","ui-design-to-code-mcp@latest","serve"]}' --scope user

Tools

  • create_design_run

  • ingest_image_source

  • ingest_figma_source

  • build_semantic_ir

  • build_cross_platform_nodes

  • build_target_ir

  • run_codegen

  • run_codegen_with_auto_review

  • validate_pipeline

  • cleanup_design_run

Publish

Public npm:

npm version patch
npm publish --access public

Official MCP Registry:

mcp-publisher login
mcp-publisher publish

For public Registry publishing, package.json#mcpName must match server.json#name, and the npm package must be published first.

Enterprise internal release:

npm publish --registry https://npm.your-company.internal
npx -y ui-design-to-code-mcp@latest install --clients cursor,claude-code,codex

Use --package-spec ui-design-to-code-mcp@<version> for pinned stable rollout, or @latest for dynamic update on next MCP server restart.

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kinglions/ui-design-to-code-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server