Figma MCP 集成服务器
与 Figma 文件内容、开发资源、评论和 Webhook 交互的工具。
快速入门
-
安装
- 使用 Smithery 自动安装:
npm 安装命令:
npx -y @smithery/cli install @deepsuthar496/figma-mcp-server --client claude
- 手动安装:
克隆仓库后运行
npm install
安装依赖,然后使用npm run build
构建。
- 使用 Smithery 自动安装:
npm 安装命令:
-
配置 在 MCP 设置文件中添加 Figma 访问令牌: { "mcpServers": { "figma": { "command": "node", "args": ["path/to/figma-server/build/index.js"], "env": { "FIGMA_ACCESS_TOKEN": "your-access-token-here" } } } }
-
功能示例
- 获取文件信息:调用
get_file
工具,传入file_key
。 - 创建 Webhook:调用
create_webhook
,提供team_id
、event_type
和callback_url
。
- 获取文件信息:调用
更多详情请参考 README。