Basic information

Runtime
TypeScript
Category
License
MIT
Transports
stdio
Author
1yhy
Submitted by
Community
Quality
10
Stars
30

About Figma MCP Server

# Figma MCP 服务器

Figma MCP is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by 1yhy. It exposes 5 tools, including add_figma_file, view_node, read_comments, post_comment and more. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 30 GitHub stars. Source code is hosted on github.com. Related topics: ai-tools, design-integration, figma.

Setup

{
    "mcpServers": {
        "Figma MCP": {
            "command": "npx",
            "args": [
                "figma-mcp",
                "--figma-api-key=<your-figma-api-key>",
                "--stdio"
            ]
        }
    }
}

Figma MCP config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "Figma MCP": {
            "command": "npx",
            "args": [
                "figma-mcp",
                "--figma-api-key=<your-figma-api-key>",
                "--stdio"
            ]
        }
    }
}

Figma MCP tools

  • add_figma_file — Add a Figma file to your context
    url:string*
  • view_node — Get a thumbnail for a specific node in a Figma file
    file_key:string*, node_id:string*
  • read_comments — Get all comments on a Figma file
    file_key:string*
  • post_comment — Post a comment on a node in a Figma file
    file_key:string*, message:string*, node_id:string, x:number*, y:number*
  • reply_to_comment — Reply to an existing comment in a Figma file
    comment_id:string*, file_key:string*, message:string*

Overview

What is Figma MCP?

Figma MCP is a server based on the Model Context Protocol (MCP) that integrates Figma design files with AI coding tools such as Cursor, Windsurf, and Cline. It converts Figma design data into a format easily understood by AI models, enabling more accurate code generation directly from designs.

How to use Figma MCP?

Install via npm install -g @yhy2001/figma-mcp-server or from a local .tgz package. Start with figma-mcp --figma-api-key=<your-figma-api-key>. Optionally set a custom --port (default 3333) or use --stdio for command mode. In your AI tool’s MCP configuration, add the server URL (http://localhost:3333/sse) or the npx command with --stdio.

Key features of Figma MCP

  • Converts Figma design data into AI-optimized formats.
  • Retrieves layout and style info from files, frames, or components.
  • Downloads images and icons from Figma files.
  • Reduces context size for faster, more accurate AI responses.

Use cases of Figma MCP

  • AI coding assistants generating UI code directly from Figma designs.
  • Design-to-development handoff without manual pixel inspection.
  • Automating component styling extraction for consistent frontend implementation.

Frequently asked questions

1 What do I need before using the server?

A Figma personal access token (see Figma help on managing tokens) and Node.js installed. You’ll also need a compatible AI tool (Cursor, Windsurf, Cline, or any MCP client).

2 How do I get a Figma API token?

Follow the official Figma guide: Manage personal access tokens.

3 Can I run the server without internet access?

No, the server requires internet access to connect to the Figma API and fetch design file data. All design data is retrieved live from Figma.

4 What transports are supported?

HTTP/SSE (port 3333 by default) and stdio mode (--stdio). Use stdio for tools that launch the server as a subprocess, and SSE for tools that connect to a running server URL.

5 Is Figma MCP free and open source?

Yes, it is based on the open-source project Figma-Context-MCP and freely available. You only need your own Figma API token (free tier is sufficient for testing).

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬