Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Control macOS through Hammerspoon: windows, apps, and API search. Injection-safe by design.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
HS_MCP_TOOLS, HS_MCP_TRANSPORT, HS_MCP_HS_PATH, HS_MCP_DOCS_PATH, HS_MCP_LOG_LEVELต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"hammerspoon": {
"command": "npx",
"args": [
"-y",
"@vukvukovich/hammerspoon-mcp"
],
"env": {
"HS_MCP_TOOLS": "ใส่ค่าของคุณ",
"HS_MCP_TRANSPORT": "ใส่ค่าของคุณ",
"HS_MCP_HS_PATH": "ใส่ค่าของคุณ",
"HS_MCP_DOCS_PATH": "ใส่ค่าของคุณ",
"HS_MCP_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add hammerspoon --env HS_MCP_TOOLS='ใส่ค่าของคุณ' --env HS_MCP_TRANSPORT='ใส่ค่าของคุณ' --env HS_MCP_HS_PATH='ใส่ค่าของคุณ' --env HS_MCP_DOCS_PATH='ใส่ค่าของคุณ' --env HS_MCP_LOG_LEVEL='ใส่ค่าของคุณ' -- npx -y @vukvukovich/hammerspoon-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"hammerspoon": {
"command": "npx",
"args": [
"-y",
"@vukvukovich/hammerspoon-mcp"
],
"env": {
"HS_MCP_TOOLS": "ใส่ค่าของคุณ",
"HS_MCP_TRANSPORT": "ใส่ค่าของคุณ",
"HS_MCP_HS_PATH": "ใส่ค่าของคุณ",
"HS_MCP_DOCS_PATH": "ใส่ค่าของคุณ",
"HS_MCP_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"hammerspoon": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@vukvukovich/hammerspoon-mcp"
],
"env": {
"HS_MCP_TOOLS": "ใส่ค่าของคุณ",
"HS_MCP_TRANSPORT": "ใส่ค่าของคุณ",
"HS_MCP_HS_PATH": "ใส่ค่าของคุณ",
"HS_MCP_DOCS_PATH": "ใส่ค่าของคุณ",
"HS_MCP_LOG_LEVEL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
HS_MCP_TOOLS envHS_MCP_TRANSPORT envHS_MCP_HS_PATH envHS_MCP_DOCS_PATH envHS_MCP_LOG_LEVEL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub vukvukovich ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Figma Context MCP, Claude Real Video, Figma MCP Server
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Let an AI agent drive your Mac through Hammerspoon, without ever splicing its input into Lua source.
Hammerspoon is a macOS automation app you script in Lua. It exposes a command line interface through its hs.ipc module, so hs -c " " runs Lua inside the running Hammerspoon process.
This project is an MCP (Model Context Protocol) server that sits in front of that CLI. It gives an agent a set of typed tools (list windows, move a window, focus an app, search the Hammerspoon API docs, tail the console, reload your config) and translates each tool call into a Lua program that Hammerspoon runs.
It speaks MCP over stdio, so any MCP client can use it: Claude Code, Claude Desktop, or your own.
Published on npm as v0.4.x: 38 safe-tier tools, plus 3 gated behind HS_MCP_TOOLS=all. Still pre-1.0, so tool names and argument shapes can change between minor versions.
Most of the risk in a "run Lua for me" bridge is the moment you build the Lua. The usual approach is to interpolate the arguments into a source string and escape the dangerous characters. Escaping is a discipline, and disciplines slip.
This server never interpolates. Every tool's Lua body is a static constant in the TypeScript source. Arguments travel separately:
local ARGS = hs.json.decode(hs.base64.decode("<base64>"))
The tool body then reads ARGS.title, ARGS.windowId, and so on.
The base64 alphabet is A-Z, a-z, 0-9, +, /, and =. It contains no quote, no backslash, no newline, no square bracket, and no hyphen. So the payload cannot close the Lua string, cannot start an escape sequence, cannot open a long bracket, and cannot open a comment. Injection is impossible because of the alphabet, not because someone remembered to escape correctly.
There is no shell layer either. The server talks to Hammerspoon over a persistent Unix socket, falling back to spawn(hsPath, ["-c", lua]) with an argv array, so no sh ever parses the command on either path.
The default tier is safe: read, inspect, and arrange operations. Arbitrary Lua evaluation exists as hs_eval, but it is off unless you set HS_MCP_TOOLS=all.
See Security for the reasoning. Short version: the threat is prompt injection, not you.
Most of the value of Hammerspoon is your own init.lua. So the server helps you write it, not just drive it:
hs_api_search searches Hammerspoon's bundled API documentation, so the agent can look up the real signature of hs.window.moveToUnit instead of guessing.hs_console_tail reads back the Hammerspoon console, so the agent can see its own errors.hs_reload_config reloads init.lua after an edit.Edit, reload, read the console, fix. The agent can run that loop itself.
brew install --cask hammerspoon
hs.ipc module loaded in your Hammerspoon config. Add this line to ~/.hammerspoon/init.lua: require("hs.ipc")
Then reload your config from the Hammerspoon menu bar icon. This is what installs and enables the hs command line tool. Without it, hs -c has nothing to talk to.
Verify the bridge by hand before wiring up any client:
hs -c "return 1 + 1"
If that prints 2, you are ready.
Claude Code:
claude mcp add hammerspoon -- npx -y @vukvukovich/hammerspoon-mcp
Any client that takes an mcpServers JSON block:
{
"mcpServers": { "hammerspoon": { "command": "npx", "args": ["-y", "@vukvukovich/hammerspoon-mcp"] } } }
To opt into the unsafe tier, add the environment variable. Claude Code:
claude mcp add hammerspoon -e HS_MCP_TOOLS=all -- npx -y @vukvukovich/hammerspoon-mcp
JSON:
{
"mcpServers": { "hammerspoon": { "command": "npx", "args": ["-y", "@vukvukovich/hammerspoon-mcp"], "env": { "HS_MCP_TOOLS": "all" } } } }
Ask the agent to call hs_health first. It reports whether the hs binary was found, whether Hammerspoon is running, and whether hs.ipc answered.
Forty-one tools: thirty-eight in the safe tier, three gated.
| Tool | Tier | What it does |
|---|---|---|
hs_health | safe | Report bridge status: resolved hs path, whether Hammerspoon answers, its version. |
hs_api_search | safe | Search Hammerspoon's bundled API reference and return exact signatures. |
hs_console_tail | safe | Return the last N lines of the Hammerspoon console. |
hs_reload_config | safe | Reload ~/.hammerspoon/init.lua. |
hs_notify | safe | Show a transient on-screen alert, without stealing focus. |
hs_list_windows | safe | List windows, with id, title, owning app, screen, and frame. |
hs_focus_window | safe | Focus a window by id, or by a substring of its title. |
hs_move_window | safe | Move or resize a window by id, in absolute screen pixels. |
hs_window_layout | safe | Snap a window to a named preset such as left-half or quarter-top-left. |
hs_list_apps | safe | List running applications, with bundle id, PID, and window count. |
hs_launch_app | safe | Launch an application by name, or focus it if it is already running. |
hs_focus_app | safe | Bring an already-running application to the front. |
hs_screens | safe | List screens, with id, name, frame, and which one is primary. |
hs_machine_status | safe | Battery, brightness, wifi, idle time, audio, and host info in one call. |
hs_audio_devices | safe | List audio output and input devices, showing the current default. |
hs_audio_set_device | safe | Switch the default output or input device, for example to headphones. |
hs_audio_volume | safe | Get or set volume and mute on the default device. |
hs_brightness | safe | Get or set built-in display brightness. |
hs_media_control | safe | Play, pause, skip, or go back, via system media keys. |
hs_list_spaces | safe | List desktops (Spaces) per screen, with positions and which is current. |
hs_goto_space | safe | Switch desktop by id or by 1-based position. |
hs_eval | unsafe | Evaluate arbitrary Lua. Requires HS_MCP_TOOLS=all. |
hs_applescript | unsafe | Run AppleScript. Reaches Mail, Notes, Reminders, Finder. Requires HS_MCP_TOOLS=all. |
hs_ui_press | unsafe | Press a UI element found by hs_ui_inspect. Refuses to act without an expectLabel or expectRole from the inspection, and refuses when the element there no longer matches it. Requires HS_MCP_TOOLS=all. |
hs_window_layout presets: left-half, `righ
ตัดมาแค่ช่วงต้น อ่านต่อใน repo