{"_id":"@magic-spells/figma-mcp-bridge","_rev":"11-235b3f783be5f21e1329c8cab44a905c","name":"@magic-spells/figma-mcp-bridge","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"@magic-spells/figma-mcp-bridge","version":"0.1.0","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.1.0","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"36d4e7d38e8b2c672462df85dca8d41787d953b7","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.1.0.tgz","fileCount":14,"integrity":"sha512-IGYobZxL/fW3f3KwegIADbeuTMFjkn7O0WiCLigBS+CBzXH8UUHjyIC5kIpviUtPlqdlZ4qzX60M2M7S5XeOoA==","signatures":[{"sig":"MEUCIE3pMJFoxEongivTAcDFksTwzcuUDCrNPScemFgJPYeaAiEAx/WfDU8JJtcLBZRLcaz17YDwV4h3dSQSiIQwKI4YRWg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":265165},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"354a4e2cd01f3762164ff5314bd9d2b3a7b207d6","scripts":{"start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.6.4","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.1.0_1764462257685_0.9779676644320261","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@magic-spells/figma-mcp-bridge","version":"0.1.1","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.1.1","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"34f261482376e7e9db7bbc6c6543e7dd94c59cba","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.1.1.tgz","fileCount":14,"integrity":"sha512-aWGfb3466Yf6Pq+wtDGvWyDCLrGE/NU1M9Iah1sF+TjZ++8Dgn0E8baiQQzVz8FduQ0Pp9r2Ezt99LnlKxIqyA==","signatures":[{"sig":"MEYCIQCKQLPMV0ExpvCPpqbeBIZmwUd/EGTVqmIq/lBA8Fhv3QIhAK8sTDJVZNIDisnFv7mFt6QJ4Msx/zjOano7XJfRfxSz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":283048},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"660e2b87ebbd498c02133d3ea8ffa08f6ce821ce","scripts":{"start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.6.4","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.1.1_1764542752335_0.06633448991515367","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@magic-spells/figma-mcp-bridge","version":"0.1.2","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.1.2","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"64bbf0015287be3ae988aaefa8a2f6906df145d8","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.1.2.tgz","fileCount":14,"integrity":"sha512-fTLAAi+ZfOmGpabttB6xzlNovNju/D6XpGRgOku2RHM5qXm10jlmfK/9UrDRrUU34FrqJUxOVuXWOQYHhH69/w==","signatures":[{"sig":"MEYCIQClSWAomW8LadXn92yrCgEwLT+MkqFrER2H27/6LVr++AIhAO1gLVYr0qqHPcv4c7Qd8aKVtnYyNgWqnFZVlwVlwDYM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":294981},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"de423eae98a17636beec80758a2986c7526e309f","scripts":{"start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.6.4","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.1.2_1764579060064_0.1122910293484447","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@magic-spells/figma-mcp-bridge","version":"0.2.0","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.2.0","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"6a2192cc2dff503843ed46c70dee3e1f5961c27a","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.2.0.tgz","fileCount":14,"integrity":"sha512-TGiFJ3PmRwARH6N0IrAFbPy2D49ryCZsTZW2T9MAb9WtJDuLpkKFOvMsCOaTCDpiMVQpAa6W4TaJj90iMgWEAA==","signatures":[{"sig":"MEYCIQDQXuuS5fZJTljTwuHMVWejmtlyCH7Q/W+Tx/cCL3hjewIhAMUP/71lLnLBeu/bCn+6A2p1UDlO2U61agRJn/YhsBDT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":354346},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"948e0b1549f64d73ba06b24e972932ce94575aaa","scripts":{"start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.13.0","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.2.0_1777754189635_0.014024307818798043","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@magic-spells/figma-mcp-bridge","version":"0.2.1","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.2.1","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"6982accd1a5b402485df22e602bcb364e1d59771","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.2.1.tgz","fileCount":14,"integrity":"sha512-x2lLPRtAYr0LaHahQacmx+GpAed3+FgNf2tbWMdAwPLMQMtt2BBvCh6ju+amCjRKQWXevb2VTNQO+SslAb/7uA==","signatures":[{"sig":"MEYCIQDuy7NLtBJPm0l1EFNfCihW7OEKeKc69khm+Ssy0iT0sQIhAIIU9OJV1EF/8DTiDfEdt/V3tEuHVr2B+Sv30OAsSVIX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":355374},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"932bbe916a6e3bbc101678d985e3fd61a8a1d321","scripts":{"start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.13.0","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.2.1_1777757804175_0.5481073010489628","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@magic-spells/figma-mcp-bridge","version":"0.2.2","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.2.2","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"dbb4a4c9e1fdd85dd033fd8ed06f1299317c4dfd","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.2.2.tgz","fileCount":14,"integrity":"sha512-SqRxyniCnBSK8nSORb8VPnmpQy2l6vwRHnQXU0JrI1JnLaU/9fa6k+0QfHWBGRVSFw1f9MQtsJTj0fVtuAtwYA==","signatures":[{"sig":"MEUCIQD6kYnLg/gu9rRf0iZdbWUO2tIzbJ9u8bi+IQAlm3Vd/QIgKDOt/tkWAyspOlPBij8snStrMcSdMDyS5osL8P6xytg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":357221},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"a8e7d15df12d04518cba3b9d3ba07b12a3357f44","scripts":{"start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.13.0","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.2.2_1777762265336_0.3370658833542206","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@magic-spells/figma-mcp-bridge","version":"0.3.0","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.3.0","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"3cfc05a44dc61f7c81de811dbdb46c21a08a956a","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.3.0.tgz","fileCount":14,"integrity":"sha512-rZzYkS6yeuUqf1XMqHDE57ZnGX6oZjVgfx0ehuBhmG+P+9G5SfqIwMUFWgL7oFted/x2f1TZWIx/Mh+RHeqDhA==","signatures":[{"sig":"MEQCIFVyx6KqBuUwzanPj330LWO9IBXWf61G5jGM/5rUgLT6AiAx9YRW5ZdyaiJTzLo1/EMt82FjUMHD+x9Av/wInmEXQg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":375893},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"a7cc576e7e9895d4e9bbc4a281e69c9f198281e7","scripts":{"start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.13.0","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.3.0_1778525048184_0.7008389627081892","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@magic-spells/figma-mcp-bridge","version":"0.4.0","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.4.0","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"f35d375a4dea01bc7900aed2e1bd459aecc52764","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.4.0.tgz","fileCount":15,"integrity":"sha512-wOvvN8cv/Xbs88Le03UUgfkkDcVuIpVZNGcmIXzGnggYI/dHVMvFav7Cmi3gbLn9YNsV4c1jkC2WGgBxVDoEzQ==","signatures":[{"sig":"MEUCIQCkT4zHX4/9IaI4rIPJyWpR1rAYmL67JUo9M/kEwS+VugIgbpxV5jYFmGvgcaGZXO80srd4AzV3CIff471oUImekw8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":462961},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"2b349b3f3171909fe38ea3daa6d79d7ba7a9fae3","scripts":{"start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.18.0","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.4.0_1787003140929_0.23887576105519082","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@magic-spells/figma-mcp-bridge","version":"0.4.1","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.4.1","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"b976439351604e7644bcca70938d4f0ea07cc0a2","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.4.1.tgz","fileCount":15,"integrity":"sha512-kfxwPfJjH3CXC85mFH3KoAr7pL1bKJDiEojRxk9MwhwBPaH7fSzkFF+AWO0qn6NvxcB5aBRoVk5J1SyEuG+lsQ==","signatures":[{"sig":"MEUCIQDFV0JosDh2DfcOWXPlYTnQyxikE+hUJRBIO0mbiGs3YgIgJOspLoyNXFTRvq0RS7pQDm+ekLAPNuPN2GfWmoqKIeU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDEXkx9TDRpiQTNYAMdaqhI+Ypfh2+mX4uMAqCIJmn0LQIhAMJ4jG7EiEsHQY1ReV7fkytgbk8sY96U4TFpcmJk9+zo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":464318},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"1e7677d265a6d3fd3a2948194d9b0c5ba97b0c7b","scripts":{"start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.18.0","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.4.1_1791876112146_0.776064082967082","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@magic-spells/figma-mcp-bridge","version":"0.5.0","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","_id":"@magic-spells/figma-mcp-bridge@0.5.0","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"bin":{"figma-mcp-bridge":"src/index.js"},"dist":{"shasum":"a895b117af547effbc77e14ede4317017d3088c9","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.5.0.tgz","fileCount":17,"integrity":"sha512-MfOQc3mYq5Jgk930q7rZ3isbzJ3axx6i7oNRlihQOtJEVMAoMlwPnnS+VCxLECDF5PKJJsgihsG6cR9HRzJrkQ==","signatures":[{"sig":"MEQCIBv1O3HNVXrWP17FNC3iSGMbZEdTSFRBdyIpwQ4N/iojAiB9nhYwHF3plxB5vW8MjqfzqBMsAzxqOdA32exGrwvNhw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCExdHFJ8Senx9hj80kDww2tDKBJIl/K9DCPLhEFuPz9QIgRwetQPpY9pkAXT8zwZvQv3KpdUN2uXnmIMyn8gTq+SE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":487304},"main":"src/index.js","type":"module","engines":{"node":">=18.0.0"},"gitHead":"7a75450b98c5b1674a2970342714b7bd3b1adda9","scripts":{"test":"node --test","start":"node src/index.js"},"_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.18.0","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-mcp-bridge_0.5.0_1791970234259_0.11212399856994248","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"_id":"@magic-spells/figma-mcp-bridge@0.6.0","bin":{"figma-mcp-bridge":"src/index.js"},"bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"dist":{"shasum":"353b759114282e24f0993dc23fa4ea8147bbcee1","tarball":"https://registry.npmjs.org/@magic-spells/figma-mcp-bridge/-/figma-mcp-bridge-0.6.0.tgz","fileCount":18,"integrity":"sha512-2TmoGNlpuLjNp/0cVLz7jy7HCb9DWCdK2QeAvFYshKDKCfQ06m4eOGqiDfPgmJtC+7mahZV+cYOWmroegY2yTg==","signatures":[{"sig":"MEYCIQCKfOZpFbfzYjOsnS7LYc8wWgOW5PsKvuyZUdBPgomxcgIhAKJdns4vSB2acmqloduxm/HxIYuAUktU8cw2XEskSs5t","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHLC8nYvQTCbE4xRrDMbWsUbM2C5HZplBrqgMZ6up337AiBCPcKR+wzxLGYI7VlV3UQDyydV5gMSw5loUwkM/e11wA=="}],"unpackedSize":536111},"main":"src/index.js","name":"@magic-spells/figma-mcp-bridge","type":"module","author":{"name":"Cory Schulz @ Magic Spells"},"engines":{"node":">=18.0.0"},"gitHead":"149f1eeb6dde1aeba1dd3c1ec99e02c971edcd91","license":"MIT","scripts":{"test":"node --test","start":"node src/index.js"},"version":"0.6.0","_npmUser":{"name":"magic-spells","email":"cory@magicspells.io"},"homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"_npmVersion":"11.18.0","description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","directories":{},"maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"_nodeVersion":"25.1.0","dependencies":{"ws":"^8.14.0","@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/figma-mcp-bridge_0.6.0_1792617329268_0.9250393937742853"}}},"time":{"created":"2025-11-30T00:24:17.546Z","modified":"2026-10-21T21:15:29.707Z","0.1.0":"2025-11-30T00:24:17.992Z","0.1.1":"2025-11-30T22:45:52.544Z","0.1.2":"2025-12-01T08:51:00.279Z","0.2.0":"2026-05-02T20:36:29.783Z","0.2.1":"2026-05-02T21:36:44.310Z","0.2.2":"2026-05-02T22:51:05.508Z","0.3.0":"2026-05-11T18:44:08.326Z","0.4.0":"2026-08-17T21:45:41.087Z","0.4.1":"2026-10-13T07:21:52.239Z","0.5.0":"2026-10-14T09:30:34.402Z","0.6.0":"2026-10-21T21:15:29.454Z"},"bugs":{"url":"https://github.com/magic-spells/figma-mcp-bridge/issues"},"author":{"name":"Cory Schulz @ Magic Spells"},"license":"MIT","homepage":"https://github.com/magic-spells/figma-mcp-bridge#readme","keywords":["figma","mcp","claude","model-context-protocol","ai","design"],"repository":{"url":"git+https://github.com/magic-spells/figma-mcp-bridge.git","type":"git"},"description":"MCP server enabling Claude to read and manipulate Figma documents via WebSocket bridge","maintainers":[{"name":"magic-spells","email":"cory@magicspells.io"}],"readme":"# Figma MCP Bridge\n\nA Model Context Protocol (MCP) server that enables Claude to read and manipulate **Figma design files and FigJam files** in real-time through a WebSocket bridge to a Figma plugin.\n\n## Features\n\n- **98 operations** - 73 Figma design tools + 21 FigJam tools (sticky notes, flowchart shapes, connectors, tables, code blocks, link previews) + 4 Prototype tools (reactions, flow starting points)\n- **Works in both editors, plus read-only Dev Mode** - Auto-detects whether you're in a Figma design file or FigJam, and gates editor-specific commands accordingly (FigJam-only sticky/connector/table tools; Figma-Design-only prototype tools). In Dev Mode the plugin runs read-only — see [Dev Mode support](#dev-mode-support)\n- **Real-time bidirectional communication** - Changes appear instantly in Figma/FigJam\n- **Token-optimized queries** - Efficient variable search and node traversal for AI interactions\n- **Full Figma API access** - Styles, variables, auto-layout, components and team libraries, plus FigJam diagrams and documentation\n- **Built-in skills** - Ships its own operating guide as MCP resources (`skill://figma-bridge/SKILL.md`); connected agents are directed to read it before write-heavy work, so no separate skill install is needed\n\n## Architecture\n\n```\nClaude Code ←──stdio──→ MCP Server ←──WebSocket──→ Figma Plugin ←──→ Figma API\n                        (Node.js)    localhost:3055    (runs in Figma)\n```\n\n## Dev Mode Support\n\nThe plugin also runs in Figma **Dev Mode** (e.g. on a Developer seat, or a view-only file opened in Dev Mode). It appears in the inspect panel's plugin area with a **read-only** badge next to the port field.\n\nDev Mode plugins get a read-only document — this is a Figma platform restriction, not a bridge limitation — so only the read tools work there:\n\n- `figma_get_context`, `figma_list_pages`, `figma_get_nodes`, `figma_get_children`\n- `figma_search_nodes`, `figma_search_components`, `figma_search_styles`, `figma_search_variables`\n- `figma_get_local_styles`, `figma_get_local_variables`\n- `figma_export_node`\n- `figma_set_selection`, `figma_set_current_page` (selection/navigation, not document edits)\n\nEvery mutation tool returns a `READ_ONLY_EDITOR` error naming the tool. To edit the file, open it in the Figma Design editor with an editor seat.\n\nIf you only need read access to designs and tokens, also consider [Figma's official MCP server](https://help.figma.com/hc/en-us/articles/32132100833559), which specializes in design-to-code extraction. This bridge's Dev Mode support exists so bridge users keep one consistent tool surface — its real differentiator (writing to the document) requires the Design editor.\n\n## Quick Start\n\n### Prerequisites\n- Node.js 18+\n- Figma desktop app\n- Claude Code CLI or Claude Desktop\n\n### Installation\n\n#### Option A: Install from npm (recommended)\n\n**For Claude Code CLI:**\n```bash\nclaude mcp add figma-mcp-bridge -- npx @magic-spells/figma-mcp-bridge\n```\n\n**For Claude Desktop:**\n\nEdit your config file:\n- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n- **Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"figma-mcp-bridge\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@magic-spells/figma-mcp-bridge\"]\n    }\n  }\n}\n```\n\nThen restart Claude Desktop.\n\n**Install the Figma plugin:**\n- Download the `plugin` folder from this repo\n- In Figma: **Plugins → Development → Import plugin from manifest**\n- Select `plugin/manifest.json`\n\n**Connect:**\n- Open a Figma file\n- Run the plugin: **Plugins → Development → Claude Figma Bridge**\n- The status should show \"Connected\"\n\n#### Option B: Install from source\n\n1. **Clone the repository**\n   ```bash\n   git clone https://github.com/magic-spells/figma-mcp-bridge.git\n   cd figma-mcp-bridge\n   npm install\n   ```\n\n2. **Add to Claude Code**\n   ```bash\n   claude mcp add figma-mcp-bridge node /path/to/figma-mcp-bridge/src/index.js\n   ```\n\n3. **Install the Figma plugin**\n   - In Figma: **Plugins → Development → Import plugin from manifest**\n   - Select `plugin/manifest.json` from the cloned repo\n\n4. **Connect**\n   - Open a Figma file\n   - Run the plugin: **Plugins → Development → Claude Figma Bridge**\n   - The status should show \"Connected\"\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `FIGMA_BRIDGE_PORT` | `3055` | WebSocket server port (auto-increments if busy) |\n\n### Auto-approve Figma Tools\n\nAdd to `.claude/settings.local.json`:\n```json\n{\n  \"permissions\": {\n    \"allow\": [\"mcp__figma-mcp-bridge__*\"]\n  }\n}\n```\n\n---\n\n## Commands Reference\n\n### Query Commands\n\n#### `figma_server_info`\nGet information about the MCP server: package version, WebSocket port, connection state, and connected document info. Useful for confirming which version of the server is running after a code change or upgrade.\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| *(none)* | | |\n\n**Returns:** `{ version, port, connected, documentInfo }`\n\n#### `figma_get_context`\nGet the current Figma document context including file info, current page, and selection.\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| *(none)* | | |\n\n#### `figma_list_pages`\nList all pages in the current Figma document.\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| *(none)* | | |\n\n#### `figma_get_nodes`\nGet detailed information about specific nodes by their IDs.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Array of node IDs (e.g., `[\"1:23\", \"4:56\"]`) |\n| `depth` | string | No | Detail level: `minimal`, `compact` (adds x/y/width/height), or `full` (default) |\n\n`full` includes `boundVariables`, `explicitVariableModes`, `layoutWrap`, `counterAxisSpacing`, `clipsContent` and per-side stroke weights.\n\n`compact` and `full` also describe components and text styles. An `INSTANCE` carries `mainComponent` (`id`, `name`, `key`, `remote`, and `parentSet` `{ id, name, key }` when it is a variant) and `componentProperties` as `{ name: value }`; a `TEXT` node carries `textStyleId` (`\"MIXED\"` across ranges) and `textStyleName`. `figma_get_children` and `figma_search_nodes` add the same fields.\n\nComposite instance-sublayer IDs (`I<instanceId>;<childId>`) resolve reliably — if the direct lookup misses, the instance root is resolved and its subtree searched. IDs that genuinely don't exist are returned in `notFound`, with an explanation in `notFoundDetails`.\n\n#### `figma_get_local_styles`\nList all local styles defined in the document.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `type` | string | No | Filter: `PAINT`, `TEXT`, `EFFECT`, `GRID`, or `ALL` (default) |\n\n#### `figma_get_local_variables`\nGet all local variables and variable collections.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `type` | string | No | Filter: `COLOR`, `FLOAT`, `STRING`, `BOOLEAN`, or `ALL` (default) |\n\n> **Note**: Can return 25k+ tokens. Prefer `figma_search_variables` for efficiency.\n\n#### `figma_get_children`\nGet immediate children of a node. Efficient for browsing hierarchy one level at a time.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `parentId` | string | Yes | | Node ID to get children of |\n| `compact` | boolean | No | `true` | Return minimal data: `id`, `name`, `type`, `x`, `y`, `parentId`, `childCount` |\n\nCompact results include `x`/`y`, so they can be used to measure layout (for example, which children share a row after wrapping) without dropping to the full serialization. Instances carry `mainComponent` and `componentProperties`, and text nodes `textStyleId` / `textStyleName`, as in `figma_get_nodes`.\n\n#### `figma_search_nodes`\nSearch for nodes by name within a scope. **Preferred for finding specific frames, sections, or elements.**\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `parentId` | string | Yes | | Scope to search (page/frame/section ID) |\n| `nameContains` | string | No | | Case-insensitive substring match |\n| `namePattern` | string | No | | Glob pattern with wildcards (e.g., `*button*`) |\n| `types` | string[] | No | | Filter by node types: `FRAME`, `TEXT`, `SECTION`, `COMPONENT`, `INSTANCE`, `GROUP`, etc. |\n| `maxDepth` | number | No | `-1` | Search depth (-1 = unlimited, 1 = immediate children) |\n| `compact` | boolean | No | `true` | Return minimal data |\n| `limit` | number | No | `50` | Maximum results |\n\n> Returns ~50 tokens/node vs ~500 for full node data.\n\n#### `figma_search_components`\nSearch local components by name. Use when looking for specific components like \"Button\", \"Header\", etc.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `nameContains` | string | No | | Case-insensitive substring match |\n| `namePattern` | string | No | | Glob pattern with wildcards |\n| `includeVariants` | boolean | No | `false` | Include individual variants from component sets |\n| `compact` | boolean | No | `true` | Return minimal data |\n| `limit` | number | No | `50` | Maximum results |\n\nCompact results include each component's `key`. This searches the open file only; for a team-library component use `figma_import_library_component`.\n\n#### `figma_search_styles`\nSearch local styles by name. More efficient than `figma_get_local_styles` when looking for specific styles.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `nameContains` | string | No | | Case-insensitive substring match |\n| `type` | string | No | `\"ALL\"` | Filter: `PAINT`, `TEXT`, `EFFECT`, `GRID`, `ALL` |\n| `compact` | boolean | No | `true` | Return minimal data |\n| `limit` | number | No | `50` | Maximum results |\n\n---\n\n### Creation Commands\n\n#### `figma_create_rectangle`\nCreate a new rectangle.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `width` | number | No | `100` | Width in pixels |\n| `height` | number | No | `100` | Height in pixels |\n| `name` | string | No | `\"Rectangle\"` | Node name |\n| `fills` | color | No | | Fill color |\n| `parentId` | string | No | | Parent node ID |\n\n#### `figma_create_ellipse`\nCreate an ellipse, circle, arc, or ring.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `width` | number | No | `100` | Width (diameter for circle) |\n| `height` | number | No | `100` | Height |\n| `name` | string | No | `\"Ellipse\"` | Node name |\n| `fills` | color | No | | Fill color |\n| `parentId` | string | No | | Parent node ID |\n| `arcData.startingAngle` | number | No | | Starting angle in radians |\n| `arcData.endingAngle` | number | No | | Ending angle in radians |\n| `arcData.innerRadius` | number | No | | Inner radius ratio (0-1) for rings |\n\n#### `figma_create_line`\nCreate a line.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `length` | number | No | `100` | Line length |\n| `rotation` | number | No | `0` | Rotation in degrees |\n| `strokeWeight` | number | No | `1` | Stroke weight |\n| `strokes` | color | No | | Stroke color |\n| `strokeCap` | string | No | `\"NONE\"` | Cap: `NONE`, `ROUND`, `SQUARE`, `ARROW_LINES`, `ARROW_EQUILATERAL` |\n| `name` | string | No | `\"Line\"` | Node name |\n| `parentId` | string | No | | Parent node ID |\n\n#### `figma_create_frame`\nCreate a frame container (supports auto-layout).\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `width` | number | No | `100` | Width |\n| `height` | number | No | `100` | Height |\n| `name` | string | No | `\"Frame\"` | Node name |\n| `fills` | color | No | | Fill color |\n| `parentId` | string | No | | Parent node ID |\n\n#### `figma_create_text`\nCreate a text node.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `text` | string | No | `\"Text\"` | Text content |\n| `fontSize` | number | No | `16` | Font size |\n| `fontFamily` | string | No | `\"Inter\"` | Font family |\n| `fontStyle` | string | No | `\"Regular\"` | Font style |\n| `fills` | color | No | | Text color |\n| `name` | string | No | `\"Text\"` | Node name |\n| `parentId` | string | No | | Parent node ID |\n\n#### `figma_create_svg`\nImport SVG markup as nodes, using Figma's own SVG import. **Use it for icons and logos:** import the app's real `.svg` file instead of drawing glyphs from lines and ellipses.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `svg` | string | Yes | | Complete SVG markup (the contents of an `.svg` file), at most 500,000 characters |\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `width` | number | No | | Width. Alone, scales proportionally; with `height`, fits the content inside the box, centered |\n| `height` | number | No | | Height. Alone, scales proportionally; with `width`, fits the content inside the box, centered |\n| `name` | string | No | `\"SVG\"` | Node name |\n| `flatten` | boolean | No | `false` | Merge the shapes into one `VECTOR` inside the frame (for one-color icons drawn all in strokes or all in fills) |\n| `fillColor` | string | No | | Hex color (`#RGB` or `#RRGGBB`) for `fill=\"currentColor\"` |\n| `strokeColor` | string | No | | Hex color (`#RGB` or `#RRGGBB`) for `stroke=\"currentColor\"` |\n| `parentId` | string | No | | Parent node ID |\n\n**Returns:** `{ success, nodeId, node }`, plus `vectorId` when flattened, `currentColor: { replaced, fill, stroke }` when `currentColor` was replaced, and `warnings` when something did not go as asked.\n\nThe result is a `FRAME` at the SVG's own size: its `width` and `height`, which default to its `viewBox`. It is kept even with `flatten`, because it holds the icon's padding: icons imported this way share one box and line up. `flatten` suits icons whose shapes are all stroked (like Lucide) or all filled, because the merged vector carries one set of fills and strokes; flattening shapes painted differently comes back with a warning.\n\n**`currentColor`.** Icon sets such as Lucide and Heroicons draw with `stroke=\"currentColor\"` or `fill=\"currentColor\"`, which Figma can't resolve. The bridge replaces it before import, in attributes, `style=\"\"` and `<style>` blocks. A stroke takes `strokeColor` and a fill takes `fillColor`; each falls back to the other, then to `#000000`, which is what a browser uses when nothing sets `color`. Any other use, such as a gradient's `stop-color`, gets the fill color. Colors passed for an SVG that never uses `currentColor` produce a warning rather than being silently ignored.\n\n**Sizing** matches a browser. One dimension rescales the content uniformly with the Scale tool, so stroke widths scale too: a 2px Lucide stroke is 1.33px at 16px. Both dimensions fit the content inside the box and center it, as `preserveAspectRatio=\"xMidYMid meet\"` does. Size the icon here rather than with `figma_resize_nodes` afterwards, which leaves stroke weights as they are.\n\nMarkup Figma can't parse fails with `INVALID_SVG`. A `parentId` that doesn't exist fails with `NODE_NOT_FOUND` before anything is created, and any later failure removes the imported frame, so a failed call leaves nothing behind.\n\n```js\n// Lucide's \"x\" at 20px, in the button's text color\nfigma_create_svg({\n  svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M18 6 6 18\"/><path d=\"m6 6 12 12\"/></svg>',\n  name: 'icon/x',\n  width: 20,\n  strokeColor: '#1F2937',\n  flatten: true,\n  parentId: '12:34'\n})\n```\n\n#### `figma_clone_nodes`\nClone (duplicate) nodes.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `nodeIds` | string[] | Yes | | Node IDs to clone |\n| `parentId` | string | No | | Parent for clones |\n| `offset.x` | number | No | `20` | X offset from original |\n| `offset.y` | number | No | `20` | Y offset from original |\n\n#### `figma_create_component`\nCreate a reusable component.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `fromNodeId` | string | No | | Convert existing node to component |\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `width` | number | No | `100` | Width |\n| `height` | number | No | `100` | Height |\n| `name` | string | No | `\"Component\"` | Component name |\n| `fills` | color | No | | Fill color |\n| `parentId` | string | No | | Parent node ID |\n| `description` | string | No | | Component description |\n\n#### `figma_create_instance`\nCreate an instance of a component in the file, or of a published team-library component imported by key. A component set instantiates its default variant; `properties` picks another and sets text, boolean and instance-swap properties in the same call (see `figma_set_instance_properties`). The parent and component are resolved first, and the instance is removed if a later step fails.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `componentId` | string | One of | COMPONENT or COMPONENT_SET ID in this file |\n| `componentKey` | string | One of | Published library component or component set key |\n| `properties` | object | No | `{ name: value }`, e.g. `{ \"Variant\": \"Primary\", \"Size\": \"default\", \"Label\": \"Save\" }` |\n| `x` | number | No | X position (ignored inside auto-layout) |\n| `y` | number | No | Y position (ignored inside auto-layout) |\n| `parentId` | string | No | Parent node ID (defaults to current page) |\n| `index` | number | No | Position among the parent's children (0 = back / first in auto-layout); omit to add at the end |\n| `name` | string | No | Instance name |\n\nThe response carries `nodeId`, `mainComponent` and the resulting `componentProperties`.\n\n---\n\n### Style Commands\n\n#### `figma_set_fills`\nSet fill color on a node.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node to modify |\n| `fills` | color | Yes | Fill color |\n\n**Color formats:**\n- Hex: `{ color: \"#FF0000\" }` or `{ color: \"#FF0000AA\" }` (with alpha)\n- RGB: `{ r: 1, g: 0, b: 0, a: 0.5 }`\n- Full array: `[{ type: \"SOLID\", color: { r, g, b }, opacity: 1 }]`\n\n#### `figma_set_strokes`\nSet stroke color and/or weight on a node. Omit `strokes` to change weights only.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node to modify |\n| `strokes` | color | No | Stroke color (omit to leave existing colors untouched) |\n| `strokeWeight` | number | No | Uniform stroke weight in pixels (applied before any per-side weights) |\n| `strokeTopWeight` / `strokeRightWeight` / `strokeBottomWeight` / `strokeLeftWeight` | number | No | Per-side weights in pixels. `RECTANGLE` and frame-like nodes only (`FRAME`, `COMPONENT`, `COMPONENT_SET`, `INSTANCE`, `SLOT`, `SLIDE`) |\n\n#### `figma_set_text`\nSet text content on a text node.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Text node to modify |\n| `text` | string | Yes | New text content |\n\n#### `figma_set_opacity`\nSet node transparency.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node to modify |\n| `opacity` | number | Yes | Opacity (0-1) |\n\n#### `figma_set_visible`\nShow or hide nodes. Use this rather than binding a BOOLEAN variable or setting opacity to 0 just to hide something.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Nodes to show or hide |\n| `visible` | boolean | Yes | `true` to show, `false` to hide |\n\n#### `figma_set_clips_content`\nSet whether frame-like nodes clip their children to the frame bounds. Works on `FRAME`, `COMPONENT`, `COMPONENT_SET`, `INSTANCE`, `SLOT`, `SLIDE`.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Nodes to modify |\n| `clipsContent` | boolean | Yes | `true` to clip, `false` to let children overflow |\n\n#### `figma_set_corner_radius`\nSet corner radius.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node to modify |\n| `radius` | number | No | Uniform radius for all corners |\n| `topLeft` | number | No | Top-left corner radius |\n| `topRight` | number | No | Top-right corner radius |\n| `bottomLeft` | number | No | Bottom-left corner radius |\n| `bottomRight` | number | No | Bottom-right corner radius |\n\n#### `figma_set_effects`\nSet effects (shadows, blurs).\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node to modify |\n| `effects` | array | Yes | Array of effect objects |\n\n**Shadow effect:**\n```json\n{\n  \"type\": \"DROP_SHADOW\",\n  \"color\": { \"color\": \"#000000\" },\n  \"offset\": { \"x\": 0, \"y\": 4 },\n  \"radius\": 8,\n  \"spread\": 0,\n  \"visible\": true\n}\n```\n\n**Blur effect:**\n```json\n{\n  \"type\": \"LAYER_BLUR\",\n  \"radius\": 10,\n  \"visible\": true\n}\n```\n\n#### `figma_apply_style`\nApply a style to a node: a local style, or a library style once `figma_import_library_style` has returned its local id.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node to apply style to |\n| `styleId` | string | Yes | Style ID |\n| `property` | string | Yes | Property: `fills`, `strokes`, `text`, `effects`, `grid` |\n\n#### `figma_set_variable`\nSet variable value or bind to node property.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `variableId` | string | Yes | Variable ID |\n| `modeId` | string | No | Mode ID (for setting value) |\n| `value` | any | No | Value to set |\n| `nodeId` | string | No | Node ID (for binding). A style ID here is routed to the style path |\n| `styleId` | string | No | Local style ID to bind instead of a node (TEXT or PAINT styles) |\n| `field` | string | No | Field to bind (`opacity`, `cornerRadius`, `fills`, etc.; text styles: `fontSize`, `lineHeight`, `fontFamily`, …; paint styles: `paints`) |\n| `paintIndex` | number | No | Paint array index for fills/strokes (default 0) |\n\n#### `figma_set_text_style`\nSet text font properties on an existing text node.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Text node ID |\n| `fontSize` | number | No | Font size in pixels |\n| `fontFamily` | string | No | Font family (e.g., \"Inter\") |\n| `fontStyle` | string | No | Font style (e.g., \"Bold\", \"Regular\") |\n| `textCase` | string | No | `ORIGINAL`, `UPPER`, `LOWER`, `TITLE` |\n| `textDecoration` | string | No | `NONE`, `UNDERLINE`, `STRIKETHROUGH` |\n| `lineHeight` | object | No | `{ unit: \"AUTO\" }` or `{ unit: \"PIXELS\", value: 24 }` |\n| `letterSpacing` | object | No | `{ unit: \"PIXELS\", value: 1 }` or `{ unit: \"PERCENT\", value: 5 }` |\n| `textAlignHorizontal` | string | No | `LEFT`, `CENTER`, `RIGHT`, `JUSTIFIED` |\n| `textAlignVertical` | string | No | `TOP`, `CENTER`, `BOTTOM` |\n\n#### `figma_create_paint_style`\nCreate a local paint (color) style.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `name` | string | Yes | Style name (use `/` for folders, e.g., \"Brand/Primary\") |\n| `fills` | color | Yes | Fill color |\n| `description` | string | No | Style description |\n\n#### `figma_create_text_style`\nCreate a local text style.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `name` | string | Yes | | Style name (use `/` for folders) |\n| `fontFamily` | string | No | `\"Inter\"` | Font family |\n| `fontStyle` | string | No | `\"Regular\"` | Font style |\n| `fontSize` | number | No | `16` | Font size in pixels |\n| `lineHeight` | object | No | | Line height |\n| `letterSpacing` | object | No | | Letter spacing |\n| `textCase` | string | No | | Text case transformation |\n| `textDecoration` | string | No | | Text decoration |\n| `description` | string | No | | Style description |\n\n#### `figma_delete_style`\nDelete a local style (paint, text, effect or grid). Library styles return `REMOTE_STYLE`. Nodes using the style keep their resolved values but lose the link. Find IDs with `figma_search_styles`.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `styleId` | string | Yes | Style ID to delete (e.g. `\"S:abc123...\"`) |\n\n---\n\n### Layout Commands\n\n#### `figma_set_auto_layout`\nConfigure auto-layout on a frame.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Frame to configure |\n| `layoutMode` | string | No | `NONE`, `HORIZONTAL`, `VERTICAL` |\n| `primaryAxisSizingMode` | string | No | `FIXED`, `AUTO` |\n| `counterAxisSizingMode` | string | No | `FIXED`, `AUTO` |\n| `primaryAxisAlignItems` | string | No | `MIN`, `CENTER`, `MAX`, `SPACE_BETWEEN` |\n| `counterAxisAlignItems` | string | No | `MIN`, `CENTER`, `MAX`, `BASELINE` |\n| `paddingTop` | number | No | Top padding |\n| `paddingRight` | number | No | Right padding |\n| `paddingBottom` | number | No | Bottom padding |\n| `paddingLeft` | number | No | Left padding |\n| `itemSpacing` | number | No | Space between items |\n| `counterAxisSpacing` | number | No | Space between rows when wrapped |\n| `layoutWrap` | string | No | `NO_WRAP`, `WRAP` |\n\n#### `figma_set_layout_align`\nSet child alignment in auto-layout.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Child node to modify |\n| `layoutAlign` | string | No | `MIN`, `CENTER`, `MAX`, `STRETCH`, `INHERIT` |\n| `layoutGrow` | number | No | Growth factor (0-1) |\n| `layoutPositioning` | string | No | `AUTO`, `ABSOLUTE` |\n\n---\n\n### Transform Commands\n\n#### `figma_move_nodes`\nMove nodes to a new position.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Nodes to move |\n| `x` | number | No | X position or offset |\n| `y` | number | No | Y position or offset |\n| `relative` | boolean | No | If true, x/y are offsets (default false) |\n\n#### `figma_resize_nodes`\nResize nodes. The resulting size is verified (`RESIZE_NO_OP` when nothing changed), and width/height variable bindings are captured before the write and re-applied afterwards — recovered binds appear in `rebound`, unrecoverable ones in `warnings`. Resizing a node inside an `INSTANCE` returns `INSTANCE_SUBLAYER_RESTRICTED` rather than a false success; use `figma_set_layout_align: STRETCH`, which works inside instances and preserves binds.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Nodes to resize |\n| `width` | number | No | New width |\n| `height` | number | No | New height |\n\n#### `figma_set_size_limits`\nSet or **clear** min/max size limits. Pass a positive number to set, explicit `null` to remove — so `maxWidth` is no longer a one-way door. Limits apply to auto-layout frames and their direct children; anything else gets a warning. Every write is verified (`LIMIT_NOT_APPLIED` / `LIMIT_NOT_CLEARED`).\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Nodes to update |\n| `minWidth` | number/null | No | Minimum width; `null` clears, omit to leave unchanged |\n| `maxWidth` | number/null | No | Maximum width; `null` clears, omit to leave unchanged |\n| `minHeight` | number/null | No | Minimum height; `null` clears, omit to leave unchanged |\n| `maxHeight` | number/null | No | Maximum height; `null` clears, omit to leave unchanged |\n\n#### `figma_delete_nodes`\nDelete nodes.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Nodes to delete |\n\n#### `figma_group_nodes`\nGroup multiple nodes.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `nodeIds` | string[] | Yes | | Nodes to group |\n| `name` | string | No | `\"Group\"` | Group name |\n\n#### `figma_ungroup_nodes`\nUngroup group nodes.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Group nodes to ungroup |\n\n#### `figma_rename_node`\nRename nodes.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | No | Single node ID |\n| `nodeIds` | string[] | No | Batch node IDs |\n| `name` | string | Yes | New name |\n\n#### `figma_reorder_node`\nChange z-order (layer order) among siblings.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node to reorder |\n| `position` | string/number | Yes | `\"front\"`, `\"back\"`, or the **final** zero-based index |\n\nA numeric `position` is the final index the node ends up at — ask for 2 and it is at 2 when the call returns. Figma sorts `children` back-to-front, so **0 is the bottom** of the layer stack and `childCount - 1` is the top; `\"back\"` is 0 and `\"front\"` is the last index. Out-of-range indices are clamped and the response reports `clamped: true` with a message. The final index is read back and verified — a mismatch fails with `REORDER_FAILED` instead of reporting success.\n\nReordering children of an `INSTANCE` is blocked by Figma and returns `INSTANCE_SUBLAYER_RESTRICTED`; reorder on the component master instead.\n\n#### `figma_set_constraints`\nSet resize constraints (non-auto-layout frames only).\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node to configure |\n| `horizontal` | string | No | `MIN`, `CENTER`, `MAX`, `STRETCH`, `SCALE` |\n| `vertical` | string | No | `MIN`, `CENTER`, `MAX`, `STRETCH`, `SCALE` |\n\n---\n\n### Navigation Commands\n\n#### `figma_set_selection`\nSet the current selection.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Nodes to select (empty to clear) |\n\n#### `figma_set_current_page`\nSwitch to a different page.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `pageId` | string | Yes | Page ID to switch to |\n\n---\n\n### Export Commands\n\n#### `figma_export_node`\nExport a node as an image. **The image is written to disk and the file path is returned** — read that file to view the render.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `nodeId` | string | Yes | | Node to export |\n| `format` | string | No | `\"PNG\"` | Format: `PNG`, `SVG`, `JPG`, `PDF` |\n| `scale` | number | No | `1` | Export scale (1 = 100%) |\n| `outputPath` | string | No | | Absolute file path to write to. Parent directories are created. |\n| `returnBase64` | boolean | No | `false` | Return base64 data inline instead of writing a file |\n\n**Returns:** `{ success, nodeId, path, format, scale, bytes }` — no inline image data.\n\nOmit `outputPath` and the file lands at `<tmpdir>/figma-mcp-bridge/<node-id>-<timestamp>.<ext>`. This is file-first by design: inline base64 can't be viewed, which used to force callers to inflate `scale` until the response was large enough to spill to a readable file. An unwritable path fails with `EXPORT_WRITE_FAILED` rather than silently losing the export.\n\n---\n\n### Component Commands\n\n#### `figma_detach_instance`\nDetach instance from component (converts to frame).\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Instance to detach |\n\n#### `figma_swap_instance`\nSwap a component instance to use a different component.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `instanceId` | string | Yes | Instance node ID to swap |\n| `newComponentId` | string | Yes | Component ID to swap to |\n\n#### `figma_import_library_component`\nImport a component or component set published from a team library, by key. Returns the imported `nodeId` (usable as `componentId` anywhere), `name`, `key`, `remote` and `componentPropertyDefinitions` — each property's `type` (`VARIANT`, `TEXT`, `BOOLEAN`, `INSTANCE_SWAP`), `defaultValue` and `variantOptions`. A set also returns `defaultVariant`, `variantCount` and `variants` (`id`, `name`, `key`, `variantProperties`); a variant returns its `variantProperties` and `parentSet`. A key that is not a published library component fails with `LIBRARY_IMPORT_FAILED`.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `key` | string | Yes | | Component or component set key |\n| `kind` | string | No | `auto` | `auto` (tries a set, then a component), `component` or `componentSet` |\n| `includeVariants` | boolean | No | `true` | List each variant of a set |\n\nAn existing instance's keys are in its `figma_get_nodes` read: `mainComponent.key` and `mainComponent.parentSet.key`.\n\n#### `figma_import_library_style`\nImport published text, paint, effect or grid styles by key. Returns each style's local `id` for `figma_apply_style`, with `name`, `type` and `key`. Keys import in parallel; any that fail are listed in `errors` (`LIBRARY_IMPORT_FAILED`) and make the call an error, with the imported styles still listed.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `key` | string | One of | One style key |\n| `keys` | string[] | One of | Several style keys (at most 50) |\n\n#### `figma_set_instance_properties`\nSet component properties on an instance: variants, `TEXT`, `BOOLEAN`, and `INSTANCE_SWAP` (by component ID or library component key). Figma suffixes non-variant property names with `#id` (`Label#12:0`); the base name works when unambiguous. Names and values are checked against the main component's definitions first, so a typo fails with `INVALID_PROPERTIES` listing the valid choices, and every value is verified by readback (`PROPERTIES_NOT_APPLIED`).\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `instanceId` | string | Yes | Instance node ID |\n| `properties` | object | Yes | `{ name: string \\| boolean }`, e.g. `{ \"Variant\": \"Secondary\", \"Label\": \"Cancel\", \"Show icon\": true }` |\n\nReturns `applied` (full names), `mainComponent` (which follows the variant), `componentProperties`, `width` and `height`.\n\n#### `figma_replace_with_instance`\nReplace a node — typically a hand-made control — with an instance, in the same parent at the same layer index. Outside auto-layout (or when absolutely positioned) the instance takes the target's `x`/`y` and constraints; inside auto-layout it takes `FILL` on any axis the target filled. Hug/fixed sizes come from the component unless `matchSize` is set. The target is deleted only after the instance is fully set up; on any failure the instance is removed and the target is left as it was. A component or component set cannot be the target (deleting it would detach its instances).\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `targetId` | string | Yes | Node to replace |\n| `componentId` | string | One of | Component or set ID in this file |\n| `componentKey` | string | One of | Published library component or set key |\n| `properties` | object | No | Component properties, as in `figma_set_instance_properties` |\n| `textProperty` | string | No | TEXT property that receives the target's text (its own, or its first text layer's); an explicit value in `properties` wins |\n| `matchSize` | boolean | No | Resize to the target's width/height (filled axes stay `FILL`) |\n| `name` | string | No | Instance name |\n\nReturns `nodeId`, `replacedId`, `copiedText`, `mainComponent` and `componentProperties`.\n\n#### `figma_combine_as_variants`\nCombine multiple components into a component set with variants.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `componentIds` | string[] | Yes | Array of component IDs (minimum 2). Components must use variant naming (e.g., \"Size=Large\") |\n\n---\n\n### Variable Management Commands\n\n#### `figma_create_variable_collection`\nCreate a new variable collection to organize variables.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `name` | string | Yes | Collection name |\n| `modes` | string[] | No | Mode names (defaults to `[\"Mode 1\"]`) |\n\n#### `figma_create_variable`\nCreate a new variable in a collection.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `collectionId` | string | Yes | Variable collection ID |\n| `name` | string | Yes | Variable name (use `/` for groups, e.g., \"colors/primary\") |\n| `type` | string | Yes | `COLOR`, `FLOAT`, `STRING`, or `BOOLEAN` |\n| `value` | any | No | Initial value for default mode |\n| `aliasOf` | string | No | Variable ID to alias (instead of direct value) |\n| `description` | string | No | Variable description |\n| `scopes` | string[] | No | Where this variable can be used |\n\n#### `figma_rename_variable`\nRename an existing variable.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `variableId` | string | Yes | Variable ID to rename |\n| `name` | string | Yes | New name (use `/` for groups) |\n\n#### `figma_delete_variables`\nDelete one or more variables.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `variableIds` | string[] | Yes | Array of variable IDs to delete |\n\n#### `figma_rename_variable_collection`\nRename a variable collection.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `collectionId` | string | Yes | Collection ID to rename |\n| `name` | string | Yes | New name |\n\n#### `figma_delete_variable_collection`\nDelete a variable collection and all its variables.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `collectionId` | string | Yes | Collection ID to delete |\n\n#### `figma_add_mode`\nAdd a new mode to a variable collection.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `collectionId` | string | Yes | Collection ID to add mode to |\n| `name` | string | Yes | Name for the new mode |\n\n#### `figma_rename_mode`\nRename a mode in a variable collection.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `collectionId` | string | Yes | Collection ID containing the mode |\n| `modeId` | string | Yes | Mode ID to rename |\n| `name` | string | Yes | New name for the mode |\n\n#### `figma_delete_mode`\nDelete a mode from a variable collection.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `collectionId` | string | Yes | Collection ID containing the mode |\n| `modeId` | string | Yes | Mode ID to delete |\n\n#### `figma_set_variable_mode`\nPin an explicit variable mode on nodes **or pages**, or clear an existing pin. This is how a preview/page frame is made to resolve a particular mode (e.g. a mobile frame pinned to the Spacing collection's `mobile` mode) — no more cloning a frame just to inherit its mode. Pins are per-collection and travel through clones and instances, so `clear: true` is the fix for a bad inherited pin. The response echoes each node's resulting `explicitVariableModes` (`{}` means nothing is pinned).\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `nodeIds` | string[] | Yes | | Node IDs or page IDs to pin/unpin |\n| `collectionId` | string | Yes | | Variable collection the pin applies to |\n| `modeId` | string | No | | Mode to pin. Required unless `clear` is true |\n| `clear` | boolean | No | `false` | Remove this collection's pin instead of setting one |\n\n#### `figma_unbind_variable`\nRemove a variable binding from a node property. On a min/max size field it also clears the residual literal (reported as `previousLiteral` / `clearedLiteral`) — without that, unbinding `maxWidth` freezes the last resolved number as a permanent clamp.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `nodeId` | string | Yes | | Node ID to unbind from |\n| `field` | string | Yes | | Field to unbind (`fills`, `strokes`, `opacity`, `maxWidth`, etc.) |\n| `paintIndex` | number | No | `0` | Paint array index for fills/strokes |\n\n---\n\n### Page Management Commands\n\n> **FigJam restriction:** `figma_create_page` and `figma_duplicate_page` are **Figma Design only**. The FigJam plugin runtime does not expose `figma.createPage()` or `PageNode.clone()`. FigJam files can have multiple pages, but they must be created via the FigJam UI — plugins cannot create them programmatically. Calling these tools in FigJam returns `FIGMA_DESIGN_ONLY`. Other page operations (rename, delete, list, switch current page) work in both editors.\n\n#### `figma_create_page`\nCreate a new page in the document. **Figma Design only.**\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `name` | string | Yes | Name for the new page |\n| `index` | number | No | Position in the page list (0 = first). Defaults to end. |\n\n#### `figma_rename_page`\nRename an existing page.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `pageId` | string | Yes | Page ID to rename |\n| `name` | string | Yes | New name for the page |\n\n#### `figma_delete_page`\nDelete a page from the document.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `pageId` | string | Yes | Page ID to delete |\n\n> **Note**: Cannot delete the last remaining page.\n\n#### `figma_duplicate_page`\nClone an entire page including all its contents. **Figma Design only.**\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `pageId` | string | Yes | Page ID to duplicate |\n| `name` | string | No | Name for the new page (defaults to \"original name + copy\") |\n\n---\n\n### FigJam Commands\n\nThese tools target FigJam-only node types (sticky notes, flowchart shapes, connectors, tables, code blocks, link previews). They return `WRONG_EDITOR` if called against a Figma design file. **Sections (`figma_create_section` / `figma_set_section`) are the exception — they work in both editors.**\n\n#### `figma_create_sticky`\nCreate a sticky note. Default size is fixed (240×240); width/height are not configurable. Text is set via the embedded sublayer (font auto-loaded).\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `text` | string | No | | Sticky note body text |\n| `fills` | color | No | | Background color of the sticky |\n| `isWideWidth` | boolean | No | | Use the wide rectangular sticky variant |\n| `parentId` | string | No | | Parent node ID (defaults to current page) |\n\n> **Author info is read-only at runtime.** Figma's plugin docs list `authorName` and `authorVisible` as R/W on `StickyNode`, but the FigJam runtime rejects writes with \"no setter for property\". Figma auto-populates both from the active user's identity, so the labeling works correctly without programmatic control.\n\n#### `figma_set_sticky`\nToggle a sticky between square and wide-rectangle variants. Use `figma_set_text` to change the body text.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `STICKY` node ID |\n| `isWideWidth` | boolean | No | Wide vs square sticky |\n\n#### `figma_create_shape_with_text`\nCreate a flowchart shape with embedded text. Use `ROUNDED_RECTANGLE` for processes, `DIAMOND` for decisions, `ENG_DATABASE` for data stores. `cornerRadius` is fixed by `shapeType` and cannot be set.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `width` | number | No | `208` | Width in pixels |\n| `height` | number | No | `208` | Height in pixels |\n| `shapeType` | string | Yes | | See list below |\n| `text` | string | No | | Embedded text content |\n| `fills` | color | No | | Shape fill color |\n| `strokes` | color | No | | Shape stroke color |\n| `strokeWeight` | number | No | | Stroke weight in pixels |\n| `parentId` | string | No | | Parent node ID |\n\n**Shape types (30 values):** `SQUARE`, `ELLIPSE`, `ROUNDED_RECTANGLE`, `DIAMOND`, `TRIANGLE_UP`, `TRIANGLE_DOWN`, `PARALLELOGRAM_RIGHT`, `PARALLELOGRAM_LEFT`, `ENG_DATABASE`, `ENG_QUEUE`, `ENG_FILE`, `ENG_FOLDER`, `TRAPEZOID`, `PREDEFINED_PROCESS`, `SHIELD`, `DOCUMENT_SINGLE`, `DOCUMENT_MULTIPLE`, `MANUAL_INPUT`, `HEXAGON`, `CHEVRON`, `PENTAGON`, `OCTAGON`, `STAR`, `PLUS`, `ARROW_LEFT`, `ARROW_RIGHT`, `SUMMING_JUNCTION`, `OR`, `SPEECH_BUBBLE`, `INTERNAL_STORAGE`.\n\n#### `figma_set_shape_type`\nChange the shape variant of an existing shape-with-text node.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `SHAPE_WITH_TEXT` node ID |\n| `shapeType` | string | Yes | New shape type (see list above) |\n\n#### `figma_create_connector`\nCreate an arrow / connector between nodes. Default `endCap` is `ARROW_EQUILATERAL` so connectors look like arrows without configuration. Endpoints can attach via magnets, fixed positions on a node, or be free-floating on the canvas.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `start` | endpoint | No | | Start endpoint (see endpoint shape below) |\n| `end` | endpoint | No | | End endpoint |\n| `lineType` | string | No | `\"ELBOWED\"` | `ELBOWED`, `STRAIGHT`, or `CURVED` |\n| `startCap` | string | No | `\"NONE\"` | Decoration at start |\n| `endCap` | string | No | `\"ARROW_EQUILATERAL\"` | Decoration at end |\n| `text` | string | No | | Center label text |\n| `strokes` | color | No | | Line color |\n| `strokeWeight` | number | No | | Line thickness |\n| `parentId` | string | No | | Parent node ID |\n\n**Endpoint shapes** (one of):\n- `{ nodeId, magnet }` — attach to a node with a magnet (`AUTO`, `TOP`, `LEFT`, `BOTTOM`, `RIGHT`, `CENTER`, `NONE`)\n- `{ nodeId, position: { x, y } }` — attach to a node at a fixed position relative to it\n- `{ position: { x, y } }` — free-floating on canvas at absolute coordinates\n\n**Stroke caps:** `NONE`, `ARROW_EQUILATERAL`, `ARROW_LINES`, `TRIANGLE_FILLED`, `CIRCLE_FILLED`, `DIAMOND_FILLED`.\n\n> **Magnet rule:** `STRAIGHT` connectors only support `CENTER` or `NONE` magnets. `ELBOWED` and `CURVED` accept all six. Validation runs server-side.\n\n#### `figma_set_connector`\nModify an existing connector's endpoints, line type, end caps, or label.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `CONNECTOR` node ID |\n| `start` | endpoint | No | Replacement start endpoint |\n| `end` | endpoint | No | Replacement end endpoint |\n| `lineType` | string | No | New line routing type |\n| `startCap` | string | No | New start decoration |\n| `endCap` | string | No | New end decoration |\n| `text` | string | No | Replacement label text |\n\n#### `figma_create_section`\nCreate a labeled section. **Works in both Figma design files and FigJam.** Supports Dev Mode handoff status.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `width` | number | No | `600` | Width in pixels |\n| `height` | number | No | `400` | Height in pixels |\n| `name` | string | No | | Section label |\n| `fills` | color | No | | Section background fill |\n| `sectionContentsHidden` | boolean | No | | Visually collapse the section's contents |\n| `devStatus` | string | No | | `READY_FOR_DEV` or `COMPLETED` (only valid directly under a page or another section) |\n| `devStatusDescription` | string | No | | Optional description shown with the dev status |\n| `parentId` | string | No | | Parent node ID |\n\n#### `figma_set_section`\nUpdate a section's name, dev status, or content visibility. Pass `devStatus: null` to clear it.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `SECTION` node ID |\n| `name` | string | No | New section label |\n| `sectionContentsHidden` | boolean | No | Show or hide section contents |\n| `devStatus` | string\\|null | No | `READY_FOR_DEV`, `COMPLETED`, or `null` |\n| `devStatusDescription` | string | No | Description shown with dev status |\n\n#### `figma_create_table`\nCreate a table for documentation or structured data. Optionally seed initial cell content.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `numRows` | number | No | `2` | Number of rows |\n| `numColumns` | number | No | `2` | Number of columns |\n| `cells` | array | No | | Initial cells: `[{ row, column, text?, fills? }]` |\n| `fills` | color | No | | Table background fill |\n| `parentId` | string | No | | Parent node ID |\n\n#### `figma_set_table_cell`\nSet the text and/or fill color of a single table cell.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `TABLE` node ID |\n| `row` | number | Yes | Row index (0-based) |\n| `column` | number | Yes | Column index (0-based) |\n| `text` | string | No | New cell text |\n| `fills` | color | No | New cell background fill |\n\n#### `figma_insert_table_row` / `figma_insert_table_column`\nInsert a row/column at the given index (existing rows/columns at and after the index shift).\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `TABLE` node ID |\n| `rowIndex` / `columnIndex` | number | Yes | Insert position (0 = top/leftmost) |\n\n#### `figma_remove_table_row` / `figma_remove_table_column`\nRemove a row/column.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `TABLE` node ID |\n| `rowIndex` / `columnIndex` | number | Yes | Index to remove |\n\n#### `figma_resize_table_row` / `figma_resize_table_column`\nSet row height / column width.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `TABLE` node ID |\n| `rowIndex` / `columnIndex` | number | Yes | Target index |\n| `height` (row) / `width` (column) | number | Yes | New dimension in pixels |\n\n#### `figma_move_table_row` / `figma_move_table_column`\nReorder rows/columns.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `TABLE` node ID |\n| `fromIndex` | number | Yes | Source index |\n| `toIndex` | number | Yes | Destination index |\n\n#### `figma_create_code_block`\nCreate a syntax-highlighted code block for documentation.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `code` | string | Yes | | Code text content |\n| `codeLanguage` | string | No | `\"PLAINTEXT\"` | Syntax highlighting language |\n| `parentId` | string | No | | Parent node ID |\n\n**Languages (17 values):** `TYPESCRIPT`, `CPP`, `RUBY`, `CSS`, `JAVASCRIPT`, `HTML`, `JSON`, `GRAPHQL`, `PYTHON`, `GO`, `SQL`, `SWIFT`, `KOTLIN`, `RUST`, `BASH`, `PLAINTEXT`, `DART`.\n\n#### `figma_set_code_block`\nUpdate an existing code block's code text or language.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | The `CODE_BLOCK` node ID |\n| `code` | string | No | New code text |\n| `codeLanguage` | string | No | New syntax-highlighting language |\n\n#### `figma_create_link_preview`\nCreate a rich link preview from a URL. Returns either an `EMBED` (iframe; works for OEmbed providers like YouTube/Spotify) or a `LINK_UNFURL` (rich card from OpenGraph/Twitter Card metadata) — the response includes `nodeType` so callers know which.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `x` | number | No | `0` | X position |\n| `y` | number | No | `0` | Y position |\n| `url` | string | Yes | | The URL to preview |\n| `parentId` | string | No | | Parent node ID |\n\n#### Building a flowchart end-to-end\n\n```javascript\n// 1. Section to wrap the diagram\nfigma_create_section({ x: 0, y: 0, width: 1000, height: 600, name: \"User signup flow\" })\n// → returns { node: { id: 'XX:1', ... } }\n\n// 2. Process steps as shapes-with-text\nfigma_create_shape_with_text({\n  x: 40, y: 80, width: 200, height: 80,\n  shapeType: 'ROUNDED_RECTANGLE',\n  text: 'Start',\n  parentId: 'XX:1'\n})\nfigma_create_shape_with_text({\n  x: 320, y: 80, width: 200, height: 120,\n  shapeType: 'DIAMOND',\n  text: 'Email valid?',\n  parentId: 'XX:1'\n})\n// ...etc.\n\n// 3. Connectors between them\nfigma_create_connector({\n  start: { nodeId: 'XX:2', magnet: 'AUTO' },\n  end:   { nodeId: 'XX:3', magnet: 'AUTO' },\n  lineType: 'ELBOWED',\n  parentId: 'XX:1'\n})\n// endCap defaults to ARROW_EQUILATERAL — you get an arrow without specifying\n\n// 4. Add a sticky for context\nfigma_create_sticky({\n  x: 600, y: 80,\n  text: 'TODO: rate-limit this endpoint',\n  parentId: 'XX:1'\n})\n```\n\n#### FigJam node types not creatable via this MCP\n\n`STAMP`, `HIGHLIGHT`, `WASHI_TAPE`, `WIDGET`, and `MEDIA` cannot be created from a non-widget plugin (Figma's API doesn't expose factory methods, or requires a pre-uploaded image hash). They can still be cloned, moved, deleted, and serialized through existing tools — they just can't be created from scratch.\n\n---\n\n### Prototype Commands\n\nThese tools set up prototype interactions on **Figma Design** nodes. They operate on the `reactions` array (read/written via `setReactionsAsync`) and the page-level `flowStartingPoints` list. They are not applicable to FigJam files.\n\n#### `figma_get_reactions`\nRead all reactions currently set on a node.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node ID to read reactions from |\n\nReturns the full `reactions` array including trigger and actions details for each reaction.\n\n#### `figma_add_reaction`\nAdd a prototype interaction to a node. Existing reactions are preserved — each call appends one new reaction.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node ID to add the reaction to |\n| `trigger` | object | Yes | What initiates the interaction (see Trigger types below) |\n| `action` | object | Yes | What happens when the trigger fires (see Action types below) |\n\n**Trigger types:**\n\n| `type` | Extra fields | Description |\n|--------|-------------|-------------|\n| `ON_CLICK` | — | Tap / click |\n| `ON_HOVER` | — | Hover |\n| `ON_PRESS` | — | Press and hold |\n| `ON_DRAG` | — | Drag |\n| `ON_MEDIA_END` | — | Media playback ends |\n| `AFTER_TIMEOUT` | `timeout` (ms) | Auto-advance after delay |\n| `MOUSE_UP` | `delay` (ms) | Mouse button released |\n| `MOUSE_DOWN` | `delay` (ms) | Mouse button pressed |\n| `MOUSE_ENTER` | `delay` (ms) | Cursor enters element |\n| `MOUSE_LEAVE` | `delay` (ms) | Cursor leaves element |\n| `ON_KEY_DOWN` | `keyCodes` (number[]), `device` | Key pressed |\n| `ON_MEDIA_HIT` | `mediaHitTime` (seconds) | Media reaches timestamp |\n\n`device` values for `ON_KEY_DOWN`: `KEYBOARD` (default), `XBOX_ONE`, `PS4`, `SWITCH_PRO`, `UNKNOWN_CONTROLLER`.\n\n**Action types:**\n\n| `type` | Key fields | Description |\n|--------|-----------|-------------|\n| `NODE` | `destinationId`, `navigation`, `transition` | Navigate to / open / scroll to a frame |\n| `BACK` | — | Go back to previous frame |\n| `CLOSE` | — | Close the current overlay |\n| `URL` | `url`, `openInNewTab` (bool) | Open a URL — set `openInNewTab: true` to open in a new tab |\n\nFor `NODE` actions, the `navigation` field controls the behaviour:\n\n| `navigation` | Description |\n|-------------|-------------|\n| `NAVIGATE` | Navigate to destination frame (default) |\n| `OVERLAY` | Open destination as an overlay |\n| `SWAP` | Swap the current frame with destination |\n| `SCROLL_TO` | Scroll to destination within the current frame |\n| `CHANGE_TO` | Change component to a different variant |\n\n**Transition object** (optional, for `NODE` actions):\n\n| Field | Values | Notes |\n|-------|--------|-------|\n| `type` | `DISSOLVE`, `SMART_ANIMATE`, `SCROLL_ANIMATE` | Simple transitions — no `direction` |\n| `type` | `MOVE_IN`, `MOVE_OUT`, `PUSH`, `SLIDE_IN`, `SLIDE_OUT` | Directional — requires `direction` |\n| `direction` | `LEFT`, `RIGHT`, `TOP`, `BOTTOM` | Required for directional types |\n| `matchLayers` | boolean (default `false`) | Smart-match shared layers — directional types only |\n| `duration` | number (seconds) | Default `0.3` |\n| `easing.type` | `LINEAR`, `EASE_IN`, `EASE_OUT`, `EASE_IN_AND_OUT`, `EASE_IN_BACK`, `EASE_OUT_BACK`, `EASE_IN_AND_OUT_BACK`, `CUSTOM_CUBIC_BEZIER`, `GENTLE`, `QUICK`, `BOUNCY`, `SLOW`, `CUSTOM_SPRING` | `GENTLE`/`QUICK`/`BOUNCY`/`SLOW` are spring presets |\n\n**Example — click to navigate with a slide transition:**\n```javascript\nfigma_add_reaction({\n  nodeId: '10:5',\n  trigger: { type: 'ON_CLICK' },\n  action: {\n    type: 'NODE',\n    destinationId: '10:20',\n    navigation: 'NAVIGATE',\n    transition: {\n      type: 'SLIDE_IN',\n      direction: 'LEFT',\n      duration: 0.3,\n      easing: { type: 'EASE_OUT' }\n    }\n  }\n})\n```\n\n**Example — auto-advance after 3 seconds:**\n```javascript\nfigma_add_reaction({\n  nodeId: '10:5',\n  trigger: { type: 'AFTER_TIMEOUT', timeout: 3000 },\n  action: {\n    type: 'NODE',\n    destinationId: '10:30',\n    navigation: 'NAVIGATE',\n    transition: { type: 'DISSOLVE', duration: 0.5, easing: { type: 'EASE_IN_AND_OUT' } }\n  }\n})\n```\n\n#### `figma_remove_reaction`\nRemove a reaction from a node by its zero-based index. Use `figma_get_reactions` first to identify the index.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeId` | string | Yes | Node ID to remove the reaction from |\n| `index` | number | Yes | Zero-based index of the reaction to remove |\n\n#### `figma_set_flow_starting_point`\nSet or clear a prototype flow starting point. Flow starting points are page-level — Figma stores them on the parent `PageNode` as a list of `{ nodeId, name }` entries. The first entry is the default when entering Presentation view with nothing selected.\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `nodeId` | string | Yes | | `FRAME`, `COMPONENT`, or `COMPONENT_SET` node ID |\n| `flowName` | string | No | `\"Flow 1\"` | Display name for the flow. If the frame is already a starting point, its name is updated. |\n| `clear` | boolean | No | | If `true`, removes the flow starting point for this frame from the page |\n\n> Top-level frames (direct children of a page) are the typical starting points. The Figma typings mark `PageNode.flowStartingPoints` as `ReadonlyArray`, but the runtime accepts direct assignment — that's the documented (if quirky) pattern this tool uses internally.\n\n---\n\n### Structure Commands\n\n#### `figma_reparent_nodes`\nMove nodes to a different parent container.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Array of node IDs to move |\n| `newParentId` | string | Yes | New parent node ID (must be a frame, group, or page) |\n| `index` | number | No | Position within the new parent (0 = bottom/back). Defaults to top/front. |\n\n#### `figma_move_to_page`\nMove nodes from their current page to a different page.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Array of node IDs to move |\n| `targetPageId` | string | Yes | Destination page ID |\n| `x` | number | No | X position on target page |\n| `y` | number | No | Y position on target page |\n\n#### `figma_set_rotation`\nSet the rotation of one or more nodes.\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| `nodeIds` | string[] | Yes | Array of node IDs to rotate |\n| `rotation` | number | Yes | Rotation in degrees (-180 to 180) |\n| `pivot` | string | No | `center` (default) keeps the visual center in place; `top-left` is Figma's raw `node.rotation` behavior. Non-absolute auto-layout children always rotate about the top-left, with a warning |\n\n---\n\n## Token Optimization\n\n### Variable Queries\n\nUse `figma_search_variables` instead of `figma_get_local_variables`:\n\n```javascript\n// Inefficient (~25k+ tokens)\nfigma_get_local_variables({ type: 'ALL' })\n\n// Efficient (~500 tokens)\nfigma_search_variables({\n  namePattern: 'tailwind/orange/*',\n  type: 'COLOR',\n  compact: true,\n  limit: 50\n})\n```\n\n**`figma_search_variables` parameters:**\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `namePattern` | string | | Wildcard pattern (`*` = any chars) |\n| `nameContains` | string | | Case-insensitive substring match |\n| `type` | string | `\"ALL\"` | Variable type filter |\n| `collectionName` | string | | Collection name filter |\n| `compact` | boolean | `true` | Minimal data (id, name, value only) |\n| `limit` | number | `50` | Max results |\n\n### Node Traversal\n\nUse the `depth` parameter in `figma_get_nodes`:\n\n| Depth | Properties | Use Case |\n|-------|------------|----------|\n| `minimal` | ~5 | Tree traversal, finding nodes |\n| `compact` | ~10 | Layout inspection |\n| `full` | ~40 | Detailed node editing |\n\n### Finding Nodes\n\nUse search tools instead of traversing the full tree:\n\n```javascript\n// Find nodes by name within a page/frame\nfigma_search_nodes({\n  parentId: '1:2',           // Required scope\n  nameContains: 'button',    // Case-insensitive\n  types: ['FRAME', 'COMPONENT'],\n  compact: true\n})\n\n// Browse hierarchy one level at a time\nfigma_get_children({ parentId: '1:2' })\n\n// Find components by name\nfigma_search_components({ nameContains: 'Header' })\n\n// Find styles by name\nfigma_search_styles({ nameContains: 'primary', type: 'PAINT' })\n```\n\n| Tool | Use Case | Token Efficiency |\n|------|----------|------------------|\n| `figma_search_nodes` | Find frames/elements by name | ~50 tokens/node |\n| `figma_get_children` | Browse hierarchy level-by-level | ~50 tokens/node |\n| `figma_search_components` | Find specific components | ~50 tokens/result |\n| `figma_search_styles` | Find specific styles | ~30 tokens/result |\n\n---\n\n## Known Limitations\n\n- **No ES6 spread operator** in plugin code\n- **Constraints** don't work on auto-layout children (use `layoutAlign`)\n- **Lines** have height=0, use `length` parameter\n- **`detachInstance()`** also detaches ancestor instances\n- **Instance sublayers** can't be resized, size-bound, or reordered — Figma blocks these, and the bridge returns `INSTANCE_SUBLAYER_RESTRICTED` rather than a false success. Act on the component master, or use `figma_set_layout_align: STRETCH`\n- **30-second timeout** on all commands\n\n---\n\n## Troubleshooting\n\n### Plugin Not Connecting\n\n1. Ensure the MCP server is running.\n2. **Ask Claude what port the bridge is on** — the MCP server tells Claude its actual WebSocket port via the `instructions` field on session init, and Claude will surface it proactively when `figma_get_context` reports `connected: false`. You can also call `figma_server_info` directly to see the port.\n3. Match that port in the Figma plugin UI's port input.\n4. Re-run the plugin in Figma (`Cmd+Option+P`).\n\n### Port Already in Use\n\nThe server automatically tries ports 3055–3070 in order. The actual bound port may differ from the default if you have multiple sessions running. To force a specific port:\n```bash\nFIGMA_BRIDGE_PORT=3057 node src/index.js\n```\n\n### Multiple Claude Code Instances\n\nEach Claude Code instance spawns its own MC","readmeFilename":"README.md"}