Provides tools for fetching Figma design specifications, file metadata, and frame dimensions, while allowing for the export of frames and sections as high-resolution images.
Integrates with Jira workflows to automatically detect Figma links within tickets and provide visual design context directly alongside ticket information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Figma MCP ServerGet the design and export the sections from https://www.figma.com/design/ABC123/MyProject"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Figma MCP Server
A Model Context Protocol (MCP) server that brings Figma designs directly into Claude Code. View design specifications, export frames as images, and reference visual context without leaving your development environment.
Overview
Implementing designs accurately requires constant reference to Figma. This MCP server eliminates context switching by:
Fetching design information - Get file names, frame details, and dimensions
Exporting images - Download frames as high-resolution PNGs
Smart section splitting - Large frames are automatically split into readable sections
Seamless integration - Works standalone or integrated with jira-mcp
Features
Feature | Description |
Design Info | File name, last modified, frame dimensions |
Image Export | Export frames as PNG, SVG, JPG, or PDF |
Auto-Scaling | 2x scale by default for retina clarity |
Section Detection | Large frames split into individual sections |
Batch Export | Export multiple frames efficiently |
URL Parsing | Supports file, design, and prototype URLs |
Installation
Prerequisites
Node.js 18+
Claude Code CLI
Figma account with API access
Step 1: Add to Claude Code
claude mcp add --transport stdio figma -- npx -y @rui.branco/figma-mcpStep 2: Get Your Figma Token
Go to Figma Account Settings
Scroll down to "Personal access tokens"
Click "Generate new token"
Enter a description (e.g., "Claude Code MCP")
Click "Generate token"
Copy the token (you won't be able to see it again)
Step 3: Configure Credentials
Run the setup with your token:
npx @rui.branco/figma-mcp setup "YOUR_FIGMA_TOKEN"Or run interactively (will prompt for the token):
npx @rui.branco/figma-mcp setupStep 4: Verify
Restart Claude Code and run /mcp to verify the server is connected.
Alternative: Manual Installation
If you prefer to install manually:
git clone https://github.com/rui-branco/figma-mcp.git ~/.config/figma-mcp
cd ~/.config/figma-mcp && npm install
node setup.jsThen add to Claude Code:
claude mcp add --transport stdio figma -- node $HOME/.config/figma-mcp/index.jsUsage
Fetch a Design
> Get this Figma design: https://www.figma.com/design/ABC123/MyProject?node-id=1-234Example Output
# Figma File: MyProject
**Last Modified:** 2025-01-15T10:30:00Z
## Selected Frame: Login Screen
**Type:** FRAME
**Size:** 1440 x 900
### Sections (4):
- **Header** (FRAME, 1440x80)
- **Login Form** (FRAME, 400x350)
- **Footer** (FRAME, 1440x60)
- **Background** (FRAME, 1440x900)
### Exported Sections:
- Header: ~/.config/figma-mcp/exports/ABC123_1_234.png
- Login Form: ~/.config/figma-mcp/exports/ABC123_1_235.png
- Footer: ~/.config/figma-mcp/exports/ABC123_1_236.png
[Images displayed inline]Smart Section Export
For large frames (>1500px wide or >2000px tall), the server automatically:
Detects child frames, components, and groups
Exports each section separately at 2x scale
Provides better detail than a single compressed image
Limits to 10 sections by default (configurable)
This is especially useful for:
Full-page designs with multiple sections
Component libraries
Design system documentation
API Reference
Tools
Tool | Description | Parameters |
| Fetch design from URL |
|
| Export specific frame |
|
Parameters
Parameter | Default | Description |
|
| Export images |
|
| Split large frames into sections |
|
| Maximum sections to export |
|
| Export scale (1-4) |
|
| Export format (png, svg, jpg, pdf) |
Configuration
Config stored at ~/.config/figma-mcp/config.json:
{
"token": "YOUR_FIGMA_TOKEN"
}Error Handling
The server provides clear error messages:
Error | Meaning | Solution |
| Too many API requests | Wait a few minutes |
| Invalid token or no file access | Check token permissions |
| Invalid URL or deleted file | Verify the Figma URL |
Integration with Jira MCP
When used alongside jira-mcp:
Figma links in Jira tickets are automatically detected
Designs are fetched without manual intervention
Images appear inline with ticket context
This creates a seamless workflow:
> Get ticket PROJ-123
# Returns ticket details + auto-fetched Figma designsSecurity
Tokens stored locally in
~/.config/figma-mcp/config.jsonConfig excluded from git via
.gitignoreTokens only transmitted to Figma API
Exports saved to
~/.config/figma-mcp/exports/
License
MIT
Related
jira-mcp - Jira MCP server with Figma integration
Model Context Protocol - MCP specification
Figma API - Figma REST API documentation
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.