Skip to content

Instantly share code, notes, and snippets.

@matteocollina
Last active January 26, 2026 11:37
Show Gist options
  • Select an option

  • Save matteocollina/1632875eccc5952332129609bbd3abc2 to your computer and use it in GitHub Desktop.

Select an option

Save matteocollina/1632875eccc5952332129609bbd3abc2 to your computer and use it in GitHub Desktop.
# How to connect Figma MCP to OpenAI Codex
1. Open `~/.codex/config.toml` and add these lines:
```toml
[features]
rmcp_client = true
[mcp_servers.figma]
url = "https://mcp.figma.com/mcp"
```
2. Install Codex CLI
```bash
npm i -g @openai/codex
```
3. Login via CLI
```bash
codex mcp login figma
```
4. Restart your IDE
5. Test the Figma MCP using Dev Mode, then copy the section link and paste it into the Codex extension of your IDE.
@Kvisaz
Copy link

Kvisaz commented Jan 24, 2026

doesnt work

@matteocollina
Copy link
Author

@Kvisaz show me your error please. I've followed this Reddit thread but it works for me: https://www.reddit.com/r/FigmaDesign/comments/1o6t9z1/how_to_connect_figma_mcp_to_openai_codex/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment