Figma MCP
v1.0.1Figma MCP: list frames in a file and fetch one frame's JSON and image safely.
Values you need
| Variable | What it is | |
|---|---|---|
FIGMA_TOKEN | required secret | Figma personal access token with file_content:read |
FIGMA_API_BASE_URL | optional | Figma REST API base URL, default https://api.figma.com/v1 |
FIGMA_REQUEST_TIMEOUT_MS | optional | Per-request timeout in milliseconds, default 60000 |
FIGMA_MAX_JSON_BYTES | optional | Upper bound on a Figma JSON response in bytes, default 104857600 |
FIGMA_MAX_FRAME_BYTES | optional | Upper bound on a downloaded frame PNG in bytes, default 104857600 |
FIGMA_OUTPUT_ROOT | optional | Directory that all fetch_frame output directories must stay below, default ./figma-output |
FIGMA_ALLOW_HTTP_FOR_TESTS | optional | Test suite only: set to 1 to allow a plain-HTTP loopback API base. Never set it in normal use |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add figma-mcp -e 'FIGMA_TOKEN=<FIGMA_TOKEN>' -- npx -y --package=@scalably-io/figma-mcp@1.0.1 scalably-figma-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"figma-mcp": {
"args": [
"-y",
"--package=@scalably-io/figma-mcp@1.0.1",
"scalably-figma-mcp"
],
"command": "npx",
"env": {
"FIGMA_TOKEN": "<FIGMA_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"figma-mcp": {
"args": [
"-y",
"--package=@scalably-io/figma-mcp@1.0.1",
"scalably-figma-mcp"
],
"command": "npx",
"env": {
"FIGMA_TOKEN": "<FIGMA_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "FIGMA_TOKEN",
"id": "figma-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"figma-mcp": {
"args": [
"-y",
"--package=@scalably-io/figma-mcp@1.0.1",
"scalably-figma-mcp"
],
"command": "npx",
"env": {
"FIGMA_TOKEN": "${input:figma-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.figma-mcp]
command = "npx"
args = ["-y", "--package=@scalably-io/figma-mcp@1.0.1", "scalably-figma-mcp"]
env = { "FIGMA_TOKEN" = "<FIGMA_TOKEN>" }For AI agents
- Ask the user for: FIGMA_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_frames, fetch_frame.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json