Basic information
About Figma MCP Server
An mcp server that efificiently generates a node tree and related metadata for a figma node.
Figma MCP Server is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by moonray. Supported transport: stdio. Runtime: node. License: MIT. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: figma, mcp-figma, node-tree.
Setup
{
"mcpServers": {
"mcp-figma-moonray": {
"command": "node",
"args": [
"client-example.js",
"https://www.figma.com/file/FILE_ID/PROJECT_NAME?node-id=NODE_ID",
"2"
]
}
}
}
{
"mcpServers": {
"mcp-figma-moonray": {
"command": "node",
"args": [
"client-example.js",
"https://www.figma.com/file/FILE_ID/PROJECT_NAME?node-id=NODE_ID",
"2"
]
}
}
}
{
"servers": {
"mcp-figma-moonray": {
"command": "node",
"args": [
"client-example.js",
"https://www.figma.com/file/FILE_ID/PROJECT_NAME?node-id=NODE_ID",
"2"
]
}
}
}
Figma MCP Server (moonray/mcp-figma) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-figma-moonray": {
"command": "node",
"args": [
"client-example.js",
"https://www.figma.com/file/FILE_ID/PROJECT_NAME?node-id=NODE_ID",
"2"
]
}
}
}
Figma MCP Server (moonray/mcp-figma) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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
Frequently asked questions
1 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.
2 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.
3 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.
4 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.
5 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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In