Skip to content

Connect Figma (desktop MCP) to VS Code

Figma's local MCP server, served by the desktop app. Gives agents design context, variables and code-connect data for the selected frame.

MCP serverOfficialChecked 2026-11-16

Before you start

  • VS Code installed (see its MCP documentation (opens in a new tab)).
  • Figma (desktop MCP) is available on macOS and Windows. Keep its desktop app open while you work.
  • Needs the Figma desktop app with a Dev or Full seat on a paid plan, and the desktop MCP server enabled.
  1. Step 1: Add Figma (desktop MCP) to VS Code

    Add it from the terminal

    Adds the server to your VS Code profile, so it works in every workspace.

    Terminal
    code --add-mcp '{"name":"figma-desktop","type":"http","url":"http://127.0.0.1:3845/mcp"}'

    Or add it to the workspace

    Add this to .vscode/mcp.json and commit it to share it with your team.

    .vscode/mcp.json
    {
      "servers": {
        "figma-desktop": {
          "type": "http",
          "url": "http://127.0.0.1:3845/mcp"
        }
      }
    }
    Good to know
    • The desktop app must be open for the server to respond.
  2. Step 2: Check it's connected

    Run MCP: List Servers from the Command Palette, then open Copilot Chat in Agent mode and check the tools picker.

  3. Step 3: Try a first request

    Ask VS Code something that only works with Figma (desktop MCP) connected:

    Say to VS Code
    Get the design context for the frame I have selected in Figma and list the components it uses.

If it doesn't work

  • VS Code asks you to trust a server the first time it starts. Accept it, or the tools stay hidden.
  • code --add-mcp writes to your user profile, so the server works in every workspace.
  • Use MCP: List Servers → Show Output to see startup errors.