MCP HubMCP Hub
GLips

Figma-Context-MCP

by: GLips

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

5357created 13/02/2025
Visit
Figma
AI

📌Overview

Purpose: The Figma MCP Server facilitates AI-powered coding tools to interact efficiently with Figma design files, enhancing the accuracy of code generation based on design specifications.

Overview: The Figma MCP Server connects AI tools like Cursor to Figma, allowing them to access design data directly. This enables more accurate implementation of designs compared to traditional methods, such as using screenshots. The server acts as an intermediary, simplifying the data received from the Figma API to optimize the context provided to AI models.

Key Features:

  • Efficient Integration: Seamlessly link AI tools like Cursor to Figma to enable them to fetch relevant design information and generate code accurately.

  • Simplified Data Translation: The server translates complex Figma API responses into a streamlined format, ensuring that only the most relevant styling and layout details are shared with the AI for improved output.


Framelink Figma MCP Server

🌐 Available in:
한국어 (Korean) | 日本語 (Japanese) | 中文 (Chinese)

Give your coding agent access to your Figma data.

Implement designs in any framework in one-shot.

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.

See quickstart instructions →

https://www.framelink.ai/docs/quickstart?utm_source=github&utm_medium=referral&utm_campaign=readme

Demo

Watch a demo of building a UI in Cursor with Figma design data:
https://youtu.be/6G9yb-LrEqg

Watch the video

How it works

  1. Open your IDE's chat (e.g. agent mode in Cursor).
  2. Paste a link to a Figma file, frame, or group.
  3. Ask Cursor to do something with the Figma file—e.g. implement the design.
  4. 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 Figma MCP": {
      "command": "npx",
      "args": ["-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
    }
  }
}

Windows

{
  "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:
https://www.framelink.ai/docs/quickstart?utm_source=github&utm_medium=referral&utm_campaign=readme

Learn More

The Framelink Figma MCP server is simple but powerful. Get the most out of it by learning more at the Framelink site.

Sponsors

🥇 Gold Sponsors

Framelink
https://framelink.ai/?ref=framelink-mcp&utm_source=github&utm_medium=referral&utm_campaign=framelink-mcp