🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more
Socket
Book a DemoInstallSign in
Socket

@yeepay/figma-developer-mcp

Package Overview
Dependencies
Maintainers
9
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yeepay/figma-developer-mcp

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

latest
npmnpm
Version
0.0.1
Version published
Maintainers
9
Created
Source
Framelink

为您的编码代理提供 Figma 数据访问权限。
一次性在任何框架中实现设计。

每周下载 MIT 许可证 Discord
Twitter

通过此 Model Context Protocol 服务器,为 Cursor 和其他 AI 驱动的编码工具提供 Figma 文件访问权限。

当 Cursor 可以访问 Figma 设计数据时,它比粘贴截图等替代方法能一次性准确实现设计。

工作原理

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

此 MCP 服务器专为与 Cursor 一起使用而设计。在从 Figma API 响应上下文之前,它会简化和翻译响应,以便只向模型提供最相关的布局和样式信息。

减少提供给模型的上下文数量有助于提高 AI 的准确性并使响应更具相关性。

开始使用

许多代码编辑器和其他 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", "--ui=ant-design-vue"]
    }
  }
}

Windows

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

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

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

Keywords

figma

FAQs

Package last updated on 25 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts