MCP - Connect your AI tool to Figma

MCP (Model Control Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications.

With html.to.design, send AI-generated designs to Figma via MCP.

Illustration of Claude Desktop and Cursor connected to Figma via html.to.design

Demo

How to setup for Claude Desktop

1. Download and install the Claude Desktop app.

2. Install uv

  • On MacOS: brew install uv
  • On Windows: powershell -c "irm https://astral.sh/uv/install.ps1 | more"

For more alternatives to install uv, check out the uv installation page.

3. Add the MCP server to Claude Desktop

Claude menu on your computer and select “Settings…” Please note that these are not the Claude Account Settings found in the app window itself.

This is what it should look like on a Mac:

Claude Desktop Settings menu

Click on “Developer” in the left-hand bar of the Settings pane, and then click on “Edit Config”:

Claude Desktop Developer panel

This will create a configuration file at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

if you don’t already have one, and will display the file in your file system.

4. Edit the claude_desktop_config.json file

Use you favorite text editor to open the claude_desktop_config.json file and add the configuration provided by plugin in the [Configure MCP] button.

html.to.design MCP tab showing the 'Configure MCP' button Example of a MCP configuration file for Claude Desktop

How to setup for Cursor

1. Download and install the Cursor app.

2. Add the MCP server to Cursor

Go to Cursor Settings

Cursor Settings panel with the 'MCP' tab selected

Click on [Add new global MCP server] button.

Example of a mcp.json file for Cursor

Edit mcp.json file following the instructions provided in the [Configure MCP] button.

html.to.design MCP tab showing the 'Configure MCP' button