Figma Console
STDIOMCP server providing AI assistants with real-time Figma console access, debugging, and design system extraction
MCP server providing AI assistants with real-time Figma console access, debugging, and design system extraction
Model Context Protocol server that provides AI assistants with real-time console access, visual debugging, and design system extraction for Figma.
Figma Console MCP connects AI assistants (like Claude) to Figma, enabling:
This MCP server offers three installation methods with different tradeoffs:
| Method | Setup | Auth | Best For |
|---|---|---|---|
| Remote SSE | ⭐ Paste URL (2 min) | OAuth (automatic) | Most users - design system extraction |
| NPX | npm package (10 min) | PAT (manual) | Local execution without source code |
| Local Git | git clone (15 min) | PAT (manual) | Developers - modify source code |
Key Insight: Only Remote SSE offers true zero-setup via OAuth. Both NPX and Local Git require manual FIGMA_ACCESS_TOKEN setup.
Choose the setup that fits your needs:
Perfect for design system extraction and basic debugging. No installation required!
Latest Method - No Config Files!
Figma Consolehttps://figma-console-mcp.southleft.com/sseWhat you get:
*Variables API requires Figma Enterprise plan OR use Local Mode + Desktop Bridge plugin
One-line install:
claude mcp add --transport sse figma-console https://figma-console-mcp.southleft.com/sse
Verify: /mcp should show "figma-console: connected"
Add to .cursor/mcp.json:
{ "mcpServers": { "figma-console": { "command": "npx", "args": ["-y", "mcp-remote", "https://figma-console-mcp.southleft.com/sse"] } } }
Restart Cursor after saving.
Consult your client's MCP documentation for the config file location, then add:
{ "mcpServers": { "figma-console": { "command": "npx", "args": ["-y", "mcp-remote", "https://figma-console-mcp.southleft.com/sse"] } } }
Use NPX if you:
FIGMA_ACCESS_TOKEN setupSetup time: 10 minutes
Note: NPX has identical authentication requirements to Local Git mode. For true zero-setup, use Remote Mode instead.
Add to your MCP config (e.g., .claude.json or claude_desktop_config.json):
{ "mcpServers": { "figma-console": { "type": "stdio", "command": "npx", "args": ["-y", "figma-console-mcp@latest"], "env": { "FIGMA_ACCESS_TOKEN": "your_figma_access_token_here" } } } }
--remote-debugging-port=9222
open -a "Figma" --args --remote-debugging-port=9222start figma://--remote-debugging-port=9222Use Local Mode if you:
⚠️ Important: The Desktop Bridge plugin ONLY works in Local Mode. Remote mode cannot access it because the plugin requires direct connection to Figma Desktop via localhost:9222.
Setup time: 10-15 minutes
# 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
macOS: Edit ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: Edit %APPDATA%\Claude\claude_desktop_config.json
Add this configuration:
{ "mcpServers": { "figma-console-local": { "command": "node", "args": ["/absolute/path/to/figma-console-mcp/dist/local.js"], "env": { "FIGMA_ACCESS_TOKEN": "figd_YOUR_TOKEN_HERE" } } } }
Important:
/absolute/path/to/figma-console-mcp with the actual absolute path where you cloned the repofigd_YOUR_TOKEN_HERE with your actual Figma token from Step 2/ even on Windows⚠️ CRITICAL: Quit Figma completely first, then restart it with the debug flag:
macOS:
open -a "Figma" --args --remote-debugging-port=9222
Windows:
start figma://--remote-debugging-port=9222
Quit Claude Desktop completely and relaunch it. The MCP server will connect automatically.
Check debug port is working:
Test in Claude Desktop:
📖 For more details: See Complete Setup Guide
| Feature | Remote SSE | NPX | Local Git |
|---|---|---|---|
| Setup | 2 minutes | 10 minutes | 15 minutes |
| Prerequisites | None | PAT + Figma restart | PAT + Figma restart + git |
| Authentication | OAuth (automatic) | PAT (manual) | PAT (manual) |
| Console logs | ✅ | ✅ (zero latency) | ✅ (zero latency) |
| API access | ✅ | ✅ | ✅ |
| Desktop Bridge plugin | ❌ | ✅ | ✅ |
| Variables (no Enterprise) | ❌ | ✅ (via plugin) | ✅ (via plugin) |
| Reliable descriptions | ⚠️ (API bugs) | ✅ (via plugin) | ✅ (via plugin) |
| Source code access | ❌ | ❌ | ✅ |
| Distribution | URL | npm package | git clone |
After setup, try these prompts:
Basic test (both modes):
Navigate to https://www.figma.com and check status
Design system test (requires auth):
Get design variables from [your Figma file URL]
Plugin test (Local Mode only):
Show me the primary font for [your theme name]
When you first use design system tools:
FIGMA_ACCESS_TOKEN environment variableAll 14 tools work in both Remote and Local modes:
figma_navigate - Open Figma URLsfigma_get_status - Check connection statusfigma_get_console_logs - Retrieve console logsfigma_watch_console - Real-time log streamingfigma_clear_console - Clear log bufferfigma_reload_plugin - Reload current pagefigma_take_screenshot - Capture UI screenshotsfigma_get_variables - Extract design tokens/variablesfigma_get_component - Get component data (metadata or reconstruction spec)
figma_get_component_for_development - Component + imagefigma_get_component_image - Just the imagefigma_get_styles - Color, text, effect stylesfigma_get_file_data - Full file structurefigma_get_file_for_plugin - Optimized file dataNavigate to my Figma plugin and show me any console errors
Watch the console for 30 seconds while I test my plugin
Get the last 20 console logs
Get all design variables from https://figma.com/design/abc123
Extract color styles and show me the CSS exports
Get the Button component with a visual reference image
Get the Badge component in reconstruction format for programmatic creation
Take a screenshot of the current Figma canvas
Navigate to this file and capture what's on screen
The Figma Desktop Bridge plugin enables:
⚠️ Plugin Limitation: Only works in Local Mode. Remote mode cannot access it.
Setup:
📖 Desktop Bridge Documentation
Figma Console MCP (This Project) - Debugging & data extraction
Figma Official Dev Mode MCP - Code generation
Use both together for the complete workflow: generate code with Official MCP, then debug and extract data with Console MCP.
git clone https://github.com/southleft/figma-console-mcp.git cd figma-console-mcp npm install # Local mode development npm run dev:local # Cloud mode development npm run dev # Build npm run build
MIT - See LICENSE file for details.