Documentation Index
Fetch the complete documentation index at: https://docs.figma-console-mcp.southleft.com/llms.txt
Use this file to discover all available pages before exploring further.
Figma Console MCP - Setup Guide
Complete setup instructions for connecting Figma Console MCP to various AI clients including Claude Desktop, OpenAI Codex, GitHub Copilot (VS Code), Cursor, Windsurf, and more.
🎯 Choose Your Setup
First, decide what you want to do:
| I want to… | Setup Method | Time |
|---|
| Create, modify, and develop with AI | NPX Setup (Recommended) | ~10 min |
| Design from Claude.ai, v0, Replit, or Lovable | Cloud Mode | ~5 min |
| Full capabilities with manual update control | Local Git Setup | ~15 min |
| Set up with OpenAI Codex (GUI config) | Codex Setup | ~5 min |
| Just explore my design data (read-only) | Remote Mode | ~2 min |
⚠️ Important: Capability Differences
| Capability | NPX / Local Git | Cloud Mode | Remote (read-only) |
|---|
| Read design data | ✅ | ✅ | ✅ |
| Create components & frames | ✅ | ✅ | ❌ |
| Edit existing designs | ✅ | ✅ | ❌ |
| Manage design tokens/variables | ✅ | ✅ | ❌ |
| Screenshot validation | ✅ | ✅ | ✅ |
| Desktop Bridge plugin | ✅ | ✅ (required) | ❌ |
| Variables without Enterprise | ✅ | ✅ | ❌ |
| Real-time selection/change tracking | ✅ | ❌ | ❌ |
| Console log streaming | ✅ | ❌ | ❌ |
| Requires Node.js | Yes | No | No |
| Total tools available | 94+ | 43 | 22 |
Bottom line: Remote mode is read-only with 22 tools. Cloud Mode adds write access ((83 tools)) without Node.js. Local (NPX/Git) has everything (94+ tools) including real-time monitoring.
New to MCP servers, JSON configs, and terminal commands? These designer-friendly guides walk through the full NPX setup process step by step — created by designers, for designers.
Video Walkthrough
Written Guide
Joey Banks — Video Walkthrough
Joey Banks walks through setting up Figma Console MCP and using it to programmatically create 242 color swatches with linked variables, hex values, and RGB info — a task that would take hours manually.
“This to me is incredible. This is such an awesome way to visualize all of the colors or the crayons that we have to work with.” — Joey Banks
View on LinkedIn →Sergei Zhukov — Designer’s Installation Guide
Sergei Zhukov created a comprehensive 17-page guide covering the entire setup process — from installing Homebrew and Node.js to configuring Claude Desktop and the Desktop Bridge Plugin. Includes pro tips on building design library context and creating automation workflows.
“Automate routine. Craft exceptional.” — Sergei Zhukov
View on Figma Community → · View on LinkedIn →Sergei also built Design Agent Lab, which includes a dedicated Figma Console MCP skill for Claude — an interactive setup assistant that walks you through installation and configuration step by step.
🚀 NPX Setup (Recommended)
Best for: Anyone who wants full AI-assisted design and development capabilities with automatic updates.
What you get: All 94+ tools including design creation, variable management, component instantiation, design-to-code workflows, and Desktop Bridge plugin support.
Prerequisites Checklist
Before starting, verify you have:
Step 1: Get Your Figma Token (~2 min)
- Go to Manage personal access tokens in Figma Help
- Follow the steps to create a new personal access token
- Enter description:
Figma Console MCP
- Set the following scopes:
| Scope | Access | Why |
|---|
| File content | ✅ Read only | Read design data, components, styles, and render images |
| Variables | ✅ Read only | Read design tokens/variables (Enterprise plans only) |
| Comments | ✅ Read and write | Read and post comments on files |
💡 No other scopes are needed. Leave Webhooks, Dev resources, and Library analytics as “No access”.
- Click “Generate token”
- Copy the token immediately — you won’t see it again!
💡 Your token starts with figd_ — if it doesn’t, something went wrong.
💡 Using OpenAI Codex? Skip to the dedicated Codex setup section — it uses a graphical interface instead of JSON config files.
Claude Code (CLI)
Option A: CLI command (quickest)
claude mcp add figma-console -s user -e FIGMA_ACCESS_TOKEN=figd_YOUR_TOKEN_HERE -e ENABLE_MCP_APPS=true -- npx -y figma-console-mcp@latest
Option B: Edit the config file
If you prefer editing the JSON config file directly:
- macOS / Linux:
~/.claude.json
- Windows:
%USERPROFILE%\.claude.json
Add the following to your ~/.claude.json (create the file if it doesn’t exist):
{
"mcpServers": {
"figma-console": {
"command": "npx",
"args": ["-y", "figma-console-mcp@latest"],
"env": {
"FIGMA_ACCESS_TOKEN": "figd_YOUR_TOKEN_HERE",
"ENABLE_MCP_APPS": "true"
}
}
}
}
💡 If ~/.claude.json already exists with other MCP servers, just add the "figma-console" entry inside the existing "mcpServers" object.
Cursor / Windsurf / Other MCP Clients
Find your client’s MCP config file and add:
{
"mcpServers": {
"figma-console": {
"command": "npx",
"args": ["-y", "figma-console-mcp@latest"],
"env": {
"FIGMA_ACCESS_TOKEN": "figd_YOUR_TOKEN_HERE",
"ENABLE_MCP_APPS": "true"
}
}
}
}
Claude Desktop
-
Open Claude Desktop
-
Go to Settings → Developer → Edit Config (or manually edit the config file)
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
-
Add the same JSON configuration shown above
-
Save the file
Step 3: Connect to Figma Desktop (~2 min)
Install the Desktop Bridge Plugin
The Desktop Bridge Plugin connects via WebSocket — no special Figma launch flags needed, and it persists across Figma restarts.
Stable import path: The MCP server automatically copies plugin files to ~/.figma-console-mcp/plugin/ on startup. Import from this path — it never changes between npm updates.
- Open Figma Desktop (normal launch, no special flags)
- In Figma, go to Plugins → Development → Import plugin from manifest…
- Navigate to
~/.figma-console-mcp/plugin/manifest.json and select it
- Click “Open” — the plugin appears in your Development plugins list
- Run the plugin in your Figma file (Plugins → Development → Figma Desktop Bridge)
- The plugin bootloader scans ports 9223–9232, loads the latest UI from the MCP server, and connects automatically
One-time setup. The plugin uses a bootloader architecture — Figma caches a thin loader that dynamically fetches the full plugin UI from the MCP server each time it opens. When the MCP server updates, the plugin automatically gets the new code without re-importing.
Alternative path: If ~/.figma-console-mcp/plugin/ doesn’t exist yet (first run), you can find the path by running npx figma-console-mcp@latest --print-path or checking the pluginPath field in figma_get_status.
📖 Desktop Bridge Plugin Documentation
Multi-Instance / Port Conflicts
Multiple MCP clients (e.g., Claude Desktop Chat + Code tabs, Claude + Cursor) are handled automatically:
- Each MCP server claims the next available port in the range 9223–9232
- The plugin connects to all active servers simultaneously
- Orphaned server processes from closed tabs are automatically detected and terminated on startup
- No manual port management or re-importing needed
Step 4: Restart Your MCP Client (~1 min)
- Restart your MCP client (quit and reopen Claude Code, Cursor, Windsurf, Claude Desktop, etc.)
- Verify the MCP server is connected (e.g., in Claude Desktop look for the 🔌 icon showing “figma-console: connected”)
Step 5: Test It! (~2 min)
Try these prompts to verify everything works:
→ Should show connection status with active WebSocket transport
Search for button components
→ Should return component results from your open Figma file
Create a simple frame with a blue background
→ Should create a frame in your Figma file (this confirms write access!)
🎉 You’re all set! You now have full AI-assisted design capabilities.
🔧 Local Git Setup (Alternative)
Best for: Users who want more control over when updates happen, or developers who want to contribute to the project.
What you get: Same 94+ tools as NPX. Updates are manual — you pull and rebuild when you’re ready.
Prerequisites
Step 1: Clone and Build
# Clone the repository
git clone https://github.com/southleft/figma-console-mcp.git
cd figma-console-mcp
# Install dependencies
npm install
# Build for local mode
npm run build:local
Step 2: Get Figma Token
Same as NPX Step 1 above.
Claude Code (CLI)
Option A: CLI command (quickest)
claude mcp add figma-console -s user -e FIGMA_ACCESS_TOKEN=figd_YOUR_TOKEN_HERE -e ENABLE_MCP_APPS=true -- node /absolute/path/to/figma-console-mcp/dist/local.js
Option B: Edit the config file
- macOS / Linux:
~/.claude.json
- Windows:
%USERPROFILE%\.claude.json
{
"mcpServers": {
"figma-console": {
"command": "node",
"args": ["/absolute/path/to/figma-console-mcp/dist/local.js"],
"env": {
"FIGMA_ACCESS_TOKEN": "figd_YOUR_TOKEN_HERE",
"ENABLE_MCP_APPS": "true"
}
}
}
}
Other MCP Clients (Cursor, Windsurf, Claude Desktop, etc.)
Edit your client’s MCP config file:
{
"mcpServers": {
"figma-console": {
"command": "node",
"args": ["/absolute/path/to/figma-console-mcp/dist/local.js"],
"env": {
"FIGMA_ACCESS_TOKEN": "figd_YOUR_TOKEN_HERE",
"ENABLE_MCP_APPS": "true"
}
}
}
}
Important:
- Replace
/absolute/path/to/figma-console-mcp with the actual path where you cloned the repo
- Use forward slashes
/ even on Windows
Step 4: Connect to Figma Desktop
Same as NPX Step 3 above — install the Desktop Bridge Plugin.
Step 5: Restart Your MCP Client and Test
Same as NPX Steps 4 & 5 above.
Updating
To get the latest changes:
cd figma-console-mcp
git pull
npm install
npm run build:local
Then restart Claude Desktop.
☁️ Cloud Mode (Web AI Clients)
Best for: Claude.ai, v0, Replit, Lovable, and any MCP-capable web platform that needs to create and modify Figma designs.
What you get: 44 tools — full write access (create frames, components, variables, edit designs) plus REST API reads. This is Remote Mode upgraded with the Cloud Write Relay.
What you don’t get vs Local: Real-time selection tracking, document change monitoring, and console log streaming (these require a local WebSocket connection).
Prerequisites
No Node.js required. The relay runs entirely in Cloudflare Workers.
Add the Figma Console MCP endpoint to your AI platform’s MCP settings:
Endpoint URL: https://figma-console-mcp.southleft.com/mcp
Authentication: Your Figma Personal Access Token as a Bearer token
How to add this depends on your platform:
| Platform | Where to Add |
|---|
| Claude.ai | Settings → Connectors → Add Custom Connector → Name: Figma Console / URL: https://figma-console-mcp.southleft.com/mcp |
| Lovable | Project Settings → Integrations → Add MCP Server → paste the URL and add your Figma PAT as Bearer token |
| v0 | Settings → MCP Servers → Add Server → Streamable HTTP → paste URL → select Bearer auth → paste your Figma PAT (not OAuth) |
| Replit | Tools → MCP → Add Server → paste URL, set Authorization header to Bearer figd_YOUR_TOKEN |
| Other clients | Look for “Add MCP Server”, “Custom Tool”, or “Integrations” in your platform’s settings. Provide the URL above and your Figma PAT as the Bearer token. |
Step 2: Run the Desktop Bridge Plugin in Figma (~30 sec)
- Open Figma Desktop and navigate to your design file
- Run the plugin: Plugins → Development → Figma Desktop Bridge
- You should see the small “MCP ready” indicator
First time? Import the plugin once: In Figma go to Plugins → Development → Import plugin from manifest → select ~/.figma-console-mcp/plugin/manifest.json. This is a one-time step — the bootloader handles all future updates automatically.
Step 3: Pair via Cloud Mode (~30 sec)
-
Tell your AI to connect to your Figma plugin using natural language:
- “Connect to my Figma plugin”
- “Pair with my design file”
- “I want to create designs in Figma”
-
Your AI generates a 6-character pairing code (expires in 5 minutes)
-
In the Desktop Bridge plugin:
- Toggle “Cloud Mode” (the small chevron below the status bar)
- Enter the pairing code
- Click Connect
-
Done. Your AI now has full write access to the open Figma file through the cloud relay.
- ✅ Create frames, shapes, and components
- ✅ Edit existing designs (resize, reposition, restyle)
- ✅ Create and manage variables on any Figma plan (via Plugin API)
- ✅ Instantiate components and set instance properties
- ✅ Clone, delete, and rename nodes
- ✅ Set fills, strokes, and text content
- ✅ Set image fills on nodes
- ✅ Read design data, take screenshots, extract design systems
What’s Local-Only (Not Available in Cloud Mode)
- ❌ Real-time selection tracking
- ❌ Document change monitoring
- ❌ Console log streaming
- ❌ MCP Apps (Token Browser, Design System Dashboard)
Tips
- The pairing code expires after 5 minutes — generate a new one if it times out
- If the connection drops between AI turns, ask your AI to reconnect and enter a fresh code
- The Desktop Bridge plugin must stay running in your Figma file for the relay to work
- Variables work on any Figma plan (Free, Pro, Organization) because the relay uses the Plugin API, not the Enterprise REST API
📡 Remote Mode (Read-Only Exploration)
Best for: Quickly evaluating the tool or read-only design data extraction without any plugin setup.
What you get: 9 read-only tools for viewing design data, taking screenshots, reading console logs, and design system extraction.
Want write access? See Cloud Mode above — same remote endpoint, plus Desktop Bridge pairing for full design creation.
Two remote endpoints are available:
| Endpoint | Transport | Auth | Best For |
|---|
/sse | Server-Sent Events | OAuth 2.1 (automatic) | Claude Desktop, Cursor, Windsurf |
/mcp | Streamable HTTP | Bearer token (your Figma PAT) | Lovable, v0, Replit, any HTTP-capable client |
Prerequisites
Option A: SSE Endpoint (Claude Desktop, Cursor, Windsurf)
The /sse endpoint uses OAuth — authentication happens automatically when you first connect.
UI-Based Setup (Claude Desktop):
- Open Claude Desktop → Settings → Connectors
- Click “Add Custom Connector”
- Enter:
- Name:
Figma Console (Read-Only)
- URL:
https://figma-console-mcp.southleft.com/sse
- Click “Add”
- Done! ✅
JSON Config:
{
"mcpServers": {
"figma-console": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://figma-console-mcp.southleft.com/sse"]
}
}
}
Option B: Streamable HTTP Endpoint (AI Code Generators)
The /mcp endpoint accepts your Figma Personal Access Token as a Bearer token — no OAuth flow needed. This is ideal for AI code generators like Lovable, v0, and Replit that support custom MCP servers with Streamable HTTP transport.
Endpoint: https://figma-console-mcp.southleft.com/mcp
Authentication: Pass your Figma PAT as a Bearer token in the Authorization header.
How to connect depends on the platform — look for “Add MCP Server” or “Custom Tool” in your code generator’s settings, provide the URL above, and add your Figma token as the Bearer token.
What You Can Do (Read-Only)
- ✅ View design data and file structure
- ✅ Read design tokens/variables (Enterprise plan required)
- ✅ Take screenshots
- ✅ Read console logs
- ✅ Get component metadata
- ✅ Extract full design system via
figma_get_design_system_kit
What You Cannot Do
- ❌ Create frames, shapes, or components
- ❌ Edit existing designs
- ❌ Create or modify variables
- ❌ Instantiate components
Upgrading to Write Access
Want to create and modify designs? See Cloud Mode above — pair the Desktop Bridge plugin and get full write access from the same /mcp endpoint.
🤖 GitHub Copilot (VS Code)
GitHub Copilot supports MCP servers as of VS Code 1.102+.
Prerequisites
- VS Code 1.102 or later
- GitHub Copilot extension installed and active
- For full capabilities: Node.js 18+ and Figma Personal Access Token
Quick Setup (CLI)
Full capabilities (recommended):
# Create env file for your token
echo "FIGMA_ACCESS_TOKEN=figd_YOUR_TOKEN_HERE" > ~/.figma-console-mcp.env
# Add the server
code --add-mcp '{"name":"figma-console","command":"npx","args":["-y","figma-console-mcp@latest"],"envFile":"~/.figma-console-mcp.env"}'
Read-only mode:
code --add-mcp '{"name":"figma-console","type":"sse","url":"https://figma-console-mcp.southleft.com/sse"}'
Manual Configuration
Create .vscode/mcp.json in your project:
Full capabilities:
{
"servers": {
"figma-console": {
"command": "npx",
"args": ["-y", "figma-console-mcp@latest"],
"env": {
"FIGMA_ACCESS_TOKEN": "figd_YOUR_TOKEN_HERE"
}
}
}
}
Security Tip: Use envFile instead of inline env to keep tokens out of version control.
Starting the Server
- Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
- Run “MCP: List Servers”
- Click on “figma-console” to start it
- VS Code may prompt you to trust the server — click Allow
🧠 OpenAI Codex
OpenAI Codex uses a graphical interface for MCP server configuration instead of JSON files. This makes setup straightforward — just fill in the fields.
Prerequisites
Step 1: Add the MCP Server (~2 min)
- Open Codex and go to Settings (gear icon in the sidebar)
- Click Settings again in the submenu
- Select MCP servers from the left sidebar
- Click “Add MCP Server” (or create a new server)
- Fill in the fields:
| Field | Value |
|---|
| Server name | Figma Console MCP (or any name you prefer) |
| Command to launch | npx |
| Arguments | Add two arguments: -y and figma-console-mcp@latest |
| Environment variables | FIGMA_ACCESS_TOKEN = figd_YOUR_TOKEN_HERE |
| Environment variables | ENABLE_MCP_APPS = true |
- Click Save
Here’s what the completed configuration looks like:
💡 Tip: The Codex UI adds arguments one at a time. Click ”+ Add argument” after entering -y to add the second argument figma-console-mcp@latest.
Step 2: Connect to Figma Desktop
Same as NPX Step 3 above — install the Desktop Bridge Plugin in Figma.
Step 3: Test It
Start a new thread in Codex and try:
Use the Figma Console connector to check Figma status
If the Desktop Bridge plugin isn’t running yet, the server will connect but report that Figma Desktop isn’t linked. Run the plugin in your Figma file (Plugins → Development → Figma Desktop Bridge) and ask Codex to check again.
Equivalent JSON Config
For reference, the Codex GUI fields map directly to the NPX JSON configuration used by other MCP clients like Claude Desktop, Cursor, and Windsurf.
🛠️ Troubleshooting
Quick Fixes
| Symptom | Likely Cause | Fix |
|---|
| ”Failed to connect to Figma Desktop” | No transport available | Install Desktop Bridge Plugin and run it in your Figma file |
| ”FIGMA_ACCESS_TOKEN not configured” | Missing or wrong token | Check token in config, must start with figd_ |
| ”Command not found: node” | Node.js not installed | Install Node.js 18+ from nodejs.org |
| Tools not appearing in MCP client | Config not loaded | Restart your MCP client completely |
| ”Port 9223 already in use” | Another MCP instance or orphaned process | Server auto-falls back to 9224–9232. Orphaned processes are auto-cleaned on startup (v1.14.0+). |
| WebSocket unreachable from Docker host | Server bound to localhost | Set FIGMA_WS_HOST=0.0.0.0 and expose port with -p 9223:9223 |
| Plugin shows “MCP scanning” | MCP server not running yet | Start/restart your MCP client so the server starts. The bootloader retries automatically. |
| Plugin shows “No MCP server found” | All retries exhausted | Ensure an MCP client is running. Check for stale processes: lsof -i :9223-9232 | grep LISTEN |
| NPX using old version | Cached package | Use figma-console-mcp@latest explicitly |
| Cloud pairing code expired | Code is older than 5 minutes | Ask your AI to generate a new pairing code |
| Cloud connection drops between turns | Relay session ended | Re-pair by asking your AI to reconnect, then enter the new code in the plugin |
| Cloud Mode toggle not showing | Pre-bootloader plugin version | Re-import manifest from ~/.figma-console-mcp/plugin/manifest.json (one-time update to bootloader) |
Node.js Version Issues
Symptom: Cryptic errors like “parseArgs not exported from ‘node:util’”
Fix: You need Node.js 18 or higher.
# Check your version
node --version
# Should show v18.x.x or higher
If using NVM and having issues, try using the absolute path to Node:
{
"mcpServers": {
"figma-console": {
"command": "/Users/yourname/.nvm/versions/node/v20.10.0/bin/node",
"args": ["-e", "require('figma-console-mcp')"],
"env": {
"FIGMA_ACCESS_TOKEN": "figd_YOUR_TOKEN_HERE"
}
}
}
}
Claude Code OAuth Issues
⚠️ Known Issue: Claude Code’s native --transport sse has a bug where OAuth completes but the connection fails. Use mcp-remote instead.
Don’t use:
# This has a known bug
claude mcp add figma-console --transport sse https://figma-console-mcp.southleft.com/sse
Use instead:
# This works correctly
claude mcp add figma-console -s user -- npx -y mcp-remote@latest https://figma-console-mcp.southleft.com/sse
Or better yet, use the NPX setup for full capabilities:
claude mcp add figma-console -s user -- npx -y figma-console-mcp@latest
Config File Syntax Errors
If Claude Desktop doesn’t see your MCP server:
- Validate your JSON: Use a tool like jsonlint.com
- Check for common mistakes:
- Missing commas between properties
- Trailing commas (not allowed in JSON)
- Wrong quote characters (must be
" not ' or smart quotes)
- Copy the exact config from this guide — don’t retype it
Still Having Issues?
- Check the GitHub Issues
- Ask in Discussions
- Include:
- Your setup method (NPX, Local Git, or Remote)
- The exact error message
- Output of
node --version
- Your MCP client (Claude Desktop, Claude Code, etc.)
Optional: Enable MCP Apps
MCP Apps provide interactive UI experiences like the Token Browser and Design System Dashboard. As of v1.10.0, ENABLE_MCP_APPS=true is included in the default configuration examples above.
If you set up before v1.10.0, add "ENABLE_MCP_APPS": "true" to the env section of your MCP config.
Note: MCP Apps require a client with ext-apps protocol support.
Next Steps
- Try example prompts: See Use Cases for workflow examples
- Explore all tools: See Tools Reference for the complete tool list
- Learn about the Desktop Bridge plugin: See Desktop Bridge README for advanced configuration
Support