mcp-figma
mcp-figma
用于 Figma API 集成的模型上下文协议 (MCP) 服务器,旨在与 Claude 和其他兼容 MCP 的 AI 助手一起使用。
特征
此 MCP 服务器提供对 Figma API 功能的访问:
文件操作(获取文件、获取节点、获取图像)
评论管理
团队/项目管理
组件和样式访问
持久 API 密钥存储
Related MCP server: Figma MCP Server
安装
NPM 安装
# Install globally
npm install -g mcp-figma
# Or install locally in a project
npm install mcp-figma
# Update to latest version
npm update -g mcp-figma与 Claude 一起使用
将 mcp-figma 添加到您的 Claude 配置中:
"mcp-figma": {
"command": "npx",
"args": [
"-y",
"mcp-figma"
]
}使用 Claude 时,第一次使用时需要设置 Figma API 密钥:
Please use mcp-figma to set my Figma API key: figd_xxxxxxxxxxxxxxxxxxxxxxx您的 API 密钥将存储在~/.mcp-figma/config.json中,并将在未来的会话中自动加载。
您可以验证您的 API 密钥是否已配置:
Please use mcp-figma to check my API key status然后使用任何可用的 Figma API 函数:
Please use mcp-figma to get the file with key abc123可用工具
该服务器提供以下工具:
set_api_key:设置您的 Figma API 个人访问令牌(保存到配置)check_api_key:检查 API 密钥是否已配置get_file:通过 key 获取 Figma 文件get_file_nodes:从 Figma 文件中获取特定节点get_image:获取 Figma 文件中节点的图像get_image_fills:获取 Figma 文件中使用的图像的 URLget_comments:获取 Figma 文件的评论post_comment:在 Figma 文件上发表评论delete_comment:从 Figma 文件中删除评论get_team_projects:获取团队的项目get_project_files:获取项目文件get_team_components:获取团队的组件get_file_components:从文件中获取组件get_component:通过键获取组件get_team_component_sets:获取团队的组件集get_team_styles:获取团队风格get_file_styles:从文件中获取样式get_style:通过键获取样式
有关详细使用示例,请参阅USAGE.md 。
执照
麻省理工学院
Available Tools
18 toolscheck_api_keyA
Check if a Figma API key is already configured
Inputs: no named parameters.
delete_commentC
Delete a comment from a Figma file
Inputs: fileKey (required), comment_id (required).
get_commentsC
Get comments on a Figma file
Inputs: fileKey (required).
get_componentC
Get a component by key
Inputs: key (required).
get_fileC
Get a Figma file by key
Inputs: fileKey (required), version, depth, branch_data.
get_file_componentsC
Get components from a file
Inputs: fileKey (required).
get_file_nodesC
Get specific nodes from a Figma file
Inputs: fileKey (required), node_ids (required), depth, version.
get_file_stylesC
Get styles from a file
Inputs: fileKey (required).
get_imageC
Get images for nodes in a Figma file
Inputs: fileKey (required), ids (required), scale, format, +3 more.
get_image_fillsC
Get URLs for images used in a Figma file
Inputs: fileKey (required).
get_project_filesC
Get files for a project
Inputs: project_id (required), page_size, cursor, branch_data.
get_styleC
Get a style by key
Inputs: key (required).
get_team_componentsC
Get components for a team
Inputs: team_id (required), page_size, cursor.
get_team_component_setsC
Get component sets for a team
Inputs: team_id (required), page_size, cursor.
get_team_projectsC
Get projects for a team
Inputs: team_id (required), page_size, cursor.
get_team_stylesC
Get styles for a team
Inputs: team_id (required), page_size, cursor.
post_commentC
Post a comment on a Figma file
Inputs: fileKey (required), message (required), client_meta, comment_id.
set_api_keyA
Set your Figma API personal access token (will be saved to ~/.mcp-figma/config.json)
Inputs: api_key (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Most tools have distinct purposes targeting specific Figma resources like files, comments, components, styles, and images. However, get_file_nodes and get_image_fills could potentially overlap in purpose since both deal with retrieving node-related data, though their descriptions clarify different focuses (nodes vs. image fills).
All tool names follow a consistent verb_noun pattern using snake_case, with clear actions like get, post, delete, set, and check. This uniformity makes the toolset predictable and easy for an agent to navigate without confusion.
With 18 tools, the count is slightly high but reasonable for a Figma API server that needs to cover multiple resource types (files, comments, components, styles, images, projects, teams). It avoids being overwhelming while providing comprehensive functionality, though it could be trimmed slightly for tighter scoping.
The toolset offers complete coverage for core Figma operations, including CRUD for comments (get, post, delete), retrieval for files, components, styles, images, projects, and teams, and configuration for API keys. There are no obvious gaps, and agents can perform typical workflows without dead ends.
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
The Telnyx MCP server is an official implementation of the Model Context Protocol that enables AI clients (like Claude Desktop, Cursor, and OpenAI Agents) to interact with Telnyx's telephony, messaging, and AI assistant APIs. It provides comprehensive capabilities including making and managing phone calls, sending SMS/MMS messages, purchasing and configuring phone numbers, creating AI assistants with custom instructions, managing cloud storage buckets, scraping and embedding website content, and handling integration secrets. The server exists as both a local implementation and a remotely hosted version, allowing developers to integrate real-world communication infrastructure directly into AI applications.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI assistants to interact with Figma files through the ModelContextProtocol, allowing viewing, commenting, and analyzing Figma designs directly in chat interfaces.5215-
- FlicenseBqualityDmaintenanceA Model Context Protocol server that integrates with Figma's API, allowing interaction with Figma files, comments, components, projects, and webhook management.5-
- AlicenseNot gradedqualityDmaintenanceA 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.196 npm30MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server for interacting with the Figma API that handles large Figma files efficiently through memory-aware chunking and pagination capabilities.75MIT