Connect Figma (desktop MCP) to Codex
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
- Codex 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.
Step 1: Add Figma (desktop MCP) to Codex
Add it from the terminal
Saves the server to
~/.codex/config.toml, so it works in every project.Terminal codex mcp add figma-desktop --url http://127.0.0.1:3845/mcpOr edit the config file
Add this to
~/.codex/config.toml.~/.codex/config.toml [mcp_servers.figma-desktop] url = "http://127.0.0.1:3845/mcp"Good to know- The desktop app must be open for the server to respond.
Step 2: Check it's connected
Terminal codex mcp listIn a Codex session, run
/mcpto see connected servers and their tools.Step 3: Try a first request
Ask Codex something that only works with Figma (desktop MCP) connected:
Say to Codex Get the design context for the frame I have selected in Figma and list the components it uses.
If it doesn't work
- Codex reads
~/.codex/config.toml. A project.codex/config.tomlis only read in projects you have trusted. - Codex doesn't expand
~or environment variables incommand. Use a full path in the config file. - Servers that need a sign-in: run
codex mcp login <name>.





