figma-ui-mcp

AI can draw UI directly on the Figma canvas via JavaScript, and read existing designs back as structured data. Works with Claude Code, Cursor, VS Code, and Wind

What is figma-ui-mcp?

AI can draw UI directly on the Figma canvas via JavaScript, and read existing designs back as structured data. Works with Claude Code, Cursor, VS Code, and Windsurf. No API KEY required.

Overview of figma-ui-mcp

What it is

figma-ui-mcp is a bidirectional Figma MCP bridge that lets AI assistants draw UI directly on the Figma canvas via JavaScript and read existing designs back as structured data, screenshots, or code-ready tokens. It works with Claude Code, Cursor, VS Code, Windsurf, Antigravity, and any MCP stdio client. No Figma API key is required — communication happens entirely over localhost. Figma Desktop is required because the Figma web app cannot access localhost.

Key features

  • AI can draw UI directly on the Figma canvas via JavaScript.
  • AI can read existing designs back as structured data, screenshots, or code-ready tokens.
  • Works with Claude Code, Cursor, VS Code, Windsurf, Antigravity, and any MCP stdio client.
  • No Figma API key required — operates over localhost HTTP polling.
  • Bidirectional: write to and read from Figma.
  • Includes a VM sandbox for safe JavaScript execution.
  • Supports 56 predefined operations for reading and writing.

Use cases

  • Draw a mobile login screen with social login buttons.
  • Read the selected frame and describe the design.
  • Take a screenshot of the current frame.
  • Create a dark theme dashboard with KPI cards.
  • Design an e-commerce product card.
  • Draw a settings page with toggle switches.
  • Iterate on designs by asking the AI to fix spacing or make buttons bigger.
  • Create multi-screen flows by positioning frames side by side.

Getting started

  1. Add the MCP server to your IDE configuration (e.g., Claude Code, Cursor, VS Code, Windsurf, Antigravity).2. Restart your IDE / AI client after adding the MCP server.3. Download and unzip plugin.zip, then import the plugin into Figma Desktop via Plugins → Development → Import plugin from manifest...4. Run the plugin (Plugins → Development → Figma UI MCP Bridge).5. Tell your AI assistant: Connect to figma-ui-mcpExample command to get the latest version:bashnpx figma-ui-mcp@latest --version

License and pricing

License: MIT. Pricing: open source (free).

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/tranhoaihungfigma-ui-mcp.svg)](https://yunodb.com/tools/tranhoaihungfigma-ui-mcp?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/tranhoaihungfigma-ui-mcp?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/tranhoaihungfigma-ui-mcp.svg" alt="Featured on YunoDB" height="20"></a>