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
1.04M downloads
11.3K stars

Framelink MCP for Figma is a server that allows AI-powered coding tools like Cursor to access and interpret your Figma design data. This integration enables your AI coding assistant to accurately implement designs in one shot, providing better results than methods like pasting screenshots.

Installation

To use Framelink MCP for Figma, you'll need to configure it with your code editor's Model Context Protocol (MCP) settings.

Prerequisites

Before setting up, you need to obtain a Figma API access token:

  1. Visit your Figma account settings
  2. Create a personal access token
  3. Copy the token for use in the configuration

You can find detailed token creation instructions at Figma's documentation.

Setup for MacOS/Linux

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

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

Setup for Windows

For Windows systems, use this configuration:

{
  "mcpServers": {
    "Framelink MCP for Figma": {
      "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 in both examples.

Usage

Using Framelink MCP with your AI coding assistant is straightforward:

  1. Open your IDE's chat (like Cursor's agent mode)
  2. Paste a link to any Figma file, frame, or component group
  3. Ask your AI assistant to implement the design
  4. The assistant will fetch and interpret the Figma data to write appropriate code

Example Prompts

Here are some effective prompts to use with your coding assistant:

  • "Implement this Figma design as a React component: [Figma link]"
  • "Create HTML and CSS for this UI from Figma: [Figma link]"
  • "Convert this Figma card component to Tailwind CSS: [Figma link]"
  • "Build this navbar design from Figma using Vue.js: [Figma link]"

The MCP server automatically simplifies and translates the Figma API response to provide only the most relevant layout and styling information to your AI assistant, improving accuracy and relevance.

Additional Resources

For more detailed instructions and advanced usage, visit the Framelink documentation at Framelink Quickstart Guide.

You can also watch a demonstration of the tool in action at this YouTube tutorial.

For community support, join the discussion on Discord.

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