Skip to main content
Glama
Desrid

desrid-html-to-figma

Official
by Desrid

Claude Talk to Figma collage

Claude AI Agents Talk to Figma MCP

Enable your AI agents to read, analyze, and modify Figma designs.

Install from this Git repository

This fork is packaged for Codex, Claude Desktop, Claude Code, Cursor, Windsurf, Cline, Roo Code, and any client that supports local stdio MCP servers.

Codex:

codex plugin marketplace add Desrid/desrid-html-to-figma --ref main
codex plugin add desrid-html-to-figma@desrid-html-to-figma

Generic MCP client: use the root .mcp.json, or configure the command from GitHub:

{
  "mcpServers": {
    "desrid_html_to_figma": {
      "command": "npx",
      "args": [
        "--yes",
        "--package=https://github.com/Desrid/desrid-html-to-figma/releases/download/v1.1.2/desrid-html-to-figma-1.1.2.tgz",
        "desrid-html-to-figma-server"
      ]
    }
  }
}

Claude Desktop: open desrid-html-to-figma.dxt from GitHub Releases.

All clients also need the local Figma development plugin and WebSocket bridge. See the cross-agent installation guide or the Codex guide.

Works with your favorite agentic tools:

πŸ‘©πŸ½β€πŸ’» Who it's for

UX/UI Teams

Automate repetitive design tasks and maintain brand consistency without manual effort:

  • Automated accessibility audits - Detect and fix contrast issues in seconds

  • Bulk style updates - Change colors, typography, or spacing across the entire document with a single command

  • Visual hierarchy analysis - Get instant feedback on your design structure

Developers

Generate production-ready code directly from designs:

  • React/Vue/SwiftUI components - From design to code in one step

  • Code with design tokens - Keep design and development in sync

  • Reduce handoff friction - Fewer back-and-forth iterations with the design team

Key advantage: Unlike Figma's official MCP which requires a Dev Mode license, this MCP works with any Figma account (even free ones).

πŸ’‘ Real-world use cases

Accessibility:

"Find all text with contrast ratio <4.5:1 and suggest colors that meet WCAG AA"

Rebranding:

"Change #FF6B6B to #E63946 in all primary buttons throughout the document"

Design analysis:

"Analyze the visual hierarchy of this screen and suggest improvements based on design principles"

Developer handoff:

"Generate the React component for 'CardProduct' including PropTypes and styles in CSS modules"

⚑️ Quick installation

Setup: 5 minutes | First automation: 2 minutes

Requirements

Step 1: Install and start the websocket

Enables the Agent to send commands to Figma.

Open your terminal, navigate to the folder where you want to install the tool, and run:

npx --yes --package=https://github.com/Desrid/desrid-html-to-figma/releases/download/v1.1.2/desrid-html-to-figma-1.1.2.tgz desrid-html-to-figma

πŸ’‘ Tip: This command downloads the versioned GitHub Release package and starts the local bridge. For a cloned checkout, run npm run socket in subsequent sessions.

Step 2: Install the plugin in Figma

Enables Figma to receive commands from the agent and return responses.

In Figma Desktop go to Menu β†’ Plugins β†’ Development β†’ Import plugin from manifest β†’ inside the folder where you installed the MCP, select src/claude_mcp_plugin/manifest.json

Step 3: Configure your Agentic Tool

Enables the agent to use the MCP's read and modify tools.

Claude Desktop

Download desrid-html-to-figma.dxt from the latest release and double-click. Claude configures itself automatically.

Cursor

  1. Open Cursor Settings β†’ Tools & Integrations

  2. Click "New MCP Server" to open the mcp.json file

  3. Add this configuration:

{
  "mcpServers": {
    "desrid_html_to_figma": {
      "command": "npx",
      "args": ["--yes", "--package=https://github.com/Desrid/desrid-html-to-figma/releases/download/v1.1.2/desrid-html-to-figma-1.1.2.tgz", "desrid-html-to-figma-server"]
    }
  }
}
  1. Save the file and restart Cursor

Other Agentic Tools

For other tools (Claude Code, Windsurf, VS Code + GitHub Copilot, Cline, Roo Code), you can follow the instructions in the "Configure your Agentic Tool" chapter of the detailed installation guide.

Step 4: Start working

  1. Open the plugin in Figma

  2. Copy the channel ID (bold code inside the green box)

  3. Type in the chat: Connect to Figma, channel {your-ID}

βœ… Ready to design with AI!

Subsequent work sessions

To use the MCP again in day-to-day work, you don't need to repeat the entire process:

  1. Start the socket: In the terminal, enter your-project/desrid-html-to-figma and run npm run socket.

  2. Open the plugin in Figma: You'll find it in your recent plugins list.

  3. Connect the AI: Copy the channel ID and tell your agent: Connect to Figma, channel {your-ID}.

πŸ€– Multi-Agent & Parallel execution

This MCP server supports safe parallel execution out of the box, allowing multiple AI agents (e.g. Claude Code's sub-agents or team swarms) to work simultaneously on your Figma file without locking up the plugin. A built-in command queue processes requests sequentially on the server side, preventing the Figma API from timing out.

Note: Because multiple agents can modify the document simultaneously, relying on implicit page context is unsafe. As a result, stateful commands like set_current_page are blocked. All agents must explicitly provide the intended parentId parameter when executing any creation or structural modification command (e.g., create_frame, create_text).

(Special thanks to @mmabas77 for architecting and contributing this feature!)

🐳 Alternative: Using Docker

If you prefer Docker or need to run the WebSocket server in a team environment, see the Docker installation guide in the detailed installation documentation.

πŸ› οΈ Capabilities

Design analysis

  • Get document information, current selection, styles

  • Scan text, audit components, export assets

Element creation

  • Shapes, text, frames with full style control

  • Clone, group, organize elements

Modification

  • Colors, borders, corners, shadows

  • Auto-layout, advanced typography

  • Local components and team library components

See complete command list.

πŸ“š Documentation

πŸ™ Credits

Based on cursor-talk-to-figma-mcp by Sonny Lazuardi. Adapted for Claude Desktop and extended with new tools by XΓΊlio ZΓ©.

If you want to know about all project contributions, you can visit the "Contributors" chapter of the contribution guide.

MIT License


πŸ“Š Project status

βœ… Stable production - Tool ready for daily use in design and development teams

πŸš€ Under active development:

  • Complete support for Figma Variables

  • Enhanced export to Tailwind CSS/SwiftUI

Need something specific?

Propose new ones on GitHub Issues

Your feedback and contributions keep the project alive. ❀️

-
license - not tested
Not graded
quality - not tested
B
maintenance

Maintenance

–Maintainers
–Response time
0dRelease cycle
3Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

  • The Figma MCP server brings Figma design context directly into your AI workflow.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

View all MCP Connectors

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/Desrid/desrid-html-to-figma'

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