MCP server to extract Figma design information and convert it to mostly css for coding agents.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add figma-context-felixanhalt --env FIGMA_API_KEY='<FIGMA_API_KEY>' -- npx -y @tmegit/figma-developer-mcp~/.codex/config.toml
[mcp_servers.figma-context-felixanhalt]
command = "npx"
args = ["-y", "@tmegit/figma-developer-mcp"]
env = { FIGMA_API_KEY = "<FIGMA_API_KEY>" }
# codex mcp add figma-context-felixanhalt --env FIGMA_API_KEY='<FIGMA_API_KEY>' -- npx -y @tmegit/figma-developer-mcp~/.cursor/mcp.json
{
"mcpServers": {
"figma-context-felixanhalt": {
"command": "npx",
"args": [
"-y",
"@tmegit/figma-developer-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"figma-context-felixanhalt": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tmegit/figma-developer-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"figma-context-felixanhalt": {
"command": "npx",
"args": [
"-y",
"@tmegit/figma-developer-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"figma-context-felixanhalt": {
"command": "npx",
"args": [
"-y",
"@tmegit/figma-developer-mcp"
],
"env": {
"FIGMA_API_KEY": "<FIGMA_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"figma-context-felixanhalt": {
"command": "npx",
"args": [
"-y",
"@tmegit/figma-developer-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.