Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Compares a mobile app screen (Android or iOS Simulator) with its Figma design and suggests fixes.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
FIGMA_TOKEN, DRIFTCHECK_OUTPUT, DRIFTCHECK_EXPORTSค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"driftcheck": {
"command": "dnx",
"args": [
"Driftcheck",
"--yes"
],
"env": {
"FIGMA_TOKEN": "ใส่ค่าของคุณ",
"DRIFTCHECK_OUTPUT": "ใส่ค่าของคุณ",
"DRIFTCHECK_EXPORTS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add driftcheck --env FIGMA_TOKEN='ใส่ค่าของคุณ' --env DRIFTCHECK_OUTPUT='ใส่ค่าของคุณ' --env DRIFTCHECK_EXPORTS='ใส่ค่าของคุณ' -- dnx Driftcheck --yesเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"driftcheck": {
"command": "dnx",
"args": [
"Driftcheck",
"--yes"
],
"env": {
"FIGMA_TOKEN": "ใส่ค่าของคุณ",
"DRIFTCHECK_OUTPUT": "ใส่ค่าของคุณ",
"DRIFTCHECK_EXPORTS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"driftcheck": {
"type": "stdio",
"command": "dnx",
"args": [
"Driftcheck",
"--yes"
],
"env": {
"FIGMA_TOKEN": "ใส่ค่าของคุณ",
"DRIFTCHECK_OUTPUT": "ใส่ค่าของคุณ",
"DRIFTCHECK_EXPORTS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
DRIFTCHECK_OUTPUT envDRIFTCHECK_EXPORTS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub wilsonvargas ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: FIGMA_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry 10 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี .NET ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Driftcheck
Catch UI drift before your users do.
Your AI agent compares the app on the emulator with its Figma design, then fixes the differences.
Open the interactive report → · Design: Paylo kit by Marvilo (CC BY 4.0)
Driftcheck is a local MCP server. It captures the screen of an Android device or the iOS Simulator, compares it 1:1 with the Figma frame and gives your agent what it needs to close the gap:
Margin, android:layout_marginTop, Modifier.padding, .frame, EdgeInsets…It works with real-world design kits, where layers are called Frame or Text, and without a Figma token through the Driftcheck Figma plugin.
You need the .NET 10 SDK, plus adb for Android or Xcode for the iOS Simulator. Install Driftcheck in one click:
VS Code asks for your Figma token; leave it empty to use the Figma plugin instead. In Cursor, add the token to FIGMA_TOKEN in the server's configuration afterwards.
Or add it to any MCP client by hand; dotnet dnx downloads it from NuGet the first time:
{
"mcpServers": { "driftcheck": { "command": "dotnet", "args": ["dnx", "Driftcheck", "--yes"], "env": { "FIGMA_TOKEN": " " } } } }
With Claude Code:
claude mcp add driftcheck -e FIGMA_TOKEN=<your Figma token> -- dotnet dnx Driftcheck --yes
Then run your app and ask your agent:
Compare the app on the emulator with https://www.figma.com/design/…?node-id=… and fix the differences.
compare_screen answers with a report the agent can act on (excerpt from the demo):
**Fidelity: 75 %** — 15 of 20 elements as in Figma
| Element | Property | Figma | App |
|---|---|---|---|
| Nice to meet you | height | 31.5 | 25.5 |
| Text "Sign up with Google" | x | 131.9 | 125 |
| Shape "Sign up" | background | #DBC6F8 | #BAD1BB |
FontFamily="Inter", FontSize="32", CharacterSpacingBackgroundColor="#9E56FF" (it renders as #DBC6F8 in the design: the layer or a container has opacity)
Along with it come report.html (the interactive report above: slider, opacity, diff and side by side), side_by_side.png and diff.png.
| Device | How it reads the screen |
|---|---|
| Android emulator or device | adb: screencap + uiautomator dump (the AutomationId is the resource-id) |
| iOS Simulator (macOS) | simctl + an XCUITest helper that reads the accessibility tree (the AutomationId is the accessibilityIdentifier) |
Fix suggestions are written for .NET MAUI, Android views, Jetpack Compose, UIKit, SwiftUI and Flutter, or in plain terms if you don't pass a framework. The comparison itself doesn't depend on the framework: it works from what's on the screen.
| Tool | Use |
|---|---|
list_devices | Connected Android devices and booted iOS simulators |
get_design_specs | Sizes, colors, texts and fonts of the frame (before writing the UI code) |
capture_screen | Capture + app elements with their AutomationId |
compare_screen | Full design vs. app comparison: fidelity, differences, how to fix them and report.html |
import_design | Imports a .driftcheck.json from the Figma plugin that ended up outside Downloads |
Driftcheck downloads the frame once and keeps it in a local cache, recomputes Figma's auto layout, and matches layers to app elements by AutomationId, by visible text or by position. Texts are compared by their visible glyphs rather than their boxes, non-text layers are found in the screenshot by how they look, and a device slightly wider or narrower than the frame is handled by anchoring each element where it fits best. The full walkthrough is in How Driftcheck compares.
Figma limits how many calls a token can make, and on some seat types the quota is very low: once it runs out, it responds 429 with waits of days. That's why:
refresh=true to get_design_specs or compare_screen to download a frame that changed in Figma.429, the error says how long to wait.tools/figma-export-plugin exports the frame (JSON + 2x render) to a .driftcheck.json file without using the REST API. If it lands in Downloads, Driftcheck picks it up on its own from the frame link; if it lands in another folder, import it with import_design. See the plugin README.adb (detected from ANDROID_HOME, ANDROID_SDK_ROOT or the default paths on Windows and macOS)FIGMA_TOKEN environment variable with a Figma Personal Access Token (scope *File content: Read-only*), or the Figma plugin to work without the APIDRIFTCHECK_OUTPUT to change the output folder (default: driftcheck in the temp folder)DRIFTCHECK_EXPORTS to change where plugin exports are looked up (default: Downloads)get_design_specs provides it as a reference.git clone https://github.com/wilsonvargas/Driftcheck.git
cd Driftcheck dotnet build src/Driftcheck.Mcp
The .mcp.json at the root registers the server for MCP clients that read it when opening this folder. To use it from another project, add the server to your client's MCP configuration:
{
"mcpServers": { "driftcheck": { "command": "dotnet", "args": [" /src/Driftcheck.Mcp/bin/Debug/net10.0/Driftcheck.Mcp.dll"] } } }
src/Driftcheck.Mcp — MCP servertools/ios-accessibility-helper — UI test that dumps the iOS Simulator accessibility tree (copied next to the server on build)tools/figma-export-plugin — Figma plugin that exports a frame without the REST APIsamples/PayloMaui — MAUI test app with screens from the Paylo kit by Marvilo (CC BY 4.0) For the iOS Simulator: dotnet build -f net10.0-ios -p:TargetFrameworks=net10.0-ios (limiting TargetFrameworks avoids requiring the Mac Catalyst workload), then xcrun simctl install booted bin/Debug/net10.0-ios/iossimulator-arm64/PayloMaui.app and xcrun simctl launch booted com.companyname.paylomaui. The Xcode version must be the one the iOS workload asks for; if several are installed, pick it with DEVELOPER_DIR.samples/PayloNative — the same sign-up screen with native Android views (Java, no MAUI or AndroidX), to check that the comparison doesn't depend on MAUI. ./build.ps1 builds it with the SDK tools (no Gradle) and installs it on the emulatorsamples/PayloIos — the same screen with native iOS views (UIKit in Swift, no MAUI or storyboard). ./build.sh builds it with swiftc (no Xcode project) and installs it on the booted simulatortests/Driftcheck.Tests — comparer tests with synthetic screensdocs — the detailed comparison walkthrough and the demo report published on GitHub PagesTo compare the sample apps, open the Paylo kit in the Figma
ตัดมาแค่ช่วงต้น อ่านต่อใน repo