Figma Context MCP
MCP server to provide Figma layout information to AI coding agents like Cursor
What is Figma Context MCP?
Figma Context MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server to provide figma layout information to ai coding agents like cursor
MCP server to provide Figma layout information to AI coding agents like Cursor
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server to provide Figma layout information to AI coding
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx figma-context-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Figma Context MCP
Figma Context MCP (figma-developer-mcp, also branded as Framelink MCP for Figma) is an MCP server that provides AI coding agents with structured access to Figma layout data, design tokens, and component metadata so they can generate accurate frontend code without relying on screenshots. It authenticates with Figma's API using a personal access token and serves design context over the MCP stdio protocol to clients like Cursor, Claude, Windsurf, and Cline. By exposing machine-readable Figma data rather than pixel images, it enables AI tools to one-shot implement designs in any frontend framework with correct dimensions, spacing, colors, and component hierarchy.
Prerequisites
- Node.js 18 or higher installed
- A Figma account with access to the target design files
- A Figma personal access token from figma.com → Account Settings → Access Tokens
- An MCP-compatible AI coding client such as Cursor, Claude Desktop, Windsurf, or Cline
Generate a Figma personal access token
In Figma, navigate to Account Settings → Access Tokens and create a new personal access token with read access. Save the token securely — it is your FIGMA_API_KEY.
Add the server to your MCP client (macOS / Linux)
Add the figma-developer-mcp package to your MCP client configuration. Pass your Figma API key via the --figma-api-key argument.
{
"mcpServers": {
"figma-context": {
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--figma-api-key=YOUR_FIGMA_API_KEY", "--stdio"]
}
}
}Add the server to your MCP client (Windows)
On Windows, wrap the npx call in cmd to ensure the command is found correctly.
{
"mcpServers": {
"figma-context": {
"command": "cmd",
"args": ["/c", "npx", "-y", "figma-developer-mcp", "--figma-api-key=YOUR_FIGMA_API_KEY", "--stdio"]
}
}
}Restart your AI coding client
Save the configuration file and fully restart your client. The Figma Context MCP server will launch automatically via npx when the client starts.
Copy a Figma frame link and implement the design
Right-click a frame, component, or group in Figma and copy its link. Paste the link in your AI assistant's chat alongside a request to implement it.
Figma Context MCP Examples
Client configuration
Cursor or Claude Desktop configuration on macOS/Linux. Replace YOUR_FIGMA_API_KEY with your actual personal access token from Figma.
{
"mcpServers": {
"figma-context": {
"command": "npx",
"args": ["-y", "figma-developer-mcp", "--figma-api-key=YOUR_FIGMA_API_KEY", "--stdio"]
}
}
}Prompts to try
Example prompts to use Figma layout context for frontend code generation.
- "Implement this Figma design as a React + Tailwind component: https://www.figma.com/file/..."
- "What are the colors, font sizes, and spacing values used in this Figma frame?"
- "Generate HTML and CSS for this Figma component: https://www.figma.com/file/..."
- "Create a Vue component that matches this Figma design exactly"
- "List all the design tokens from this Figma file"Troubleshooting Figma Context MCP
Error: FIGMA_API_KEY is required or 401 Unauthorized
Ensure you pass the key via --figma-api-key=YOUR_KEY in the args array, not as a separate env variable. Alternatively, set it as an environment variable: add '"env": {"FIGMA_API_KEY": "your-key"}' to the MCP server config block.
The Figma file link returns 'file not found' or empty data
Confirm the link is to a specific frame or component (right-click → Copy link to selection in Figma), not to the entire file root. Also verify the token has access to the workspace containing the file.
npx is slow on first run due to package download
After the first run, npx caches the figma-developer-mcp package. For faster startup, install globally: 'npm install -g figma-developer-mcp' and change the command to 'figma-developer-mcp' with args ['--figma-api-key=YOUR_KEY', '--stdio'].
Frequently Asked Questions about Figma Context MCP
What is Figma Context MCP?
Figma Context MCP is a Model Context Protocol (MCP) server that mcp server to provide figma layout information to ai coding agents like cursor It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Figma Context MCP?
Follow the installation instructions on the Figma Context MCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Figma Context MCP?
Figma Context MCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Figma Context MCP free to use?
Yes, Figma Context MCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Figma Context MCP Alternatives — Similar Developer Tools Servers
Looking for alternatives to Figma Context MCP? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Figma Context MCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Figma Context MCP?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.