{"_id":"@tmegit/figma-to-code-mcp","_rev":"20-e33594295ba75dcc0c345458a2537980","name":"@tmegit/figma-to-code-mcp","dist-tags":{"latest":"0.30.0"},"versions":{"0.17.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.17.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.17.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"492e73ffd007e0827a32bd06587a7ecb3292b1db","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.17.0.tgz","fileCount":11,"integrity":"sha512-XG85TLm/zgzlBM3t0AHycqiJeRfXNeASgXTAsQs76Ug/clIHAaOqNyStqcPd8W9loSB2TqZZ2UKCo1gZ5bSbkQ==","signatures":[{"sig":"MEUCIQCwiQZdlnSdrm9wqhJZwYGCkAtfMdWL8TRqf52ma6QRqwIgPezl5Ek0WqBrKA/GzJrnBiv+gaK1HUjN2Fdy+LL30fs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42884},"main":"dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild","lefthook","sharp"]},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"c3e2d3b6aaeb984567303e03e7ee818377949293","mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","prepack":"pnpm build","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"fanhalt","email":"anhalt.felix@googlemail.com"},"repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.6.1","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.10.0","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.10.0","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.17.0_1775219198398_0.9106964429363265","host":"s3://npm-registry-packages-npm-production"}},"0.18.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.18.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.18.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"de0c122ce0f184a82a2e8185945ea3bf68bfa0bf","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.18.0.tgz","fileCount":11,"integrity":"sha512-plmrikVajkwcwBwJEsefygsz2lA4FfQWBjz9H9vPCdzTNxtJgy/PJ7/U5qx0w7zUqdcrZhVp5CmRFVPkhiQcAg==","signatures":[{"sig":"MEUCIQDx6itlLfY6h44jhbuDaZgbQg4UuJhYqLLn1GNjOovrJwIgAiUS8KKZSUe0L8cSbP/IF34TpXBAuTcQGCRc+QZ37sw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43076},"main":"dist/index.js","pnpm":{"onlyBuiltDependencies":["esbuild","lefthook","sharp"]},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"c22d3862e4f5845ee4e30e38b7a6872bc1b5ccc4","mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","prepack":"pnpm build","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"fanhalt","email":"anhalt.felix@googlemail.com"},"repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.6.1","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.10.0","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.10.0","devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.18.0_1775220326216_0.6721700427732165","host":"s3://npm-registry-packages-npm-production"}},"0.19.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.19.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.19.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"f2a468deebce822c0e363180927b5fab081fce4b","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.19.0.tgz","fileCount":11,"integrity":"sha512-LFyGNUG9z/ZLQyrBFvO2XrrSVomsrXbZL+UD52dyMhAXUcJA5Dvd0oK/zioohwompGlYa6/9u/5giHiC6cEfbg==","signatures":[{"sig":"MEYCIQCrShaRCaHK+Z2mz4TpmISE96JnRNiCD4VTRdbJtZ8pYwIhAP6NOeJbUq4d2U+E5p9G83b0iyzx5jVZv4rXdVdz3wZk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.19.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":43199},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.19.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/abcc40d730d5835848794d374ec5131c/tmegit-figma-to-code-mcp-0.19.0.tgz","_integrity":"sha512-LFyGNUG9z/ZLQyrBFvO2XrrSVomsrXbZL+UD52dyMhAXUcJA5Dvd0oK/zioohwompGlYa6/9u/5giHiC6cEfbg==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"^1.27.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.19.0_1775221010572_0.7457846215234101","host":"s3://npm-registry-packages-npm-production"}},"0.20.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.20.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.20.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"447e2abc6d2f79d2b37f430a5c78ac85073869cf","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.20.0.tgz","fileCount":11,"integrity":"sha512-5t7GvKCVLag0Xx9sFeA+2iFkb6gP3tprOOlH2lMk14hVNjT/xb6JypbxdbDtgHZE02PtUdqsPkg3BmefL6BMaw==","signatures":[{"sig":"MEUCIBQz3vWE6uoBsd+U6Bd8UGNSpwb5Xaw+VHy6UTKs8X11AiEA7xRHuwMHSRPQX/JqWIhJZ3sNYjWvYu5jaJepocJNJwI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.20.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":53335},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.20.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/3cc49db64c08d0527508cbfab1244810/tmegit-figma-to-code-mcp-0.20.0.tgz","_integrity":"sha512-5t7GvKCVLag0Xx9sFeA+2iFkb6gP3tprOOlH2lMk14hVNjT/xb6JypbxdbDtgHZE02PtUdqsPkg3BmefL6BMaw==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.20.0_1775254329992_0.34236038342428476","host":"s3://npm-registry-packages-npm-production"}},"0.20.1":{"name":"@tmegit/figma-to-code-mcp","version":"0.20.1","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.20.1","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"e4e2ed7954b7aa7163baff18a1af1c3f07a5d2e5","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.20.1.tgz","fileCount":11,"integrity":"sha512-TSYLHVTV+vjaeAkYXUrj1dsVpouhS0MCLPhz/5/8GaVJqexqiw0iRjwRLeDSxVfNl0SD1zisiROFlzSAfADyVg==","signatures":[{"sig":"MEUCIAJmNtW6SsJg9kCNuewdXVzraFfFv+0X8jEw2Qmq2OLpAiEA7vjqcV9uEQ00wKMt6y4AljU5GwVcqFg/inlQ1qDZhkY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.20.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":53464},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.20.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/76eba53da63ab0afded2b9a69eec5147/tmegit-figma-to-code-mcp-0.20.1.tgz","_integrity":"sha512-TSYLHVTV+vjaeAkYXUrj1dsVpouhS0MCLPhz/5/8GaVJqexqiw0iRjwRLeDSxVfNl0SD1zisiROFlzSAfADyVg==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.20.1_1775258451491_0.6119010919245755","host":"s3://npm-registry-packages-npm-production"}},"0.21.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.21.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.21.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"61a6b6e9a15d4f84fb1607a0c43d2cd4b6350f3e","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.21.0.tgz","fileCount":11,"integrity":"sha512-OXqya49MEit5RRIYv0h5vWnCnZd5b30m86wvdEjQ0AVCYSV6u8J2Va+hBednOvtrB9U7PeQYzzb1SgKf8vg+yQ==","signatures":[{"sig":"MEYCIQDL1hOk5G9f3Z3tc2nSgZPCZTXgjBwm2Q9Zz8c+JI+d2AIhAO7idgGwwU5q3wX5vGK7PZfBDEWwKj3+i29ri0sLgcbE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.21.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":56754},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.21.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/1faef1f8fceb853d878895f53d591757/tmegit-figma-to-code-mcp-0.21.0.tgz","_integrity":"sha512-OXqya49MEit5RRIYv0h5vWnCnZd5b30m86wvdEjQ0AVCYSV6u8J2Va+hBednOvtrB9U7PeQYzzb1SgKf8vg+yQ==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.21.0_1775259516185_0.7030491498996208","host":"s3://npm-registry-packages-npm-production"}},"0.22.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.22.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.22.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"3428e0d945c877d4e56f3f660d3f7726d19a3926","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.22.0.tgz","fileCount":11,"integrity":"sha512-W3Uxk3GMn0MOs7m3+CrHhyZKbBwA0fG2uG8jPXO+iwYVqACKJzkFM+Lj4N2LvuDUNFREfsbmYlFzdDA1aIBSgA==","signatures":[{"sig":"MEUCIQC0oM2ndIxa0QN63gyAtIHgGS0zeedMm2ZrE7rxwo3qhQIga7fJfukUUrTIE94dZmVj83y1WY7dE9xQifrXnk+Va3A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.22.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60807},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.22.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/005b770a571daf6ab7923b1b96269180/tmegit-figma-to-code-mcp-0.22.0.tgz","_integrity":"sha512-W3Uxk3GMn0MOs7m3+CrHhyZKbBwA0fG2uG8jPXO+iwYVqACKJzkFM+Lj4N2LvuDUNFREfsbmYlFzdDA1aIBSgA==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.22.0_1775311219896_0.22656158242490831","host":"s3://npm-registry-packages-npm-production"}},"0.23.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.23.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.23.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"0c2e80efd4d2244c6029c1a9e00ce26ca28c8618","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.23.0.tgz","fileCount":11,"integrity":"sha512-QgKkJdNhWdBaZLwWhY36tWofmOkW0Dho1s+uUBMa2gPvF6HtzQ7I40juxYH0oNTS9B3qajWvXJcxhCTLqe7NrQ==","signatures":[{"sig":"MEYCIQDEZUrH7VMsnWttR6Eh7Wts4GeZz28+f5BV+S6ZWZoYRQIhAN6vcDoKVEsxzNTvKa7JmyjJixr9rW3ZQCA54bGZ4VH6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.23.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60310},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.23.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/439dc4a592f0feee09029dd85962cb7a/tmegit-figma-to-code-mcp-0.23.0.tgz","_integrity":"sha512-QgKkJdNhWdBaZLwWhY36tWofmOkW0Dho1s+uUBMa2gPvF6HtzQ7I40juxYH0oNTS9B3qajWvXJcxhCTLqe7NrQ==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.23.0_1775407015905_0.12825032408581438","host":"s3://npm-registry-packages-npm-production"}},"0.24.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.24.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.24.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"9ac303002942dd95cf60c18355e69d77b9eda8f5","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.24.0.tgz","fileCount":11,"integrity":"sha512-BGDTM2iSiArBmrPU3sCijrdN2Xsl35hGpoK4waklq1uxLK1ycaQgfYyb/kjvs0/uqfnHs4I7stCBKaJwcjoKwA==","signatures":[{"sig":"MEQCIG9t/CzxUOeNGeiyi10wuNQZJ4LmZPHnrvsbeP6wkawkAiAYYXp5pR2K8Nu+D9l21LvOJFSIw832GJvbrdlHmynLnA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.24.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":68987},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.24.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/ca58dfa45bdaec26e07b796b02f55fcb/tmegit-figma-to-code-mcp-0.24.0.tgz","_integrity":"sha512-BGDTM2iSiArBmrPU3sCijrdN2Xsl35hGpoK4waklq1uxLK1ycaQgfYyb/kjvs0/uqfnHs4I7stCBKaJwcjoKwA==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.24.0_1775417712160_0.6415183924008732","host":"s3://npm-registry-packages-npm-production"}},"0.24.1":{"name":"@tmegit/figma-to-code-mcp","version":"0.24.1","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.24.1","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"bd00a144b9b89b39dc7d77e2b4280613aa3155ed","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.24.1.tgz","fileCount":13,"integrity":"sha512-Q2UqrQqdxyTaw/R/vvbq2bDr1AsHYoY1RFY+dzP6qo9Z3tCCLPlcS+BGKVS+8wHWH1X7bmH79F23200Sad2Hmw==","signatures":[{"sig":"MEUCICqwbgwtAuCQr7P5JV+u+mLONStsG3/cl5ZUHRuK6cHiAiEAnj4ythpo6swPOvrNuXW3nH/6gHBWpRxw3o+2pRcGx8w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.24.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":69932},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.24.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/6c56bd20ed830c0d80574726f0b9f74e/tmegit-figma-to-code-mcp-0.24.1.tgz","_integrity":"sha512-Q2UqrQqdxyTaw/R/vvbq2bDr1AsHYoY1RFY+dzP6qo9Z3tCCLPlcS+BGKVS+8wHWH1X7bmH79F23200Sad2Hmw==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.24.1_1775498833241_0.33181663452650034","host":"s3://npm-registry-packages-npm-production"}},"0.24.2":{"name":"@tmegit/figma-to-code-mcp","version":"0.24.2","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.24.2","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"7d2555759e9ca35049202e63a26df9cfbcf69239","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.24.2.tgz","fileCount":13,"integrity":"sha512-MbTsFN+m/mu17FqjhiDceNPUa8YFXou0a4+5sengpf/odlorfJkFZAfw8sLLQXlleN6vZdhjSFCYvToWzl+F8w==","signatures":[{"sig":"MEUCIQDqC5lW2nmpY3YRZstlM92FRsCX64eGJylWRD3+PDxKAAIgX1O2TE6LCW7SrTDY64Qf9NclP0Ffds4DFaFS/LL5QkI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.24.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":69598},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.24.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/17a6259e6847d21979d71828d8140740/tmegit-figma-to-code-mcp-0.24.2.tgz","_integrity":"sha512-MbTsFN+m/mu17FqjhiDceNPUa8YFXou0a4+5sengpf/odlorfJkFZAfw8sLLQXlleN6vZdhjSFCYvToWzl+F8w==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.24.2_1775501020156_0.471162309969692","host":"s3://npm-registry-packages-npm-production"}},"0.25.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.25.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.25.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"a3d825402a25306d04d1ea1c8bc0c173864d0de2","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.25.0.tgz","fileCount":13,"integrity":"sha512-TC7ORLejZBf1bc8lJl9ZYrLXKKrX/ZSH6Q49ZunGVGQEd4XwZe/h9NQBXorjzl8gj5rCVkPFPpc01GZOC2iulA==","signatures":[{"sig":"MEUCIAYNzMeB4M1zQUHcyYuRgXI5L61vL5Dd0gVBxNEKlZTdAiEA7bA9GRsJypkJo/Z2KxkFWaY7dB78YuIAcsowf91mQd4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.25.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70858},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.25.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/131f1eeb11c6a2fab202d89945690019/tmegit-figma-to-code-mcp-0.25.0.tgz","_integrity":"sha512-TC7ORLejZBf1bc8lJl9ZYrLXKKrX/ZSH6Q49ZunGVGQEd4XwZe/h9NQBXorjzl8gj5rCVkPFPpc01GZOC2iulA==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.25.0_1775682063667_0.4892927165532788","host":"s3://npm-registry-packages-npm-production"}},"0.26.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.26.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.26.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"9d314a20ea3abe3bbc21fc55466faedb633b9152","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.26.0.tgz","fileCount":13,"integrity":"sha512-IIaJTGxMFFYh2hvfat9xPAr66nlfVVZaocOpJ1JP6ZxQ8looD2ihH1LAtI5/TsXAlxJOi6A+0zqLqXUUC7WF8A==","signatures":[{"sig":"MEUCIEg3rjhA9Uate6QPOTYTuq6SIaIw9380/NjjcR5Ig1bWAiEAu9i7L9mXLhQyc6UbMAgnHY9wWJPy6hgW6eCOgyKRGpM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.26.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":70432},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.26.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/12e5eb85b4dc3f1fb34f51b6796d5763/tmegit-figma-to-code-mcp-0.26.0.tgz","_integrity":"sha512-IIaJTGxMFFYh2hvfat9xPAr66nlfVVZaocOpJ1JP6ZxQ8looD2ihH1LAtI5/TsXAlxJOi6A+0zqLqXUUC7WF8A==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.26.0_1776638798672_0.4143318263765554","host":"s3://npm-registry-packages-npm-production"}},"0.27.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.27.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.27.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"b511debba3061f925615112862924687cc58bfd1","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.27.0.tgz","fileCount":13,"integrity":"sha512-Km9/xDH3SjFyt5/iKnyukvYsjmwdvZYJWYN/rR5sa/udC4UWbtfmrvFrYF9W1wtdVuK9/hk+gTFA3ZeGInEP4Q==","signatures":[{"sig":"MEYCIQDzwOnD6Xou9kamKhGJgK/gs660zBQKY7X2O+nPc5VLfwIhAN2oG7HBR3U72rQqgJWOxUD7L4r1RTaVR9hi3SEwKvkx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.27.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":71878},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.27.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/63441214e1da49586eb1013bdbe41922/tmegit-figma-to-code-mcp-0.27.0.tgz","_integrity":"sha512-Km9/xDH3SjFyt5/iKnyukvYsjmwdvZYJWYN/rR5sa/udC4UWbtfmrvFrYF9W1wtdVuK9/hk+gTFA3ZeGInEP4Q==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.27.0_1776640665438_0.5787890254808743","host":"s3://npm-registry-packages-npm-production"}},"0.28.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.28.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.28.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"dd53b563efa0c957b6bd8ced92f870e8be2bce44","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.28.0.tgz","fileCount":13,"integrity":"sha512-qvwlsCHlXanAq0lmaqPatWrL3orxIbVSaQo2Y76D6MO2xc0OFn7CT1N1/PZp6o+QIKLq3KfDg2+EnLeerE+xfQ==","signatures":[{"sig":"MEUCIDrdIorTT84ldwC6TvXHxQjXkh87HPXGOxZV/Ns4cQyUAiEA/d4ho1xlpTMYyT2u0miI9irZrcmEEx2mIWoTDItnsdo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.28.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76086},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.28.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/c2198bd01d50700a171b75931bfd912a/tmegit-figma-to-code-mcp-0.28.0.tgz","_integrity":"sha512-qvwlsCHlXanAq0lmaqPatWrL3orxIbVSaQo2Y76D6MO2xc0OFn7CT1N1/PZp6o+QIKLq3KfDg2+EnLeerE+xfQ==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.28.0_1777503016718_0.401193882194643","host":"s3://npm-registry-packages-npm-production"}},"0.28.1":{"name":"@tmegit/figma-to-code-mcp","version":"0.28.1","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.28.1","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"dd4f15184076a76649bdb2d797725a0465f95c2d","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.28.1.tgz","fileCount":13,"integrity":"sha512-K3UyfoNvi34MMOKW6kyBvix9W+HmaNlWMPuVOUnkOioATgPM5iATq2PCF5Qfkrj0KER5ovIICe3Y8tMrGp51+w==","signatures":[{"sig":"MEUCIQDGl9ZUKOIAqEqosPLH6NA4X2E2oomyYH5C7QfTim/jQQIgOsJRyyWegC14hrZhqWYCi8yVTyRcQVEtnYwApzNjlZM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.28.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":86268},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.28.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/d731d5acc714ca619b62c0f425005b3c/tmegit-figma-to-code-mcp-0.28.1.tgz","_integrity":"sha512-K3UyfoNvi34MMOKW6kyBvix9W+HmaNlWMPuVOUnkOioATgPM5iATq2PCF5Qfkrj0KER5ovIICe3Y8tMrGp51+w==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.28.1_1777564093498_0.3528434939146621","host":"s3://npm-registry-packages-npm-production"}},"0.28.2":{"name":"@tmegit/figma-to-code-mcp","version":"0.28.2","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.28.2","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"3b244ecb4b3c7cf2a2e54e9caa577083e22a144d","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.28.2.tgz","fileCount":13,"integrity":"sha512-owwzbCw11LVT/xDCYHQSbaHaQbJQYsfG/cc80ohS3v94Fw/yY9Y06IJGA5FrOvR7+mBhQ43cU+It0fTpp4JKQw==","signatures":[{"sig":"MEUCIQDXO0WZg7u4XEMptj1mKK5oqZxdR24QQ7yYvNPjZqripgIgK7bkkL5wh6uUprkm/mfm6jwh55UvAPesEFXt/5LWRFo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.28.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":86322},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.28.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/fe29ade94558d20a71d163e03ef070a0/tmegit-figma-to-code-mcp-0.28.2.tgz","_integrity":"sha512-owwzbCw11LVT/xDCYHQSbaHaQbJQYsfG/cc80ohS3v94Fw/yY9Y06IJGA5FrOvR7+mBhQ43cU+It0fTpp4JKQw==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.11.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.28.2_1778323286519_0.3833075455705286","host":"s3://npm-registry-packages-npm-production"}},"0.29.0":{"name":"@tmegit/figma-to-code-mcp","version":"0.29.0","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.29.0","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"071674951da7328203152dbd0e384383b6557600","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.29.0.tgz","fileCount":13,"integrity":"sha512-ZRlBhDVEPv75d4ztBTvOzU3mDGqdWWuTjhEnJHekPnnDzLMKq64nyE0YlWkHjeKN+5Lf8UvLMVaG0p6itOhjrg==","signatures":[{"sig":"MEQCIGaSLy6bUTK96/ZEVsXWAfLf7TQF3dfUlhtnNj5iqZELAiATzW5y7lIpfUqAZg0/dIqLtasozICwOaeO1VFiEg6W5g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.29.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":86880},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.29.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/ffe24b5f6f01952c552ab11f4b8ae0d4/tmegit-figma-to-code-mcp-0.29.0.tgz","_integrity":"sha512-ZRlBhDVEPv75d4ztBTvOzU3mDGqdWWuTjhEnJHekPnnDzLMKq64nyE0YlWkHjeKN+5Lf8UvLMVaG0p6itOhjrg==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.16.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","cross-env":"^7.0.3","@types/yargs":"^17.0.33","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.29.0_1784809111291_0.4243109735290653","host":"s3://npm-registry-packages-npm-production"}},"0.29.1":{"name":"@tmegit/figma-to-code-mcp","version":"0.29.1","keywords":["figma","mcp","typescript"],"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","_id":"@tmegit/figma-to-code-mcp@0.29.1","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"dist":{"shasum":"be5e1a6e53957e155ab6b8d39f05c2deea87ae2a","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.29.1.tgz","fileCount":13,"integrity":"sha512-mSJAQntlgiclZNjUNgyucY0PGYU9gHMKiebPHEhw7FKK+lZ2g385BOowf4gCn2wLLgMONEgUX8poCIxYhvgdFg==","signatures":[{"sig":"MEQCIH7VwhZHfJTdm/K0L22swLpYv80MYC3bp3lT91YPptDzAiAfTWcA/YfpoIJB1325CbYKS4Ot5DY6+WQygxp0gPRETQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC13KrDc7k4CU5PKU67sew4PYgw9ozolgOGWIwLSGvJLgIgMiHt0umEsRYiTf5r+fVB8k2j+Lt6zBNTijOqVRxbWyk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.29.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":122721},"main":"dist/index.js","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.29.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"a8b53b4b-0727-40bb-895a-64b04db6221c"}},"_resolved":"/tmp/75709a3a63806a6733c04559697f4dd3/tmegit-figma-to-code-mcp-0.29.1.tgz","_integrity":"sha512-mSJAQntlgiclZNjUNgyucY0PGYU9gHMKiebPHEhw7FKK+lZ2g385BOowf4gCn2wLLgMONEgUX8poCIxYhvgdFg==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.19.0","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","svgpath":"2.6.0","cross-env":"^7.0.3","@types/yargs":"^17.0.33","svg-path-bbox":"2.1.0","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"tmp":"tmp/figma-to-code-mcp_0.29.1_1793022624176_0.6587245997123676","host":"s3://npm-registry-packages-npm-production"}},"0.30.0":{"_id":"@tmegit/figma-to-code-mcp@0.30.0","bin":{"tmegit-figma-to-code-mcp":"dist/bin.js"},"bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"dist":{"shasum":"f8363759ecf9bba2989d4c2e13ef87fcd3ad2a3c","tarball":"https://registry.npmjs.org/@tmegit/figma-to-code-mcp/-/figma-to-code-mcp-0.30.0.tgz","fileCount":13,"integrity":"sha512-w6iDd5jc8Eu1pvQzDXriVZGFZ5yLiSyAiKz3SttGnmFtiMQbLqzfL6w+w8DIQ8F4pqoWW24z1hJ97MtpziR0QQ==","signatures":[{"sig":"MEQCIAsuAQo8+edJh31fWDbmZIiYuTtAhiny9HF/kuCG4rooAiARMOHY7yyDoiulzCz4nyLmsmerBspqGPkOqaSIbYtrig==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDFBy7gu00kVZ3wpwCjy0nkC5KwsTP/eL4RZ7YOYwgzmAiEAtpdC5nYl74p79oNr6ifwv1Otb83xVZUMd4i9hi2SdOM="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@tmegit%2ffigma-to-code-mcp@0.30.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":126187},"main":"dist/index.js","name":"@tmegit/figma-to-code-mcp","type":"module","_from":"file:tmegit-figma-to-code-mcp-0.30.0.tgz","types":"./dist/index.d.ts","author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"engines":{"node":">=18.0.0"},"license":"MIT","mcpName":"io.github.felixAnhalt/figma-to-code-mcp","scripts":{"dev":"cross-env NODE_ENV=development tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup --dts","start":"node dist/bin.js","format":"prettier --write \"src/**/*.ts\"","dev:cli":"cross-env NODE_ENV=development tsup --watch -- --stdio","inspect":"pnpx @modelcontextprotocol/inspector","start:cli":"cross-env NODE_ENV=cli node dist/bin.js","start:http":"node dist/bin.js","type-check":"tsc --noEmit"},"version":"0.30.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"a8b53b4b-0727-40bb-895a-64b04db6221c"}},"homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","keywords":["figma","mcp","typescript"],"_resolved":"/tmp/5e60fda5f9d25d18eff27e180fc9cf49/tmegit-figma-to-code-mcp-0.30.0.tgz","_integrity":"sha512-w6iDd5jc8Eu1pvQzDXriVZGFZ5yLiSyAiKz3SttGnmFtiMQbLqzfL6w+w8DIQ8F4pqoWW24z1hJ97MtpziR0QQ==","repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"_npmVersion":"11.19.1","description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","directories":{},"maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"_nodeVersion":"24.22.1","dependencies":{"zod":"^3.25.76","sharp":"^0.34.3","yargs":"^17.7.2","dotenv":"^16.4.7","remeda":"^2.20.1","express":"^4.21.2","js-yaml":"^4.1.1","svgpath":"2.6.0","cross-env":"^7.0.3","@types/yargs":"^17.0.33","svg-path-bbox":"2.1.0","@figma/rest-api-spec":"^0.33.0","@modelcontextprotocol/sdk":"1.29.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.21.0","tsup":"^8.5.1","eslint":"^9.39.3","vitest":"^4.0.18","globals":"^17.3.0","lefthook":"^2.0.15","prettier":"^3.5.0","@eslint/js":"^9.33.0","typescript":"^5.7.3","@types/node":"^25.3.3","@types/express":"^5.0.0","@types/js-yaml":"^4.0.9","eslint-config-prettier":"^10.0.1","@typescript-eslint/parser":"^8.56.1","@typescript-eslint/eslint-plugin":"^8.56.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/figma-to-code-mcp_0.30.0_1793271113853_0.3013908829854649"}}},"time":{"created":"2026-04-03T12:26:38.214Z","modified":"2026-10-29T10:51:54.327Z","0.17.0":"2026-04-03T12:26:38.554Z","0.18.0":"2026-04-03T12:45:26.358Z","0.19.0":"2026-04-03T12:56:50.709Z","0.20.0":"2026-04-03T22:12:10.159Z","0.20.1":"2026-04-03T23:20:51.643Z","0.21.0":"2026-04-03T23:38:36.420Z","0.22.0":"2026-04-04T14:00:20.035Z","0.23.0":"2026-04-05T16:36:56.040Z","0.24.0":"2026-04-05T19:35:12.313Z","0.24.1":"2026-04-06T18:07:13.385Z","0.24.2":"2026-04-06T18:43:40.298Z","0.25.0":"2026-04-08T21:01:03.812Z","0.26.0":"2026-04-19T22:46:38.800Z","0.27.0":"2026-04-19T23:17:45.582Z","0.28.0":"2026-04-29T22:50:16.873Z","0.28.1":"2026-04-30T15:48:13.626Z","0.28.2":"2026-05-09T10:41:26.666Z","0.29.0":"2026-07-23T12:18:31.430Z","0.29.1":"2026-10-26T13:50:24.262Z","0.30.0":"2026-10-29T10:51:53.958Z"},"bugs":{"url":"https://github.com/felixAnhalt/figma-to-code-mcp/issues"},"author":{"name":"Felix Anhalt","email":"felix@anhalt.dev"},"license":"MIT","homepage":"https://github.com/felixAnhalt/figma-to-code-mcp#readme","keywords":["figma","mcp","typescript"],"repository":{"url":"git+https://github.com/felixAnhalt/figma-to-code-mcp.git","type":"git"},"description":"Transform Figma files into a compact, LLM-friendly format for UI code generation.","maintainers":[{"name":"fanhalt","email":"anhalt.felix@googlemail.com"}],"readme":"<div align=\"center\">\n  <h1>Figma To Code MCP</h1>\n  <h3>Transform Figma design data into a compact, LLM-friendly format for code generation and UI building.</h3>\n  <a href=\"https://npmcharts.com/compare/tmegit-figma-to-code-mcp?interval=30\">\n    <img alt=\"weekly downloads\" src=\"https://img.shields.io/npm/dm/tmegit-figma-to-code-mcp.svg\">\n  </a>\n  <a href=\"https://github.com/felixAnhalt/figma-to-code-mcp/blob/main/LICENSE\">\n    <img alt=\"MIT License\" src=\"https://img.shields.io/github/license/felixAnhalt/figma-to-code-mcp\" />\n  </a>\n  <br />\n</div>\n\n<br/>\n\n## Why This Project?\n\nFigma To Code MCP specializes in **extracting only the information LLMs need to build UIs** while removing Figma-specific metadata that isn't relevant for code generation. The result:\n\n- ✅ **99.5% size reduction** on real Figma files (65 MB → 128 KB)\n- ✅ **Compact, CSS-mappable fields** (`style.background`, `layout.direction`, `style.fontSize`)\n- ✅ **Complete UI-building data** preserved (layout, styling, text, components)\n- ✅ **Node-local layout and styles** with reusable values in a shared token registry\n- ✅ **Omits Figma internals** - no bounding boxes or constraint metadata\n- ✅ **Variable resolution** - resolves Figma variables to actual values\n- ✅ **SVG support** - exports vector graphics to disk\n- ✅ **Pattern collapsing** - deduplicates repeating UI patterns\n\n---\n\nGive [Cursor](https://cursor.sh/) and other AI-powered coding tools access to your Figma files with this [Model Context Protocol](https://modelcontextprotocol.io/introduction) server.\n\n## Available Tools\n\n| Tool                 | Description                                                                          |\n| -------------------- | ------------------------------------------------------------------------------------ |\n| `get_figma_design`   | Fetches CSS-aligned, LLM-optimized design data. Exports SVG assets and a PNG render. |\n| `get_image_fills`    | Retrieves image fill URLs from a Figma file                                          |\n| `render_node_images` | Renders Figma nodes as PNG images                                                    |\n\n`get_figma_design` exports SVG assets automatically. Its response contains `svgAssetsFolder` and relative `svgPathInAssetFolder` filenames; combine them to locate each file. Use `svgOutputDir` to export directly to a chosen assets directory. It also renders the requested node as a 1x PNG: its response contains `renderedDesignNodeAssetsFolder` and the file name `renderedDesignNodePathInAssetFolder`, which you can use to compare the built result with the design. There is no separate registered `read_vector_svg` tool.\n\nBy default `get_figma_design` returns the components the design uses in `componentSets`, each with `propKeys` and `propValues` (the values each prop takes across the set's members). Every set is written to its own file in `componentSetsFolder`, as YAML or JSON to match the output format, and `componentSets` lists each set's `file`, `propKeys` and `propValues`. A set larger than 228 KB becomes a folder named after the set: its `file` is `<set>/index.yaml` (`index.json` in JSON output), which lists the variants, and each variant is its own `<nodeId>.yaml` beside it, with `:` replaced by `-` (for example `7-770.yaml`). These examples assume the default YAML output; with JSON output every file ends in `.json`. A `COMPONENT_SET` root gets the same treatment: when its variants exceed 228 KB, its `children` move out, `root.file` points at `<name>/index.yaml`, and each variant is a `<variant name>.yaml` beside it, since root variants carry no node id. Every `file` value is relative to `componentSetsFolder`, so a variant's file is `<set>/<nodeId>.yaml`, not relative to its set folder. A large `SECTION` root keeps each frame as a stub in `root.children`, and each frame's design is in its file in `framesFolder` (see [Resolving frame files](#resolving-frame-files)). For building components from a component library, pass `includeComponentVariants: true` to also get every other variant of those components (all sizes, colors, and states), with their props and any visuals that can be fetched. That fetches more from Figma and returns a larger response.\n\nWith `--skip-image-downloads`, only `get_figma_design` is registered; SVG export remains available, and no node PNG is rendered.\n\n## Required Scopes\n\nCreate a Figma personal access token with these scopes:\n\n| Scope                  | Purpose                                                         |\n| ---------------------- | --------------------------------------------------------------- |\n| `file_content:read`    | Read file nodes, layout, styles                                 |\n| `library_content:read` | Read published components/styles                                |\n| `library_assets:read`  | Resolve referenced components to their published library source |\n| `file_variables:read`  | Read variables (Enterprise only, optional)                      |\n| `file_comments:read`   | Read comments attached to nodes (optional)                      |\n\n> **Note:** Variable resolution requires Enterprise plan. Set `resolveVariables: false` if not on Enterprise.\n\nIf comment access is unavailable, extraction continues without comments and logs a warning.\n\n## How it works\n\n1. Open your IDE's chat (e.g. agent mode in Cursor).\n2. Paste a link to a Figma file, frame, or group.\n3. Ask Cursor to implement the design.\n4. Cursor fetches **CSS-aligned, LLM-optimized** design data and generates accurate code.\n\nAgents that build a page from a design should follow [For LLMs](#for-llms).\n\nThis MCP server transforms [Figma API](https://www.figma.com/developers/api) data into an LLM-friendly format:\n\n- **Compact layout/style fields** (`layout.direction`, `style.background`, `style.fontSize`) instead of verbose Figma internals\n- **Node-local styles** with every distinct design value referenced from the `tokens` registry\n- **Flexbox primitives** for auto-layout, with parent-local positioning for overlays and freeform graphics\n- **Complete UI data** (colors, typography, spacing, effects)\n- **99.5% size reduction** while preserving all UI-critical information\n\nThe current response uses schema `v3`. [`V3_CSS_PROPERTY_MAPPING.md`](V3_CSS_PROPERTY_MAPPING.md) describes the older v2 mapping, not the current response contract.\n\n### Interpreting visual details in v3\n\nThe response includes optional fields for details that cannot be represented by one text style or a simple flex layout:\n\n| Field                                 | Meaning                                                                                                                                              |\n| ------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `textRuns`                            | Ordered text ranges with scalar style overrides, emitted only when character styling differs                                                         |\n| `layout.position`                     | `relative` for a containing block, or `absolute` for a non-flow child                                                                                |\n| `layout.left`, `layout.top`           | Pixel offsets in the immediate parent's coordinate system, including zero and negative offsets                                                       |\n| `style.borderWidths`                  | Explicit top/right/bottom/left widths for asymmetric borders, including zero-width edges                                                             |\n| `gradientHandlePositions`             | Three normalized node-local handles preserving a gradient's direction and geometry                                                                   |\n| `svgViewport`                         | Exported SVG viewBox in node-local pixels, including ink outside the node's original canvas. `x` or `y` is omitted when 0, and a missing one means 0 |\n| `renderedDesignNodePathInAssetFolder` | File name of a 1x PNG of the requested node, in `renderedDesignNodeAssetsFolder`, for comparing the build with the design                            |\n\nThe existing full `text` field and node-level style remain present. When `textRuns` exists, render its runs in order rather than rendering `text` a second time. Resolve the node's base typography token first, then apply each run's scalar overrides. Run text concatenates to the original full text; plain runs inherit the base style. Explicit `normal`, `none`, and zero values reset inherited styling.\n\nFor positioned children, keep the emitted containing block, local dimensions, and offsets. Real auto-layout siblings stay in flex flow; overlay notifications, chart curves, and guides can share an absolute coordinate space. A Figma layout mode of `NONE` is not converted into a flex column.\n\n`borderWidths` replaces the uniform `borderWidth` for asymmetric strokes. Apply the shared `border` color only to the indicated edges; do not invent a surrounding box border. Uniform borders continue using `borderWidth`.\n\nGradient handles may lie outside the unit square; do not clamp them or discard them in favor of a default direction.\n\nSVG exports keep original node-local coordinates and include the union of the local canvas and visible geometry. Each exported node's `svgViewport` matches the file's viewBox. Keep the node's original layout footprint as a wrapper, then place the SVG or image at `svgViewport.x` / `y` (a missing one means 0), with the viewport's `width` / `height`. Do not stretch this expanded asset to the original node dimensions: chart series can have different ink bounds but must share the same local coordinate system. Preserve ancestor clipping. Solid paint colors are baked into design-exported assets so external images retain their colors too.\n\n## For LLMs\n\nFollow this section when you build a page or component from a Figma node with `get_figma_design`.\n\n### Response overview\n\n| Field                                                                   | Meaning                                                                                                                                                                                                                                                                              |\n| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `root`                                                                  | The requested node's design tree. A plain frame is inline. A component set root with large variants is split (see [Resolving component files](#resolving-component-files)). A large `SECTION` root keeps each frame as a stub (see [Resolving frame files](#resolving-frame-files)). |\n| `tokens`                                                                | Shared values. Style fields hold keys into this registry, for example `colors.sys.color.primary.default` = `#99121C`.                                                                                                                                                                |\n| `componentSets`                                                         | One reference per component set the design uses: `file`, `propKeys`, `propValues`.                                                                                                                                                                                                   |\n| `componentSetsFolder`                                                   | Folder with the component set files.                                                                                                                                                                                                                                                 |\n| `framesFolder`                                                          | Folder with the frame files of a large `SECTION` root. Each frame file is named in `root.children`.                                                                                                                                                                                  |\n| `svgAssetsFolder`                                                       | Folder with the exported SVGs. Each vector's `svgPathInAssetFolder` is a file name inside it.                                                                                                                                                                                        |\n| `renderedDesignNodeAssetsFolder`, `renderedDesignNodePathInAssetFolder` | The reference picture (see below).                                                                                                                                                                                                                                                   |\n\nResponses are large. Full pages in testing were 200–360 KB, so read `root` in parts rather than all at once.\n\n### The reference picture\n\n`renderedDesignNodePathInAssetFolder` is a 1x PNG of the requested node. It shows the design as Figma renders it, and it is the reference for both building and checking.\n\n- Open the PNG before you write code. For a component set it shows every variant in a grid; for a frame it shows the frame.\n- Use it to split the page into sections, then match each section to a part of `root.children`.\n- Render your build at the same width and compare it with the PNG section by section. Keep fixing until the differences are gone or you can explain them.\n- For a frame, the PNG's pixel width equals the frame's layout width (for example 410 px for a 410 px frame).\n- The PNG is missing when the server runs with `--skip-image-downloads`, when Figma returns no image, or when the download fails. Without it, say that the visual check was skipped instead of guessing.\n\n### Process: from design to page\n\n1. **Fetch one node per breakpoint.** A frame named like `Startseite (XS)` is one breakpoint. Fetch each breakpoint you need separately.\n2. **Use a fresh export folder per design.** Pass `svgOutputDir`. The folder receives the SVGs, the PNG and `component-sets/`. Files from earlier runs stay there, so don't reuse a folder for a different design.\n3. **Read the reference picture** and list the page's sections.\n4. **Plan components.** Make one component per repeated section or per `component` name. Use `componentSets[name].propValues` to see each component's variant options.\n5. **Map tokens once.** Create one theme file that maps each token key the page uses to a CSS variable or theme value. Don't copy hex values into each element.\n6. **Build section by section.** Map `layout` to flex: `direction`, `gap`, `padding`, `width`, `height`, `grow`, `align` and `justify`. Use absolute positioning only where `layout.position` is `absolute`, with `left` and `top` relative to the parent.\n7. **Render text from `text`.** When `textRuns` exists, render its runs in order over the base typography token and don't render `text` again (see [Interpreting visual details](#interpreting-visual-details-in-v3)).\n8. **Place vectors by viewport.** For each vector, load the file named by `svgPathInAssetFolder` from `svgAssetsFolder`. Position it at `svgViewport.x` and `y` (a missing value means 0) and size it to `svgViewport.width` and `height`. Don't stretch it to the node size.\n9. **Handle image fills.** If a node uses an image fill, such as a photo or screenshot, call `get_image_fills` to get its download URL.\n10. **Verify** the build against the reference picture, as described above.\n11. **Ask** when the target stack, the breakpoints or the expected output are unclear, instead of guessing.\n\n### Resolving component files\n\n- `root.file`, `componentSets[name].file` and the `file` entries in an index file are relative to `componentSetsFolder`. Join them to that folder instead of guessing a location.\n- Names become file names by replacing each run of characters other than `A–Z`, `a–z`, `0–9` and `_` with one `-`. For example, `Variant=Start 1, Color=Default` becomes `Variant-Start-1-Color-Default.json`, and node `7:770` becomes `7-770.json`. These examples use JSON output; with the default YAML output the extension is `.yaml`.\n- Use the key from `componentSets` as written. Keys can include a library reference in brackets, such as `headline-combo [zd1Yd…/3574:6]`. Read the `file` value rather than building the path from the key.\n\n### Resolving frame files\n\n- A `SECTION` root whose frame children together exceed 228 KB keeps each frame as a stub in `root.children`, with its `name`, its `type` and a `file`. The full frames are written to `framesFolder`.\n- `file` is relative to `framesFolder`. Join them to read a frame. The frame file holds the full frame node and only the tokens it uses.\n- Frame file names follow the naming rule above, with the output extension. Frames that share a name get `-2`, `-3` and so on, such as `Cronjobs-2.yaml`.\n- A section whose frames stay under 228 KB, or that holds anything other than frames, stays inline with no `framesFolder`.\n\n### Pitfalls\n\n- **`Root node … not found`**: the node ID is wrong or the file can't be read. Convert the URL's `node-id=519-8870` to `519:8870`, and check that the node exists in that file.\n- **Repeated calls**: the server caches a design for 5 minutes for the same inputs. Keep the first response instead of fetching again. Changing `includeComponentVariants`, `resolveVariables` or the credentials fetches again.\n- **`interactions`** describe prototype hover and click targets. Ignore them unless the build needs that behavior.\n\n## Getting Started\n\nMany code editors and other AI clients use a configuration file to manage MCP servers.\n\nThis server requires Node.js 18 or later.\n\nThe `tmegit-figma-to-code-mcp` server can be configured by adding the following to your configuration file.\n\n### MacOS / Linux\n\n```json\n{\n  \"mcpServers\": {\n    \"Figma To Code MCP\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@tmegit/figma-to-code-mcp\", \"--figma-api-key=YOUR-KEY\", \"--stdio\"]\n    }\n  }\n}\n```\n\n### Windows\n\n```json\n{\n  \"mcpServers\": {\n    \"Figma To Code MCP\": {\n      \"command\": \"cmd\",\n      \"args\": [\n        \"/c\",\n        \"npx\",\n        \"-y\",\n        \"@tmegit/figma-to-code-mcp\",\n        \"--figma-api-key=YOUR-KEY\",\n        \"--stdio\"\n      ]\n    }\n  }\n}\n```\n\nOr you can set `FIGMA_API_KEY` and `PORT` in the `env` field.\n\n### HTTP mode\n\nOmit `--stdio` to serve Streamable HTTP at `/mcp` and legacy SSE at `/sse` with messages posted to `/messages`. Concurrent clients have independent MCP sessions; closing one does not close the others. Library-variable prefetch is shared across sessions using the same configured credentials.\n\nFor embedded use, `startHttpServer(host, port, server)` still accepts a server returned by this package's `createServer`. For a custom `McpServer`, pass a per-session factory as the third argument to support concurrent clients; a single external instance remains single-session.\n\n`createServerFactory(auth, options)` prepares shared configuration once. If you add custom tools, register them on every server returned by your factory: registrations added to a single supplied instance are not copied to its generated siblings. Custom asynchronous factories must settle so shutdown can finish cleaning up pending connections.\n\nThe default host is `127.0.0.1`. These endpoints do not add client authentication; do not expose them to an untrusted network without an authenticated proxy.\n\n## Configuration\n\nThe server reads configuration from CLI flags and environment variables. If both are set, the CLI flag wins.\n\n| Option                        | CLI                      | Env                                         | Default         |\n| ----------------------------- | ------------------------ | ------------------------------------------- | --------------- |\n| Figma API key                 | `--figma-api-key`        | `FIGMA_API_KEY`                             | required        |\n| Figma OAuth token             | `--figma-oauth-token`    | `FIGMA_OAUTH_TOKEN`                         | unset           |\n| Port                          | `--port`                 | `FIGMA_TO_CODE_MCP_PORT` or `PORT`          | `3333`          |\n| Host                          | `--host`                 | `FIGMA_TO_CODE_MCP_HOST`                    | `127.0.0.1`     |\n| Output format                 | `--json`                 | `OUTPUT_FORMAT`                             | `yaml`          |\n| Skip image tools and node PNG | `--skip-image-downloads` | `SKIP_IMAGE_DOWNLOADS=true`                 | `false`         |\n| SVG output dir                | `--svg-output-dir`       | `FIGMA_SVG_OUTPUT_DIR`                      | temp dir        |\n| Prefetch library variables    | `--library-file-keys`    | `FIGMA_LIBRARY_VARIABLE_PREFETCH_FILE_KEYS` | unset           |\n| Cache path                    | `--library-cache-path`   | `FIGMA_MCP_CACHE_PATH`                      | temp cache file |\n| Cache TTL                     | `n/a`                    | `FIGMA_MCP_CACHE_TTL_MS`                    | `7 days`        |\n| Force cache refresh           | `n/a`                    | `FIGMA_MCP_REFRESH_CACHE`                   | off             |\n\nNotes:\n\n- `--library-file-keys` and `FIGMA_LIBRARY_VARIABLE_PREFETCH_FILE_KEYS` are comma-separated Figma library file keys.\n- `FIGMA_MCP_CACHE_PATH` may point to either a JSON file or a directory. The server adds a credential fingerprint before `.json` to isolate cached library variables, for example `figma-mcp-library-cache.<fingerprint>.json` inside a directory. Existing unscoped cache files are not reused by server startup.\n- The library cache is used only when library file keys are configured.\n- `FIGMA_MCP_REFRESH_CACHE` forces a re-fetch on startup even if a cache file exists.\n\nExample `.env`:\n\n```env\nFIGMA_API_KEY=your_figma_pat\n# prefetch variables (tokens etc) from specific library files on startup to avoid T2 calls during design fetch\nFIGMA_LIBRARY_VARIABLE_PREFETCH_FILE_KEYS=abc123,def456\nFIGMA_MCP_CACHE_PATH=./cache\nFIGMA_MCP_CACHE_TTL_MS=604800000\n# Uncomment to force cache refresh on next startup\n# FIGMA_MCP_REFRESH_CACHE=1\n```\n\n## API Calls & Rate Limits\n\nOn a design-cache miss, `get_figma_design` can make these API calls:\n\n| Endpoint                                  | Tier | When called                                                                   |\n| ----------------------------------------- | ---- | ----------------------------------------------------------------------------- |\n| `GET /v1/files/{fileKey}/nodes`           | T1   | Fetch the requested design node with vector geometry                          |\n| `GET /v1/images/{fileKey}`                | T1   | Render the requested node as a 1x PNG; failure is non-fatal                   |\n| `GET /v1/files/{fileKey}/variables/local` | T2   | When `resolveVariables=true`                                                  |\n| `GET /v1/files/{fileKey}/comments`        | T2   | Attempt to fetch comments; failure is non-fatal                               |\n| `GET /v1/components/{key}`                | T3   | Discover the library of a component key that no listing has covered yet       |\n| `GET /v1/files/{fileKey}/components`      | T3   | List published components of this file and each discovered library, once each |\n| `GET /v1/files/{libFileKey}/nodes`        | T1   | Fetch source component definitions, batched per library                       |\n\nRequest counts vary with the number of unique component keys, libraries, node batches, and retries. Components from multiple libraries are supported; unavailable library metadata falls back to usable instance data.\n\nRequests are paced per Figma tier so no tier exceeds its per-minute budget (10, 25, and 50 requests for tiers 1, 2, and 3 on Professional Dev/Full seats). If Figma still answers with a 429, only that tier pauses for the `Retry-After` time, and the request is retried up to three times. A GET that fails at the network level is retried once through `curl`, which helps behind corporate proxies. The retry runs in the same request slot, so it still counts once against the tier budget.\n\nCompatible design-cache hits avoid these Figma calls but still export assets, including the node PNG, into the requested directory. The PNG is downloaded from Figma's image URL, which is not a Figma API call. Changing credentials or result-affecting options does not reuse an incompatible design response.\n\nEffective styles are read from node properties, including node-specific overrides. The tool does not make a separate `/styles` request. The library's existing `fetchStyles` export and `styleMap` parameter remain available for compatibility; shared-style names are not currently emitted in the design response.\n\nFor Professional plan with Dev/Full seat: **10 req/min** (Tier 1), **25 req/min** (Tier 2), **50 req/min** (Tier 3).\n\n## Star History\n\n<a href=\"https://star-history.com/#felixAnhalt/figma-to-code-mcp\"><img src=\"https://api.star-history.com/svg?repos=felixAnhalt/figma-to-code-mcp&type=Date\" alt=\"Star History Chart\" width=\"600\" /></a>\n\n## Acknowledgment\n\nThis project was initially inspired by the ideas explored in the original Figma Context MCP by GLips:\nhttps://github.com/glips/figma-context-mcp\n\nWhile the original project provides a Model Context Protocol (MCP) server that simplifies Figma data for use with AI coding agents, this implementation has been substantially redesigned with a different data model, API, and processing approach, and should be considered an independent system.\n","readmeFilename":"README.md"}