Figma CodeKit MCP
CommunityMCP server by Mehmoodqureshi · updated · ★ 1
Figma to pixel-perfect code: deterministic HTML/React, then a render + pixel-diff verify loop. Figma CodeKit MCP is a community project by Mehmoodqureshi, not verified by a company domain.
Last commit 8 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
FIGMA_Environment variable, secret | Required | Figma personal access token (Settings -> Security -> Personal access tokens, scope "File content: read"). May instead be placed in a .figma-token file in the project directory. FIGMA_API_KEY is accepted as an alias. |
FIGMA_Environment variable | Optional | Where converted frames are cached. Defaults to .figma-cache/ in the directory the server starts from. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install Figma CodeKit MCP
Built from the published package, never by AIclaude mcp add figma-codekit-mcp -e FIGMA_TOKEN=YOUR_FIGMA_TOKEN -- npx -y figma-codekit-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"figma-codekit-mcp": {
"command": "npx",
"args": [
"-y",
"figma-codekit-mcp"
],
"env": {
"FIGMA_TOKEN": "YOUR_FIGMA_TOKEN"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"figma-codekit-mcp": {
"command": "npx",
"args": [
"-y",
"figma-codekit-mcp"
],
"env": {
"FIGMA_TOKEN": "YOUR_FIGMA_TOKEN"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"figma-codekit-mcp": {
"command": "npx",
"args": [
"-y",
"figma-codekit-mcp"
],
"env": {
"FIGMA_TOKEN": "YOUR_FIGMA_TOKEN"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add figma-codekit-mcp --env FIGMA_TOKEN=YOUR_FIGMA_TOKEN -- npx -y figma-codekit-mcp{
"mcpServers": {
"figma-codekit-mcp": {
"command": "npx",
"args": [
"-y",
"figma-codekit-mcp"
],
"env": {
"FIGMA_TOKEN": "YOUR_FIGMA_TOKEN"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add figma-codekit-mcp npx -y figma-codekit-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the figma-codekit-mcp block.
Weekly newsletter
Like Figma CodeKit MCP? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Alternatives to Figma CodeKit MCP
All alternatives →Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.
Structured visual plans and PR recaps with diagrams, prototypes, annotations, and sharing
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Make 3D games in Unity Engine with AI. MCP Server + Plugin for Unity Editor and Unity games.
Figma CodeKit MCP: common questions
How do I install Figma CodeKit MCP?
In Claude Code run claude mcp add figma-codekit-mcp -e FIGMA_TOKEN=YOUR_FIGMA_TOKEN -- npx -y figma-codekit-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Figma CodeKit MCP the official server?
Figma CodeKit MCP is a community project by Mehmoodqureshi, not verified by a company domain.
Is Figma CodeKit MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Figma CodeKit MCP safe to use?
It scores 39 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Figma CodeKit MCP?
Similar MCP servers: GitDiagram, draw.io, Pascal 3D Editor, Agent-Native Plan.
Does Figma CodeKit MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
