Claude Code editor integration

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.

265 stars 52 forksEditor integrations Source

Install

Install
npx figma-ui-mcp@latest --version

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/TranHoaiHung/figma-ui-mcp.git

From the README

figma-ui-mcp

  Claude Code to Figma · Antigravity to Figma · Cursor to Figma · Any MCP IDE to Figma

  ✅ Tested: Claude Code, Antigravity  |  🔧 Compatible: Cursor, VS Code, Windsurf, Zed (any MCP stdio client)

Bidirectional Figma MCP bridge — let AI assistants (Claude Code, Cursor, Windsurf, Antigravity, VS Code Copilot, or any MCP-compatible IDE) draw UI directly on Figma canvas and read existing designs back as structured data, screenshots, or code-ready tokens. No Figma API key needed — works entirely over localhost.
Requires Figma Desktop — the plugin communicates with the MCP server over localhost HTTP polling. Figma's web app does not allow localhost network access, so Figma Desktop is required.

How the localhost bridge works

The MCP server starts a small HTTP server bound to localhost:38451. The Figma plugin (running inside Figma Desktop) uses long polling — the server holds requests up to 8s until work arrives, flushing immediately when new ops are queued (near-realtime latency
Claude Code (CLI)

Claude Desktop

Edit config file:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json

Cursor

Edit .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

VS Code / GitHub Copilot

Edit .vscode/mcp.json (project) or add to settings.json (global):

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

Antigravity (Google)

1. Open "..." dropdown at the top of the agent panel
2. Click "Manage MCP Servers" → "View raw config"
3. Add to mcp_config.json:

From source (any client)
⚠️ IMPORTANT: After adding the MCP server, you MUST restart your IDE / AI client (quit and reopen). The MCP server only loads on startup — simply saving the config file is not enough. This applies to…
Read the full README on GitHub

Details

Language
JavaScript
License
MIT
Last updated
26 October 2026
Topics
aiai-design-toolai-toolsantigravityauto-designingclaude-codecursorfigmafigma-mcpfigma-pluginmcp

FAQ

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. It is a editor integration for Claude Code, from TranHoaiHung/figma-ui-mcp on GitHub.

How do I install Figma UI Mcp?

Run npx figma-ui-mcp@latest --version, then follow the setup in the README.

Is Figma UI Mcp popular?

TranHoaiHung/figma-ui-mcp has 265 GitHub stars and 52 forks. It was last updated on 26 October 2026.

More editor integrations

Browse the most popular Claude Code mods, all editor integrations, or the skills and MCP server directories.