figma-codekit-mcp
An MCP server that converts Figma frames into deterministic HTML/React code. It closes the design-to-code loop by rendering the generated code in Chromium, performing pixel-diff verification against the original design, and providing feedback on bounding-box IoU and paint order to ensure pixel-perfect convergence.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Convert Figma frames to deterministic HTML/React code
- Render generated code in Chromium for visual verification
- Perform pixel-diff analysis to measure layout accuracy
- Identify specific element mismatches like missing buttons or incorrect stacking
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@mehmoodqureshi/figma-mcp 0.2.1
{
"version": "0.2.1",
"transport": "stdio",
"identifier": "@mehmoodqureshi/figma-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "FIGMA_TOKEN",
"format": "string",
"isRequired": true,
"description": "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."
},
{
"name": "FIGMA_MCP_CACHE_DIR",
"format": "filepath",
"description": "Where converted frames are cached. Defaults to .figma-cache/ in the directory the server starts from."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"figma-codekit-mcp": {
"command": "npx",
"args": [
"-y",
"@mehmoodqureshi/figma-mcp@0.2.1"
],
"env": {
"FIGMA_TOKEN": "<YOUR_FIGMA_TOKEN>",
"FIGMA_MCP_CACHE_DIR": "<YOUR_FIGMA_MCP_CACHE_DIR>"
}
}
}
}Cline
{
"mcpServers": {
"figma-codekit-mcp": {
"command": "npx",
"args": [
"-y",
"@mehmoodqureshi/figma-mcp@0.2.1"
],
"env": {
"FIGMA_TOKEN": "<YOUR_FIGMA_TOKEN>",
"FIGMA_MCP_CACHE_DIR": "<YOUR_FIGMA_MCP_CACHE_DIR>"
}
}
}
}VS Code
{
"servers": {
"figma-codekit-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mehmoodqureshi/figma-mcp@0.2.1"
],
"env": {
"FIGMA_TOKEN": "<YOUR_FIGMA_TOKEN>",
"FIGMA_MCP_CACHE_DIR": "<YOUR_FIGMA_MCP_CACHE_DIR>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"figma-codekit-mcp": {
"command": "npx",
"args": [
"-y",
"@mehmoodqureshi/figma-mcp@0.2.1"
],
"env": {
"FIGMA_TOKEN": "<YOUR_FIGMA_TOKEN>",
"FIGMA_MCP_CACHE_DIR": "<YOUR_FIGMA_MCP_CACHE_DIR>"
}
}
}
}Let your agent find its tools
Find servers like figma-codekit-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.