Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
The design system your coding agents check before they ship: tokens plus exact UI fixes.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"buoy": {
"command": "npx",
"args": [
"-y",
"@buoy-design/cli",
"mcp",
"serve"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add buoy -- npx -y @buoy-design/cli mcp serveวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"buoy": {
"command": "npx",
"args": [
"-y",
"@buoy-design/cli",
"mcp",
"serve"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"buoy": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@buoy-design/cli",
"mcp",
"serve"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub ahoybuoy ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.8.13) เข้า registry วันนี้
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Catch design drift before it ships.
AI coding tools are fast—but they don't know your design system. They'll write #3b82f6 when you have --color-primary. They'll use padding: 17px when your spacing scale is multiples of 4.
Buoy watches for these issues and helps you fix them.
src/components/Button.tsx:24
hardcoded-value: #3b82f6 → var(--color-primary) (92% match)
Your shipped code is the design-system source of truth. Declare the packages you own, then use Buoy to map adoption, unmanaged UI surface area, and the blast radius of a component or token change. Figma and other design tools can remain optional inputs; they are not required for the system map.
# .buoy.yaml
project: name: acme
system: components:
buoy system map # Canonical system vs unmanaged surface area
buoy system impact Button # Consumers and migration risk for a change buoy system impact color-primary --kind token
This is the foundation for cloud adoption trends, deprecation planning, and AI-assisted iteration reporting: every result is derived from code and can be attributed to a repository path and owner.
# See your design system immediately (zero config)
npx ahoybuoy show all
npx ahoybuoy dock
No config needed. Buoy auto-detects your framework and starts working immediately.
| Issue | Example |
|---|---|
| Hardcoded colors | #ff0000 instead of var(--color-primary) |
| Arbitrary spacing | padding: 17px instead of design scale |
| Tailwind escape hatches | p-[13px] instead of p-4 |
| Naming inconsistencies | ButtonNew, ButtonV2, ButtonOld |
| Unused components | Defined but never imported or rendered |
| Semantic mismatches | Same prop typed string in one, number in another |
| Repeated patterns | Same Tailwind classes copy-pasted 5+ times |
| Framework sprawl | React + Vue + jQuery in same codebase |
| Detached components | Instances without main component |
buoy
├── show # Read design system info (for AI agents) │ ├── components # Components in codebase │ ├── tokens # Design tokens found │ ├── drift # Design system violations │ ├── health # Health score │ ├── history # Scan history │ ├── config # Current .buoy.yaml configuration │ ├── skills # AI agent skill files │ ├── agents # Configured AI agents │ ├── context # Design system context in CLAUDE.md │ ├── hooks # Configured hooks │ ├── commands # Installed slash commands │ ├── graph # Knowledge graph stats │ ├── plugins # Available scanners │ └── all # Everything combined ├── drift # Drift detection and fixing │ ├── scan # Scan codebase for components/tokens │ ├── check # Pre-commit drift check │ ├── fix # Suggest/apply fixes │ └── ignore # Ignore existing drift │ ├── all # Ignore all current drift (requires --reason) │ ├── show # View ignored drift signals │ ├── add # Add new drift to ignore list (requires --reason) │ └── clear # Remove ignore list ├── rescue # Complete measure → repair → guard → prove journey │ ├── plan # Build a local baseline and repair plan │ ├── apply # Apply reviewed safe fixes on a new branch │ ├── verify # Run detected typecheck/test scripts │ ├── guard # Record reviewed legacy drift with reasons │ ├── report # Generate JSON, Markdown, and HTML evidence │ └── rollback # Restore local pre-Rescue backups ├── dock # Dock tools into your project │ ├── config # Create .buoy.yaml │ ├── skills # Create AI agent skills │ ├── agents # Set up AI agents │ ├── context # Generate CLAUDE.md context │ ├── hooks # Set up hooks (--claude for self-validating AI) │ ├── commands # Install Claude slash commands │ ├── plugins # Show available scanners │ ├── tokens # Generate/export design tokens │ │ ├── compare # Compare token sources │ │ └── import # Import tokens from Figma/CSS │ └── graph # Build design system knowledge graph │ └── learn # Learn patterns from codebase └── ahoy # Cloud features ├── login # Authenticate ├── logout # Sign out ├── status # Account + bot + sync status ├── github # Set up GitHub PR bot ├── gitlab # Set up GitLab PR bot (soon) ├── billing # Manage subscription └── plans # Compare pricing
Coding agents hardcode values because they never read your token file. Give them Buoy as an MCP server:
npx @buoy-design/cli mcp install claude # or cursor, codex, windsurf, all
Claude Code (and any MCP client) gets four tools: list_design_tokens, find_token_for_value (#1a73e8 → --color-primary), check_ui_against_design_system (line-level, with the token and an exact line edit) and design_system_context. Claude Code also gets a PostToolUse hook that checks every style file it edits and hands the fixes back before it moves on. See docs/integrations/mcp.
In Claude Code, the plugin bundles all of it: /plugin marketplace add ahoybuoy/buoy, then /plugin install buoy@buoy.
To review every pull request as well, install the free GitHub App; no Buoy account is needed.
The show command outputs JSON for AI agents to consume:
# Get everything an AI agent needs
buoy show all --json
buoy show drift --json
buoy show components --json
Example output:
{
"components": [...], "tokens": [...], "drift": { "signals": [...], "summary": { "total": 12, "critical": 2, "warning": 7, "info": 3 } }, "health": { "score": 78 } }
buoy rescue plan
buoy rescue apply --run --approve buoy rescue guard --run --reason "Reviewed legacy baseline" --actor "Design systems team" buoy rescue report --run
Rescue keeps ambiguous findings review-only, runs detected project checks after applying high-confidence changes, and retains local backups for rollback. It does not commit, push, open a pull request, or upload source code. See docs/rescue.md for the complete workflow.
buoy dock
Smart walkthrough that sets up:
.buoy.yaml — Project configuration# .buoy.yaml
project: name: my-app
drift: severity: hardcoded-value: critical naming-inconsistency: warning
ignore:
promote:
enforce:
health:
failBelow: 70
buoy drift check
Fast pre-commit hook friendly. Exits with error code if drift found.
buoy show drift
{
"drifts": [ { "type": "hardcoded-value", "severity": "warning", "file": "src/components/Button.tsx", "line": 24, "message": "#3b82f6 should use var(--color-primary)", "suggestion": "var(--color-primary)" } ] }
buoy drift fix # Interactive fix suggestions
buoy drift fix --dry-run # Preview changes buoy drift fix --apply # Apply reviewed high-confidence fixes
For brownfield projects, ignore existing issues and only flag new ones:
buoy drift ignore all -r "Legacy code before design system" # Ignore all current drift with reason
buoy drift ignore add -r "Third-party components" # Add new drift to ignore list buoy drift ignore show # View ignored drift with reasons buoy drift check # Only fails on new drift
A reason is required when ignoring drift to maintain accountability.
name: Design System Check
on: [pull_request]
jobs: buoy: runs-on: ubuntu-latest steps:
Repos scanned by Buoy Cloud get a live score badge for the README:
[](https://buoy.design)
Green at 80+, yellow at 60+, red below. It updates within five minutes of each scan.
# Set up GitHub PR bot
buoy ahoy login buoy ahoy github
The GitHub bot automatically comments on PRs with drift analysis.
Keep AI coding assistants (Copilot, Claude, Cursor) aligned with your design system:
# Set up AI agents with design system context
buoy dock agents
Creates:
Turn Claude Code into a self-correcting agent. When Claude writes a component, Buoy checks it and feeds corrections back automatically:
buoy mcp install claude # MCP server + line-level hook (recommended)
buoy dock hooks --claude # hook only, component-level
This installs a PostToolUse hook that:
buoy drift check on the modified fileExample feedback Claude receives:
⚠️ Design drift detected in Button.tsx:
• hardcoded-value: Component "Button" has 3 hardcoded colors: #3b82f6, #ffffff, #1e40af
Run buoy show drift for full details.
Works with React, Vue, Svelte, and Angular components. Skips test files and configs.
Works without config, but you
ตัดมาแค่ช่วงต้น อ่านต่อใน repo