Uses the Figma REST API to let AI assistants view, comment on and analyze Figma files.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add figma-matthewdailey --env FIGMA_API_KEY='<FIGMA_API_KEY>' -- npx figma-mcp~/.codex/config.toml
[mcp_servers.figma-matthewdailey]
command = "npx"
args = ["figma-mcp"]
env = { FIGMA_API_KEY = "<FIGMA_API_KEY>" }
# codex mcp add figma-matthewdailey --env FIGMA_API_KEY='<FIGMA_API_KEY>' -- npx figma-mcp~/.cursor/mcp.json
{
"mcpServers": {
"figma-matthewdailey": {
"command": "npx",
"args": [
"figma-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"figma-matthewdailey": {
"type": "stdio",
"command": "npx",
"args": [
"figma-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"figma-matthewdailey": {
"command": "npx",
"args": [
"figma-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"figma-matthewdailey": {
"command": "npx",
"args": [
"figma-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"figma-matthewdailey": {
"command": "npx",
"args": [
"figma-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}Environment variables
FIGMA_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.