Figma MCP Server
@moonray
关于 Figma MCP Server
An mcp server that efificiently generates a node tree and related metadata for a figma node.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-figma-moonray": {
"command": "node",
"args": [
"client-example.js",
"https://www.figma.com/file/FILE_ID/PROJECT_NAME?node-id=NODE_ID",
"2"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Figma MCP Server?
An MCP (Model Context Protocol) server for analyzing Figma file structures. It extracts node hierarchies from Figma files and can be used both as a REST API server and as an MCP server for LLM integration. It is intended for developers working with Figma design files and AI‑assisted workflows.
How to use Figma MCP Server?
Install the package globally via npm (npm install -g figma-mcp-server) or build from source. Configure your Figma API key in a .env file (variable FIGMA_API_KEY). Start the REST API with npm start or run the MCP CLI with figma-mcp-server --cli. Send analysis requests to the POST /analyze endpoint with a Figma URL and optional depth parameter.
Key features of Figma MCP Server
- Analyze Figma files to extract node hierarchies
- Supports both REST API and MCP protocol
- Configurable node tree depth
- Simple configuration via
.envfile - Docker support for containerized deployment
Use cases of Figma MCP Server
- Automating extraction of Figma component trees for design documentation
- Enabling an LLM to query and reason about Figma file structure
- Building design review tools that inspect node hierarchies
- Integrating Figma analysis into CI/CD pipelines for design‑system checks
FAQ from Figma MCP Server
What prerequisites are needed to run the server?
Node.js 16+ and npm or yarn are required. You also need a valid Figma API key.
How do I obtain a Figma API key?
You can generate an API key from your Figma account settings at https://www.figma.com/developers/api#access-tokens.
Can the server be used as a standalone REST API?
Yes. Run npm start to start an Express server on port 3000 (or a custom port set in .env). Use the POST /analyze endpoint to analyze files.
What does the depth parameter do in an analysis request?
It controls how many levels of the node tree are returned. If omitted, the server uses a default depth.
Is Docker deployment supported?
Yes. A Dockerfile is provided. Build the image with docker build -t figma-mcp-server . and run it with docker run -p 3000:3000 --env-file .env figma-mcp-server.
媒体与设计 分类下的更多 MCP 服务器
MCP Figma to React Converter
StudentOfJSMCP server for converting Figma designs to React components
Video Editor MCP server
burningionMCP Interface for Video Jungle
Weather API MCP Server
TuanKiriA lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data. Discuss on Hacker News:
Photoshop MCP Server
loonghaoA Model Context Protocol (MCP) server that interfaces with Adobe Photoshop's Python API. Enables LLMs to execute image editing operations, automate workflows, and manage Photoshop tasks through structured commands and context-aware interactions.

Spotify MCP
varunnealMCP to connect your LLM with Spotify.
评论