Figma-Context-MCP
MCP server to provide Figma layout information to AI coding agents like Cursor
What is Figma-Context-MCP?
MCP server to provide Figma layout information to AI coding agents like Cursor
Overview of Figma-Context-MCP
What it is
Figma-Context-MCP (also called Framelink MCP for Figma) is a Model Context Protocol server that provides Figma layout information to AI coding agents such as Cursor. It allows developers to give their coding agent access to Figma design data, enabling more accurate one-shot implementation of designs in any framework.
Key features
- Gives AI coding agents (e.g., Cursor) access to Figma file data
- Simplifies and translates Figma API responses to only the most relevant layout and styling information
- Reduces the amount of context provided to the model, improving accuracy and relevance of responses
- Works by pasting a Figma file, frame, or group link into the IDE chat and asking the agent to implement the design
- Designed specifically for use with Cursor but compatible with other AI-powered coding tools
Use cases
- Implementing UI designs in any framework in one-shot by providing a Figma link to an AI coding agent
- Building user interfaces in Cursor (or similar tools) with direct access to Figma design data, avoiding the need for screenshots
Getting started
You need a Figma access token to use this server. Instructions for creating one can be found in the Figma documentation.
Add the following configuration to your MCP configuration file:
MacOS / Linux
{
"mcpServers": {
"Framelink MCP for Figma": {
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
Windows
{
"mcpServers": {
"Framelink MCP for Figma": {
"command": "cmd",
"args": ["/c", "npx", "-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
Alternatively, you can set FIGMA_API_KEY and PORT in the env field. For more details, see the Framelink documentation.
License and pricing
This project is licensed under the MIT License and is open source.
Based on the project's public README and repository metadata.