io.github.GLips/Figma-Context-MCP MCP Server
io.github.GLips/Figma-Context-MCP
Give your coding agent direct access to Figma design data for one-shot UI implementation.
What is the io.github.GLips/Figma-Context-MCP MCP server?
The Figma-Context-MCP (Framelink MCP for Figma) server is a Model Context Protocol server that gives AI coding agents like Cursor access to Figma design file data. It fetches design metadata via the Figma API, simplifies and translates it into relevant layout and styling information, and feeds it to the AI so it can implement designs in code more accurately than working from screenshots alone.
Framelink MCP for Figma connects AI coding assistants such as Cursor to Figma files, frames, or groups. Instead of relying on screenshots, the AI agent pulls structured design data (layout, styling) directly from Figma's API through this MCP server, which trims the response down to only the most relevant information before passing it to the model. This lets developers paste a Figma link into their editor's chat and have the agent implement the design in any framework in essentially one shot.
How to install io.github.GLips/Figma-Context-MCP
Copy-paste configuration for popular MCP clients.
FIGMA_API_KEYrequiredsecretYour Figma Personal Access Token, learn more here: https://www.figma.com/developers/api#access-tokens
{
"mcpServers": {
"Figma-Context-MCP": {
"command": "npx",
"args": [
"-y",
"figma-developer-mcp",
"--stdio"
],
"env": {
"FIGMA_API_KEY": "<YOUR_FIGMA_API_KEY>"
}
}
}
}{
"mcpServers": {
"Figma-Context-MCP": {
"command": "npx",
"args": [
"-y",
"figma-developer-mcp",
"--stdio"
],
"env": {
"FIGMA_API_KEY": "<YOUR_FIGMA_API_KEY>"
}
}
}
}{
"mcpServers": {
"Figma-Context-MCP": {
"command": "npx",
"args": [
"-y",
"figma-developer-mcp",
"--stdio"
],
"env": {
"FIGMA_API_KEY": "<YOUR_FIGMA_API_KEY>"
}
}
}
}{
"servers": {
"Figma-Context-MCP": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"figma-developer-mcp",
"--stdio"
],
"env": {
"FIGMA_API_KEY": "<YOUR_FIGMA_API_KEY>"
}
}
}
}claude mcp add Figma-Context-MCP --env FIGMA_API_KEY=<YOUR_FIGMA_API_KEY> -- npx -y figma-developer-mcp --stdioTools & capabilities
Tools this server exposes to the agent.
Figma file/frame data retrieval— Fetches metadata from the Figma API for a given file, frame, or group link, simplifying and translating the response into the most relevant layout and styling information for use by the AI model.
Use cases
- Paste a Figma file, frame, or group link into Cursor and ask it to implement the design in code
- Generate accurate front-end UI code from Figma layouts without relying on screenshots
- Translate Figma layout and styling data directly into framework-specific components
- Speed up design-to-code handoff for developers using AI coding agents
io.github.GLips/Figma-Context-MCP MCP server FAQ
It lets AI coding agents like Cursor fetch and use Figma design file data (layout, styling) to implement UI designs in code, instead of relying on pasted screenshots.
The MCP server itself is free and open source (MIT licensed), but you need a Figma account and personal access token, and usage is subject to Figma's own API terms.
Add an entry to your MCP configuration file that runs `npx -y figma-developer-mcp --figma-api-key=YOUR-KEY --stdio` (or via `cmd /c npx ...` on Windows), or set FIGMA_API_KEY and PORT as environment variables.
A Figma personal access token (API key) is required, which you create from your Figma account settings and pass via the --figma-api-key flag or FIGMA_API_KEY environment variable.
It's designed for use with Cursor and other MCP-compatible AI coding tools/clients that support agent mode.
Yes, the README states it can help implement designs in any framework since it just supplies structured Figma design context to the coding agent.
README (reference)
Source of truth, from the repository.
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.
<h3><a href="https://www.framelink.ai/docs/quickstart?utm_source=github&utm_medium=referral&utm_campaign=readme">See quickstart instructions →</a></h3>Demo
Watch a demo of building a UI in Cursor with Figma design data
How it works
- Open your IDE's chat (e.g. agent mode in Cursor).
- Paste a link to a Figma file, frame, or group.
- Ask Cursor to do something with the Figma file—e.g. implement the design.
- Cursor will fetch the relevant metadata from Figma and use it to write your code.
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.
Getting Started
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.
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"]
}
}
}
Or you can set FIGMA_API_KEY and PORT in the env field.
If you need more information on how to configure the Framelink MCP for Figma, see the Framelink docs.
Star History
<a href="https://star-history.com/#GLips/Figma-Context-MCP"><img src="https://api.star-history.com/svg?repos=GLips/Figma-Context-MCP&type=Date" alt="Star History Chart" width="600" /></a>
Learn More
The Framelink MCP for Figma is simple but powerful. Get the most out of it by learning more at the Framelink site.
Related MCP servers
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.
Chrome DevTools MCP
Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.
com.puter/mcp-server
Let AI agents manage your Puter files, websites, and serverless workers over MCP.
Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.
Run arbitrary shell commands from an MCP-connected AI agent.
Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.
