MCP.so
登录

Figma MCP Server

@j4ckp0t85

关于 Figma MCP Server

experimental gen ai mcp server to generate figma tokens

基本信息

分类

媒体与设计

许可证

MIT

运行时

node

传输方式

stdio

发布者

j4ckp0t85

配置

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

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

工具

未检测到工具

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

概览

What is Figma MCP Server?

Figma MCP Server is a Model Context Protocol server that gives AI-powered coding tools like Cursor, Windsurf, and Cline access to Figma design data. It fetches layout and styling information from Figma files and translates it into context that helps AI models write accurate code.

How to use Figma MCP Server?

Run the server quickly with npx figma-developer-mcp --figma-api-key=<your-figma-api-key>. For tools that use a config file (e.g., Windsurf, Cline, Claude Desktop), add a JSON entry specifying the command, arguments, and environment variable FIGMA_API_KEY. Connect the server to Cursor in Cursor’s settings under the features tab, then paste a Figma link into Composer (in agent mode) and ask Cursor to implement the design.

Key features of Figma MCP Server

  • Fetches Figma file metadata and node trees
  • Extracts detailed CSS properties (colors, typography, shadows, gradients, etc.)
  • Generates design tokens in CSS, SCSS, TypeScript, or JSON
  • Supports optional CSS property extraction for lightweight responses
  • Runs in HTTP/SSE mode or stdio mode
  • Works with Cursor, Windsurf, Cline, and other MCP-compatible tools

Use cases of Figma MCP Server

  • Implement a UI design from Figma directly in Cursor’s Composer
  • Generate design tokens (colors, spacing, typography) from a Figma file
  • Translate Figma frames into styled code with accurate CSS values
  • Automate design-to-code workflows in AI-powered IDEs

FAQ from Figma MCP Server

What is the Figma MCP Server?

It is an MCP server that connects AI coding tools to Figma’s API, providing design data (layout, styling, tokens) to improve code generation accuracy.

How do I get a Figma API key?

Create a personal access token in your Figma account settings (read-only access is sufficient). Instructions are at the Figma help center.

What tools does the server provide?

Two tools: get_figma_data (fetches node info with optional CSS properties) and generate_design_tokens (exports design tokens in CSS, SCSS, TS, or JSON).

Can I run the server in stdio mode?

Yes, use the --stdio flag. This is required for tools like Windsurf and Cline that use a configuration file.

What export formats are available for design tokens?

CSS variables, SCSS variables/mixins, TypeScript constants, and raw JSON.

评论

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