MCP.so
登录

Figma MCP Server Overview

@kiensamson0000

关于 Figma MCP Server Overview

UI auto-generated from Figma by Cursor AI on MCP Server.

基本信息

分类

媒体与设计

运行时

node

传输方式

stdio

发布者

kiensamson0000

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "demo-ai-mcp": {
      "command": "npx",
      "args": [
        "figma-developer-mcp",
        "--figma-api-key=<your-figma-api-key>"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Figma MCP Server?

Figma MCP Server is an implementation of the Model Context Protocol that delivers standardized design context (layout, components, styling) from Figma to large language models. It acts as middleware for designers and developers who want to use AI coding assistants such as Claude, Windsurf, Cursor, and Cline to automate tasks, generate UI components, and maintain consistency between design and code.

How to use Figma MCP Server?

Install and run the server via npx figma-developer-mcp --figma-api-key=<your-figma-api-key> (or clone the repository and use pnpm install + pnpm run dev). Set the FIGMA_API_TOKEN environment variable (and optionally PORT, default 3333). Integrate with AI tools (e.g., Cursor) by adding an SSE MCP server pointing to http://localhost:3333. In Figma, copy a design link and paste it into the AI tool to trigger tasks like generating React code.

Key features of Figma MCP Server

  • MCP‑compliant – works with multiple LLM applications
  • Type‑safe implementation built with TypeScript
  • Custom URI scheme for easy design asset management
  • Robust error handling and input validation
  • Batch operations for processing multiple design elements
  • Available tools: get_file and get_node

Use cases of Figma MCP Server

  • Generate React or other framework code directly from Figma designs
  • Create reusable UI components from selected frames
  • Automate repetitive design‑to‑code translation tasks
  • Reduce manual overhead and maintain consistency across team projects
  • Enable AI assistants to access up‑to‑date Figma layout and styling data

FAQ from Figma MCP Server

What prerequisites are needed to run the server?

You need Node.js 16.0+, npm 7.0+ or pnpm 8.0+, a Figma account (Professional or Enterprise recommended), and a Figma API access token with read permissions.

How do I obtain a Figma API token?

In the Figma desktop app, go to Settings → Security, scroll to Personal Access Tokens, generate a new token, copy it immediately (it is shown only once), and store it securely in an environment variable.

How do I integrate the server with an AI tool like Cursor?

Ensure the server is running, open Cursor Settings → MCP, click “Add New MCP Server”, choose the SSE option, and enter the server URL (usually http://localhost:3333). A green indicator confirms the connection.

Which transport does the server use?

The server communicates via SSE (Server‑Sent Events) to provide real‑time design context to AI assistants.

What are the two main tools exposed by the server?

get_file retrieves detailed information about a Figma file, and get_node fetches data about a specific node within a file.

评论

媒体与设计 分类下的更多 MCP 服务器