Figma MCP Server
Provides tools to retrieve and interact with Figma design file data, including nodes, styles, and components.
Allows Gemini CLI to interact with Figma files, retrieving design information programmatically.
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 nodes and properties from my Figma file"
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 comprehensive local MCP server for Figma. Connect Figma with the Gemini CLI, Cursor, and Claude Desktop.

Prerequisites
Bun (>= 1.1.0)
Install
Install the server
git clone https://github.com/planetabhi/figma-mcp-server.git
cd figma-mcp-server
bun iSet tool environment variable
Create a .env file and set the FIGMA_API_KEY to your Figma API key.
FIGMA_API_KEY=To generate a new personal access token, log in to your Figma account, then from the top-left menu, head to Settings, click on the security tab, find the Personal access tokens section, and click Generate new token to open the configuration modal where you can set the expiration and scopes before clicking Generate token.
List All Tools
List descriptions and parameters from all available tools
bun list-tools
# or
bun index.ts toolsRun the MCP Server
Find bun and server path
# Find bun path
which bun
# Get the absolute path of the MCP server
realpath mcpServer.tsRun with Claude Desktop
Open Claude Desktop → Settings → Developers → Edit Config and add your server:
{
"mcpServers": {
"figma-mcp-server": {
"command": "<absolute_path_to_bun>",
"args": ["<absolute_path_to_mcpServer.ts>"]
}
}
}Restart Claude Desktop to activate config change.
To try it out in Claude Desktop, first enable the
get_file_nodestool from the tools list. Copy a design node link from a Figma file, then paste it into Claude Desktop prompt. It will return the design node data and other information.
Run with Gemini CLI
Open a new terminal and create the
.geminidirectory (if it doesn't exist)
mkdir -p ~/.geminiCreate the
settings.jsonfile
echo '{
"mcpServers": {
"figma-mcp-server": {
"command": "<absolute_path_to_bun>",
"args": ["mcpServer.ts"],
"cwd": "<absolute_path_to_working_directory>",
"env": {
"FIGMA_API_KEY": "your_figma_api_key_here"
},
"trust": true
}
}
}' > ~/.gemini/settings.jsonStart Gemini CLI
export GEMINI_API_KEY="your_gemini_api_key_here"
npx https://github.com/google-gemini/gemini-cliUse
/mcpto list all toolsUse
/mcp descto show server and tool descriptionsUse
/mcp schemato show tool parameter schemasUse
/mcp nodescto hide descriptions
Troubleshooting
Missing Figma token
Error: missing or invalid
FIGMA_API_KEY.Ensure
.envexists next tomcpServer.tswithFIGMA_API_KEY=....
Port already in use (SSE mode)
Run SSE on a custom port:
PORT=3005 bun mcpServer.ts --sse.
Bun not found
Ensure
which bunreturns a path.Restart your shell after installing Bun.
Using npm instead of Bun
Replace
bun i→npm iReplace
bun list-tools→npx tsx index.ts tools
Manual start not required
Only start manually for SSE or local web endpoint:
bun mcpServer.ts --sseDefault port is
3001, override withPORT=<port>
MIT License · By @planetabhi ⋛⋋( ⊙◊⊙)⋌⋚
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/planetabhi/figma-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server