Framelink MCP for Figma is a server that allows AI-powered coding tools like Cursor to access and interpret your Figma design data. This integration enables your AI coding assistant to accurately implement designs in one shot, providing better results than methods like pasting screenshots.
To use Framelink MCP for Figma, you'll need to configure it with your code editor's Model Context Protocol (MCP) settings.
Before setting up, you need to obtain a Figma API access token:
You can find detailed token creation instructions at Figma's documentation.
Add the following to your code editor's MCP configuration file:
{
"mcpServers": {
"Framelink MCP for Figma": {
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
For Windows systems, use this configuration:
{
"mcpServers": {
"Framelink MCP for Figma": {
"command": "cmd",
"args": ["/c", "npx", "-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
Replace YOUR-KEY
with your actual Figma API access token in both examples.
Using Framelink MCP with your AI coding assistant is straightforward:
Here are some effective prompts to use with your coding assistant:
The MCP server automatically simplifies and translates the Figma API response to provide only the most relevant layout and styling information to your AI assistant, improving accuracy and relevance.
For more detailed instructions and advanced usage, visit the Framelink documentation at Framelink Quickstart Guide.
You can also watch a demonstration of the tool in action at this YouTube tutorial.
For community support, join the discussion on Discord.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "Framelink-Figma-MCP" '{"command":"npx","args":["-y","figma-developer-mcp","--figma-api-key=YOUR-KEY","--stdio"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"Framelink Figma MCP": {
"command": "npx",
"args": [
"-y",
"figma-developer-mcp",
"--figma-api-key=YOUR-KEY",
"--stdio"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"Framelink Figma MCP": {
"command": "npx",
"args": [
"-y",
"figma-developer-mcp",
"--figma-api-key=YOUR-KEY",
"--stdio"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect