Model Context Protocol Server Streamable HTTP/SSE/STDIO for figma
1.6K
This Model Context Protocol (MCP) server enables Large Language Models (LLMs) to interact with Figma through a standardized API. It allows AI assistants to perform common Figma operations without requiring direct API integration, making it easier to build AI-powered tools that work with your Figma designs.
The MCP server supports the following Figma operations:
get_file: Retrieve a specific Figma fileget_file_nodes: Get specific nodes from a Figma fileget_image_fills: Get images associated with image fills in a fileget_file_nodes_images: Get URLs for exported file/nodes imagesdocker run -d --name figma-mcp \
-p 8080:8080 \
-e figma.pat=your-figma-personal-access-token \
guang1/figma-mcp:latest
Create a configuration file (e.g., figma.config):
figma.pat=your-figma-personal-access-token
Then run:
docker run -d --name figma-mcp \
-p 8080:8080 \
--env-file figma.config \
guang1/figma-mcp:latest
services:
figma:
container_name: figma-mcp
image: guang1/figma-mcp
environment:
- figma.pat=your-figma-personal-access-token
ports:
- "8080:8080"
restart: always
services:
figma:
container_name: figma-mcp
image: guang1/figma-mcp
env_file:
- figma.config
ports:
- "8080:8080"
restart: always
http://localhost:8080/mcp/sse
http://localhost:8080/mcp
Must pass quarkus.mcp.server.stdio.enabled=true, quarkus.log.console.enable=false and quarkus.log.console.stderr=false environment variables with -i interactive option.
docker run --rm \
-e figma.pat=your-figma-personal-access-token \
-e quarkus.mcp.server.stdio.enabled=true \
-e quarkus.log.console.enable=false \
-e quarkus.log.console.stderr=false \
-i guang1/figma-mcp:latest
docker run --rm --env-file=figma.config \
-e quarkus.mcp.server.stdio.enabled=true \
-e quarkus.log.console.enable=false \
-e quarkus.log.console.stderr=false \
-i guang1/figma-mcp:latest
To use the Docker version with Claude Desktop, add this to your claude_desktop_config.json or server_config.json file:
{
"mcpServers": {
"figma": {
"command": "docker",
"args": [
"run",
"--rm",
"-e",
"figma.pat=your-figma-personal-access-token",
"-e",
"quarkus.mcp.server.stdio.enabled=true",
"-e",
"quarkus.log.console.enable=false",
"-e",
"quarkus.log.console.stderr=false",
"-i",
"guang1/figma-mcp:latest"
]
}
}
}
{
"mcpServers": {
"figma": {
"command": "docker",
"args": [
"run",
"--rm",
"--env-file=figma.conf",
"-e",
"quarkus.mcp.server.stdio.enabled=true",
"-e",
"quarkus.log.console.enable=false",
"-e",
"quarkus.log.console.stderr=false",
"-i",
"guang1/figma-mcp:latest"
]
}
}
}
| Variable | Description | Required |
|---|---|---|
figma.pat | Figma Personal Access Token | Yes |
To generate a Personal Access Token for Figma:
⚠️ Warning: This MCP server requires authentication credentials with access to your Figma account. Consider the following security practices:
This MCP server provides a standardized API that Large Language Models can use to interact with your Figma designs:
If you encounter issues:
Content type
Image
Digest
sha256:b50539eda…
Size
161 MB
Last updated
over 1 year ago
docker pull guang1/figma-mcp