Skip to main content
Glama

Figma MCP Server

MIT License
60,738
8,062
  • Linux
  • Apple

使用此模型上下文协议服务器,让Cursor和其他 AI 驱动的编码工具访问您的 Figma 文件。

当 Cursor 可以访问 Figma 设计数据时,它比粘贴屏幕截图等其他方法更能准确地一次性完成设计。

演示

观看使用 Figma 设计数据在 Cursor 中构建 UI 的演示

工作原理

  1. 打开您的 IDE 的聊天(例如 Cursor 中的代理模式)。
  2. 将链接粘贴到 Figma 文件、框架或组。
  3. 要求 Cursor 对 Figma 文件执行某些操作 - 例如实现设计。
  4. Cursor 将从 Figma 获取相关元数据并使用它来编写代码。

此 MCP 服务器专为与 Cursor 配合使用而设计。在通过Figma API响应上下文之前,它会简化并转换响应,以便仅向模型提供最相关的布局和样式信息。

减少提供给模型的上下文量有助于提高人工智能的准确性和响应的相关性。

入门

许多代码编辑器和其他 AI 客户端使用配置文件来管理 MCP 服务器。

可以通过将以下内容添加到配置文件来配置figma-developer-mcp服务器。

注意:您需要创建 Figma 访问令牌才能使用此服务器。有关如何创建 Figma API 访问令牌的说明,请参见此处

MacOS / Linux

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

视窗

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

或者您可以在env字段中设置FIGMA_API_KEYPORT

如果您需要有关如何配置 Framelink Figma MCP 服务器的更多信息,请参阅Framelink 文档

星史

了解更多

Framelink Figma MCP 服务器简单易用,但功能强大。访问Framelink网站了解更多信息,充分利用它。

赞助商

🥇 黄金赞助商

🥈 银牌赞助商

🥉 铜牌赞助商

😻 支持者较少

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

使 Cursor 能够通过模型上下文协议访问 Figma 文件,增强其准确解释和利用设计数据进行代码生成的能力。

  1. 工作原理
    1. 入门
      1. MacOS / Linux
      2. 视窗
    2. 星史
      1. 了解更多
        1. 赞助商
          1. 🥇 黄金赞助商
          2. 🥈 银牌赞助商
          3. 🥉 铜牌赞助商
          4. 😻 支持者较少

        Related MCP Servers

        • A
          security
          F
          license
          A
          quality
          Enables seamless interaction with Figma via the Model Context Protocol, allowing LLM applications to access, manipulate, and track Figma files, components, and variables.
          Last updated -
          2
          106
          TypeScript
          • Apple
        • A
          security
          A
          license
          A
          quality
          An MCP server integration that enables Cursor AI to communicate with Figma, allowing users to read designs and modify them programmatically through natural language commands.
          Last updated -
          19
          2,514
          3,528
          JavaScript
          MIT License
          • Apple
          • Linux
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that integrates Figma design files with AI coding tools like Cursor, Windsurf, and Cline, allowing AI tools to access and understand Figma design data for generating more accurate code.
          Last updated -
          124
          6
          TypeScript
          MIT License
          • Linux
          • Apple
        • A
          security
          F
          license
          A
          quality
          A tool that integrates Figma with Cursor through the Model Context Protocol, allowing users to retrieve, optimize, and convert design data from Figma files into structured CSS and design tokens.
          Last updated -
          1
          JavaScript

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/GLips/Figma-Context-MCP'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server