figma-mcp
Figma MCP 파이썬
AI 코딩 에이전트가 Figma 파일 및 프로토타입에 직접 접근할 수 있도록 허용하세요. 문제나 개선 사항이 있으시면 DM으로 문의해 주세요: https://x.com/jasonzhou1993
pipx를 사용한 빠른 설치
지엑스피1
커서의 경우:
설정에서 다음 명령을 사용하여 MCP 서버를 추가합니다.
figma-mcp --figma-api-key=your_figma_key또는 프로젝트에
.cursor/mcp.json파일을 추가합니다.
{
"mcpServers": {
"figma-python": {
"command": "figma-mcp",
"args": [
"--figma-api-key=your_figma_key"
]
}
}
}Windsurf와 같은 다른 IDE의 경우 MCP 구성 파일(예: mcp_config.json )을 사용하세요.
{
"mcpServers": {
"figma-python": {
"command": "figma-mcp",
"args": [
"--figma-api-key=your_figma_key"
]
}
}
}Related MCP server: figma-developer-mcp
uv를 설치하고 환경을 설정하세요
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv
source .venv/bin/activate
uv sync로컬로 테스트
python -m figma_mcp.mainAvailable Tools
3 toolsget_componentsB
Get components available in a Figma file
Args:
file_key (str): The file key found in the shared Figma URL
Returns:
list[dict]: List of components found in the Figma file
Inputs: file_key (required).
get_nodeA
Get a specific node from a Figma file
Args:
file_key (str): The file key found in the shared Figma URL, e.g. if url is https://www.figma.com/proto/do4pJqHwNwH1nBrrscu6Ld/Untitled?page-id=0%3A1&node-id=0-3&viewport=361%2C361%2C0.08&t=9SVttILbgMlPWuL0-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=0%3A3, then the file key is do4pJqHwNwH1nBrrscu6Ld
node_id (str): The ID of the node to retrieve, has to be in format x:x, e.g. in url it will be like 0-3, but it should be 0:3
Returns:
dict: The node data if found, empty dict if not found
Inputs: node_id (required), file_key (required).
get_workflowB
Get workflows available in a Figma file
Args:
file_key (str): The file key found in the shared Figma URL, e.g. if url is https://www.figma.com/proto/do4pJqHwNwH1nBrrscu6Ld/Untitled?page-id=0%3A1&node-id=0-3&viewport=361%2C361%2C0.08&t=9SVttILbgMlPWuL0-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=0%3A3, then the file key is do4pJqHwNwH1nBrrscu6Ld
Returns:
list[dict]: List of workflow connections found in the Figma file
Inputs: file_key (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct Figma element: components, nodes, and workflows. There is no overlap in their purposes, making it easy for an agent to select the correct tool.
All tools follow a consistent 'get_' + singular noun pattern (get_components, get_node, get_workflow), which is predictable and easy to follow.
With 3 tools, the server is tightly scoped for retrieving key Figma file elements. This number is appropriate for a focused MCP server without being too sparse or excessive.
The tools cover retrieval of components, nodes, and workflows, which are important aspects of a Figma file. However, it lacks tools for pages or styles, which are common use cases, so minor gaps exist.
Related MCP Connectors
Connect AI coding agents to Anima Playground, Figma, and your design system.
The Figma MCP server brings Figma design context directly into your AI workflow.
Give AI coding agents access to your Vynix visual feedback, bug reports, and AI diagnosis.
Run accessibility, contrast, and design token audits and file QA issues from your AI coding tool.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI coding agents with access to Figma design data through the Figma API. Enables accurate one-shot implementation of designs in any framework by translating Figma files into simplified layout and styling information.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables coding agents like Cursor to access Figma design data, fetch layout and styling information, and implement designs in any framework.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to extract design systems, analyze components, and maintain design-code consistency from Figma files, providing intelligent component analysis and accessibility compliance.106 npm27MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI coding agents to access Figma files and prototypes, allowing them to retrieve design data and assets directly.MIT