Figma MCP 集成服务器

Figma MCP 集成服务器

与 Figma 文件内容、开发资源、评论和 Webhook 交互的工具。

快速入门

  1. 安装

    • 使用 Smithery 自动安装: npm 安装命令:npx -y @smithery/cli install @deepsuthar496/figma-mcp-server --client claude
    • 手动安装: 克隆仓库后运行 npm install 安装依赖,然后使用 npm run build 构建。
  2. 配置 在 MCP 设置文件中添加 Figma 访问令牌: { "mcpServers": { "figma": { "command": "node", "args": ["path/to/figma-server/build/index.js"], "env": { "FIGMA_ACCESS_TOKEN": "your-access-token-here" } } } }

  3. 功能示例

    • 获取文件信息:调用 get_file 工具,传入 file_key
    • 创建 Webhook:调用 create_webhook,提供 team_idevent_typecallback_url

更多详情请参考 README。