by GLips
Figma-Context-MCP is a Model Context Protocol (MCP) server that provides Figma layout information to AI coding agents. It bridges design and development by enabling AI tools to directly access and interpret Figma design data for more accurate and efficient code generation.
Figma-Context-MCP is a Model Context Protocol (MCP) server designed to provide Figma layout information to AI coding agents, specifically Cursor. It acts as a bridge, allowing AI tools to directly access and interpret Figma design data for more accurate and efficient code generation.
To use Figma-Context-MCP, you need to configure it within your code editor or AI client that supports MCP servers. This typically involves adding a JSON configuration snippet to your settings, specifying the command to run the figma-developer-mcp
server and providing your Figma API key. Once configured, you can paste a link to a Figma file, frame, or group into your IDE's chat (e.g., Cursor's agent mode) and ask the AI to perform actions based on the design data. The server will fetch, simplify, and translate the relevant Figma API response for the AI.
Give Cursor and other AI-powered coding tools access to your Figma files with this Model Context Protocol server.
When Cursor has access to Figma design data, it's way better at one-shotting designs accurately than alternative approaches like pasting screenshots.
Watch a demo of building a UI in Cursor with Figma design data
This MCP server is specifically designed for use with Cursor. Before responding with context from the Figma API, it simplifies and translates the response so only the most relevant layout and styling information is provided to the model.
Reducing the amount of context provided to the model helps make the AI more accurate and the responses more relevant.
Many code editors and other AI clients use a configuration file to manage MCP servers.
The figma-developer-mcp
server can be configured by adding the following to your configuration file.
NOTE: You will need to create a Figma access token to use this server. Instructions on how to create a Figma API access token can be found here.
{
"mcpServers": {
"Framelink Figma MCP": {
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
{
"mcpServers": {
"Framelink Figma MCP": {
"command": "cmd",
"args": ["/c", "npx", "-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
}
}
}
Or you can set FIGMA_API_KEY
and PORT
in the env
field.
If you need more information on how to configure the Framelink Figma MCP server, see the Framelink docs.
The Framelink Figma MCP server is simple but powerful. Get the most out of it by learning more at the Framelink site.
Reviews feature coming soon
Stay tuned for community discussions and feedback