Figma Context MCP

v1.0.0Developer Toolsstable

MCP server to provide Figma layout information to AI coding agents like Cursor

aicursorfigmamcptypescript
Share:
14,819
Stars
0
Downloads
0
Weekly
0/5

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

Layout information access
Design-to-code
AI coding agent integration
GLips

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx figma-context-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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.

2

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"]
    }
  }
}
3

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"]
    }
  }
}
4

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.

5

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.

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.

Quick Config Preview

{ "mcpServers": { "figma-context-mcp": { "command": "npx", "args": ["-y", "figma-context-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides