Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Local Figma MCP server: frames to Flutter, React and HTML code, and design in Figma. No API limits.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"figmcp": {
"command": "npx",
"args": [
"-y",
"@irshad.io/figma-local-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add figmcp -- npx -y @irshad.io/figma-local-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"figmcp": {
"command": "npx",
"args": [
"-y",
"@irshad.io/figma-local-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"figmcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@irshad.io/figma-local-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub irshadio ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.6.0) เข้า registry 19 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Figma Context MCP, Claude Real Video, Figma MCP Server
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Let any LLM watch a video locally — and search everything it has ever watched.
server ทางการของ Figma ส่งข้อมูลงานออกแบบให้ AI อ่าน เพื่อเปลี่ยนแบบเป็นโค้ดหรืออธิบายแบบได้ตรงขึ้น ต่อผ่านคลาวด์ของ Figma
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Design and code, locally.
Turn Figma frames into Flutter and React code, and let your coding agent design in Figma.
No Figma API calls. No rate limits.
Website · Docs · Installation · Tools · Changelog
figmcp is a local MCP server that gives your coding agent the Figma file you have open in Figma Desktop. A development plugin streams the file to a server on your machine over localhost, so reads never touch the Figma REST API: no access token, no quota, no rate limit.
Works with Claude Code, Cursor, Claude Desktop and any MCP client that runs stdio servers.
Needs Node.js 18+ and Figma Desktop on macOS or Windows.
1. Run setup
npx -y @irshad.io/figma-local-mcp@latest setup
It registers the server with Claude Code, copies the Figma plugin to your home folder, and prints your pairing code and the config for other MCP clients.
2. Import the plugin (once)
In Figma Desktop, go to Plugins › Development › Import plugin from manifest… and choose:
| macOS | Windows |
|---|---|
~/.figma-local-mcp/plugin/manifest.json | %USERPROFILE%\.figma-local-mcp\plugin\manifest.json |
On macOS, press ⌘ ⇧ G in the file picker and paste the path. On Windows, paste it into the File name box.
3. Pair and ask
Restart your coding agent. In Figma Desktop, run Plugins › Development › figmcp and enter the pairing code. The dot turns green once it's connected. Then select a frame and ask:
implement the selected Figma frame
Keep the plugin window open while you work. Full guide: figmcp.web.app/docs/installation.
Select a frame, or paste a Figma link that has a node-id:
implement this frame as a Flutter screen and match the spacing exactly
build this frame as a React component with Tailwind, using our existing Button compare your screen with the Figma screenshot and fix the differences
Projects with a pubspec.yaml get Flutter widgets, and SVGs and images are saved into the asset folders the pubspec declares. Static sites get HTML + Tailwind, and everything else gets React + Tailwind. React output uses the real font families, declares the design's variables as CSS (with a Tailwind 4 @theme), writes repeated items as data with .map() and names reused text styles, names assets after their layers with copy commands for public/figma, turns prototype taps, layer names and placeholders into buttons, links, landmarks and inputs, draws phone frames as screens that fill the viewport and desktop frames as pages whose full-width sections stretch. Its classes work in Tailwind 3.4 and 4. The code is a reference that your agent adapts to your project. More →
Open the file in Figma Desktop, run the plugin and ask:
design a settings screen for a 390x844 phone in Figma
add a dark mode version of the selected frame next to it
The agent builds the design with use_figma and checks each step with a screenshot. Each script is one undo step. More →
map the selected button to AppButton in lib/widgets/app_button.dart
which components in this frame are not mapped yet?
Mapped instances come back as your own components. Mappings are saved in .figma-local/code-connect.json in your project. More →
Claude Code is registered by setup. Restart it and check with /mcp.
Cursor, Claude Desktop and other clients: add the config that setup prints. It looks like this, with paths for your machine:
{
"mcpServers": { "figma-local": { "command": "/usr/local/bin/node", "args": ["/Users/you/.figma-local-mcp/app/node_modules/@irshad.io/figma-local-mcp/bin/figma-local-mcp.js"] } } }
| Client | Config file |
|---|---|
| Cursor | ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project) |
| Claude Desktop (macOS) | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Desktop (Windows) | %APPDATA%\Claude\claude_desktop_config.json |
Step-by-step for each client, on macOS and Windows: figmcp.web.app/docs/configuration.
| Tool | What it does |
|---|---|
get_design_context | Reference code (Flutter or React + Tailwind), assets, a screenshot and variables for a node. The main tool. |
get_metadata | Layer tree as XML: ids, types, names, positions and sizes. |
get_screenshot | PNG of a node or the selection. |
get_variable_defs | Variables and styles used by a node, resolved for its mode. |
download_assets | Exported renders, original image fills and vector SVGs. |
verify_code | Render Flutter code with flutter test, or React or HTML + Tailwind in headless Chrome, and compare it with Figma's render: errors, layout mismatches, differing pixels and a diff image. |
use_figma | Run Figma plugin API scripts to create and edit designs. |
search_design_system | Components (with properties and variants), styles and variables of the open file, to reuse while designing. |
place_image | Put a local PNG, JPG, GIF or SVG into the open file, as a new layer or a layer's fill. |
get_code_connect_map | Which instances map to which code components. |
add_code_connect_map | Map a design component to a code component. |
remove_code_connect_map | Remove a component mapping. |
whoami | Connection status, pairing code, open file, selection and snapshots. |
save_design_export | Write a full design export of a node to JSON. |
import_design_export | Load an export JSON as a snapshot. |
Arguments for each tool: figmcp.web.app/docs/tools.
Figma Desktop ── WebSocket 127.0.0.1:3947 ──▶ figma-local-mcp ── MCP stdio ──▶ Coding agent
(dev plugin) paired with your code (node server) (Claude Code, Cursor, …)
The plugin reads the open file with the Figma plugin API and runs the scripts your agent sends. The server turns that into code, assets, screenshots and metadata. When the plugin is closed, reads fall back to the newest saved snapshot. More →
Set these in the env of your MCP client config.
| Variable | Default | Description |
|---|---|---|
FIGMA_LOCAL_MCP_DIR | ~/.figma-local-mcp | Data folder: plugin, pairing code, snapshots and assets. |
FIGMA_LOCAL_MCP_FRAMEWORK | Force flutter, react or html when the client doesn't say. | |
FIGMA_LOCAL_MCP_CODE_CONNECT | .figma-local/code-connect.json | Path of the Code Connect mappings file. |
FIGMA_LOCAL_MCP_ALLOW_ORIGINS | Comma separated extra origins the server accepts for the plugin. |
npx -y @irshad.io/figma-local-mcp@latest setup
Then restart your coding agent and run the plugin again. The plugin updates itself, so there's no need to import it again.
whoami.More fixes: figmcp.web.app/docs/troubleshooting. Still stuck? Open an issue with the output of whoami.
npm install
npm test
| Path | What |
|---|---|
bin/, src/ | The MCP server, plugin bridge and code generators |
plugin/ | The Figma development plugin |
tools/ | Visual and Flutter checks for generated code |
test/ | Tests (node --test) |
web/ | The website and docs (figmcp.web.app), Next.js on Firebase Hosting |
To work on the site: cd web && npm install && npm run dev. To publish it: npm run deploy.
MIT
Figma is a trademark of Figma, Inc. This project is not affiliated with Figma, Inc.