The Figma MCP server gives VS Code structured access to Figma files and tools. It can read design context such as components, variables, layout data, FigJam content, and Make resources, generate code from selected frames, use Code Connect to stay aligned with real components. When moving from VS Code to Figma, you can also write directly to the canvas to create or update native Figma content, and send live web interfaces to Figma as editable layers.
Jump to the setup instructions →
This article describes how to set up the Figma MCP server in VS Code. To learn more about the features of the Figma MCP server and how to use it, see:
Figma provides two versions of the Figma MCP server: remote and desktop. The remote Figma MCP server is the version most users need and has the broadest set of features. The desktop version is for specific organization and enterprise use cases. Generally, you should use the remote Figma MCP server.
Note: Make sure you have VS Code installed on your computer, and enabled GitHub Copilot in order to set up the Figma MCP server. Download VS Code →
Set up the remote Figma MCP server (preferred)
To set up the Figma MCP server in VS Code:
- Open the command palette using the shortcut:
- Mac: Cmd + Shift + P
- Windows: Ctrl + Shift + P
- Search for MCP: Open User Configuration.
-
Inside the
mcp.jsonfile, paste the following code:{ "inputs": [], "servers": { "figma": { "url": "https://mcp.figma.com/mcp", "type": "http" } } } - Save the file using the shortcut:
- Mac: Cmd + S
- Windows: Ctrl + S
- You’ll then see a Start button above the Figma MCP server name, select it to start the authentication process.
Go through the authentication process with your Figma account in an external window. Once you’re done, you should see that the Figma MCP server is now running in VS Code.
Set up the desktop Figma MCP server
Figma provides the local desktop version of the Figma MCP server for some specific organization and enterprise use cases, but we strongly recommend using the remote version of the Figma MCP server. The remote version of the server provides the broadest set of features.
Instructions for the desktop Figma MCP server
First, enable the desktop MCP server in Figma:
- Install and open the Figma desktop app.
- Open a Figma Design file.
- With nothing selected on canvas, click the toggle switch in the toolbar to switch to Dev Mode.
- Then, click to enable the MCP server in the right sidebar.
- Figma will display a confirmation message at the bottom of the screen letting you know the server is enabled and running, and you’ll see a button to copy the address for the server.
- Click copy URL, and keep it handy for your configuration in the next step.
Then, configure the desktop MCP server in VS Code:
- Make sure you have GitHub Copilot enabled. This is required to use the Figma MCP server.
- Open the command palette and search for “Add server”.
- macOS: Shift Command P
- Windows: Shift Ctrl P
- Select HTTP.
- Paste the server URL `
http://127.0.0.1:3845/mcpin the search bar, then hit Enter. - Type in “Figma MCP” when it asks for a server ID, then hit Enter.
- If you have a workspace open, select whether you want to add the server globally or only for the workspace.
- Once confirmed, you'll see a configuration like this in your
mcp.jsonfile.
What's next?
If you're coming from the Figma MCP collection, jump back into the previous article.
For more about using the Figma MCP server, see: