The Figma desktop app as an MCP server. Gives AI agents the full Figma Plugin API on your open file: read, write, tokens, components, exports, undo. Runs locally with no cloud API, no token and no quota.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add localfig -- npx -y localfig~/.codex/config.toml
[mcp_servers.localfig]
command = "npx"
args = ["-y", "localfig"]
# codex mcp add localfig -- npx -y localfig~/.cursor/mcp.json
{
"mcpServers": {
"localfig": {
"command": "npx",
"args": [
"-y",
"localfig"
]
}
}
}.vscode/mcp.json
{
"servers": {
"localfig": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"localfig"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"localfig": {
"command": "npx",
"args": [
"-y",
"localfig"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"localfig": {
"command": "npx",
"args": [
"-y",
"localfig"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"localfig": {
"command": "npx",
"args": [
"-y",
"localfig"
]
}
}
}