Requires the runtime declared in the upstream repo — check the README before running. VS Code (Copilot) uses a `servers` root key with an explicit `type` field — different from the `mcpServers` shape used by Claude Desktop and Cursor. Paste the config below, then follow the reload step to register io.github.felixAnhalt/figma-to-code-mcp.
.vscode/mcp.json (project root — committed with the repo)~/.vscode/mcp.json{
"servers": {
"Figma To Code MCP": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tmegit/figma-to-code-mcp",
"--figma-api-key=YOUR-KEY",
"--stdio"
]
}
}
}