Figma Context MCP server

Integrates with Figma's design platform API to enable AI-driven design operations, asset management, and team collaboration within Figma workflows.
Back to servers
Setup instructions
Provider
GLips
Release date
Feb 13, 2025
Language
TypeScript
Package
Stats
697.4K downloads
10.4K stars

The Framelink Figma MCP server enables AI-powered coding tools like Cursor to access and utilize Figma design data, making it significantly more accurate at implementing designs compared to methods like sharing screenshots. This server translates Figma API responses into relevant layout and styling information specifically optimized for AI models.

Installation

To get started with the Framelink Figma MCP server, you'll need to configure it in your code editor that supports the Model Context Protocol.

Prerequisites

Before installation, you need to create a Figma access token. You can obtain this by following the instructions at Figma's personal access token documentation.

Configuration

For MacOS / Linux

Add the following to your code editor's MCP configuration file:

{
  "mcpServers": {
    "Framelink Figma MCP": {
      "command": "npx",
      "args": ["-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
    }
  }
}

For Windows

Add the following to your code editor's MCP configuration file:

{
  "mcpServers": {
    "Framelink Figma MCP": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "figma-developer-mcp", "--figma-api-key=YOUR-KEY", "--stdio"]
    }
  }
}

Replace YOUR-KEY with your actual Figma API access token.

Usage

Using the Framelink Figma MCP server is straightforward:

  1. Open your IDE's chat (such as agent mode in Cursor)
  2. Paste a link to a Figma file, frame, or group
  3. Ask the AI assistant to implement the design
  4. The server will fetch the relevant metadata from Figma and provide it to the AI to write your code

Example Workflow

  1. Activate your AI assistant in your code editor
  2. Paste a Figma link such as: https://www.figma.com/file/example-file-id/project-name?node-id=123%3A456
  3. Ask something like: "Implement this login screen using React and Tailwind CSS"
  4. The AI will access the Figma data through the MCP server and generate the appropriate code

Benefits

The server is designed to:

  • Simplify and translate Figma API responses
  • Provide only the most relevant layout and styling information
  • Reduce context noise for better AI accuracy
  • Enable one-shot implementation of designs

Additional Resources

For more detailed information and usage tips, visit the Framelink quickstart guide.

You can also watch a demonstration video showing how to build a UI in Cursor with Figma design data at this YouTube link.

For community support, join the Framelink Discord server.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "Framelink-Figma-MCP" '{"command":"npx","args":["-y","figma-developer-mcp","--figma-api-key=YOUR-KEY","--stdio"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "Framelink Figma MCP": {
            "command": "npx",
            "args": [
                "-y",
                "figma-developer-mcp",
                "--figma-api-key=YOUR-KEY",
                "--stdio"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "Framelink Figma MCP": {
            "command": "npx",
            "args": [
                "-y",
                "figma-developer-mcp",
                "--figma-api-key=YOUR-KEY",
                "--stdio"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later