Skip to content

Instantly share code, notes, and snippets.

@matteocollina
Last active December 19, 2025 16:11
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment