Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
AI image generation and editing MCP server. Gemini + OpenAI, iterative editing, undo/redo.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GEMINI_API_KEY, OPENAI_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"imgx": {
"command": "npx",
"args": [
"-y",
"imgx-mcp"
],
"env": {
"GEMINI_API_KEY": "ใส่ค่าของคุณ",
"OPENAI_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add imgx --env GEMINI_API_KEY='ใส่ค่าของคุณ' --env OPENAI_API_KEY='ใส่ค่าของคุณ' -- npx -y imgx-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"imgx": {
"command": "npx",
"args": [
"-y",
"imgx-mcp"
],
"env": {
"GEMINI_API_KEY": "ใส่ค่าของคุณ",
"OPENAI_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"imgx": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"imgx-mcp"
],
"env": {
"GEMINI_API_KEY": "ใส่ค่าของคุณ",
"OPENAI_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub somacoffeekyoto ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GEMINI_API_KEY, OPENAI_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.6.1) เข้า registry 8 เดือนที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
AI image generation and editing MCP server. Works with Claude Code, Gemini CLI, Cursor, Windsurf, and any MCP-compatible tool.
Generate images from text, edit existing images with text instructions, iterate on results — all from your AI coding environment.
Add to your tool's MCP config (.mcp.json, settings.json, etc.):
{
"mcpServers": { "imgx": { "command": "npx", "args": ["--package=imgx-mcp", "-y", "imgx-mcp"], "env": { "GEMINI_API_KEY": "your-key" } } } }
That's it. Your AI agent can now generate and edit images.
Windows: Replace
"command": "npx"with"command": "cmd"and prepend"/c"to the args array.
For Claude Code users, imgx-mcp includes an image-generation skill — a guided prompt that teaches Claude how to use the MCP tools effectively. With the skill installed, type /image-generation to start a guided workflow.
Copy the skill directory from the npm package or GitHub repository to your project:
# From npm (after npx has cached the package)
cp -r $(npm root -g)/imgx-mcp/skills .claude/skills
curl -sL https://raw.githubusercontent.com/somacoffeekyoto/imgx-mcp/main/skills/image-generation/SKILL.md \ -o .claude/skills/image-generation/SKILL.md --create-dirs curl -sL https://raw.githubusercontent.com/somacoffeekyoto/imgx-mcp/main/skills/image-generation/references/providers.md \ -o .claude/skills/image-generation/references/providers.md --create-dirs
Or place skill files manually:
your-project/
.mcp.json ← MCP server config (Quick start above) .claude/ skills/ image-generation/ SKILL.md ← skill prompt references/ providers.md ← provider reference
The skill files are included in the npm package under skills/ and in the GitHub repository.
Personal skill (all projects): Place in
~/.claude/skills/image-generation/instead of.claude/skills/.
Claude Desktop supports skills via ZIP upload:
image-generation-skill.zip from the repository (or find it in the npm package under dist/)Update the skill by re-downloading and re-uploading the ZIP after new releases.
The MCP server gives the AI the *ability* to generate and edit images. The Skill adds the *knowledge* of how to use those tools well — so you don't need to learn prompt syntax, model specifications, or service-specific parameters.
The image generation models already have these capabilities. The Skill is what makes them accessible without specialized knowledge.
| MCP server | Skill | |
|---|---|---|
| What it does | Exposes image tools to AI agents | Guided prompt for using the tools |
| Works with | Any MCP-compatible tool | Claude Code, Claude Desktop |
| Install | Add to .mcp.json | Copy skill files to project |
| Team sharing | Commit .mcp.json to repo | Commit .claude/skills/ to repo |
Recommended: Set up the MCP server (Quick start) + install the skill if you use Claude Code.
| Tool | Description |
|---|---|
generate_image | Generate an image from a text prompt |
edit_image | Edit an existing image with text instructions |
edit_last | Edit the last generated/edited image (no input path needed) |
undo_edit | Undo the last edit, reverting to the previous image in the session |
redo_edit | Redo a previously undone edit |
edit_history | Show all sessions and their edit history with metadata |
switch_session | Switch to a different editing session |
clear_history | Clear project history (optionally delete image files) |
set_output_dir | Change the default output directory (optionally move existing files) |
list_providers | List available providers and capabilities |
The .imgx/ directory holds both edit history and default image output. Its location depends on project root detection:
| Project root | .imgx/ location | History |
|---|---|---|
| Detected | /.imgx/ | /.imgx/output-history.json |
| Not detected | ~/Pictures/imgx/ (images only) | ~/.config/imgx/output-history.json (global) |
All clients that resolve to the same project root share the same history. Each session gets its own subdirectory. File paths are returned in the response. Inline image preview is included in MCP responses (base64).
The edit_last tool uses the output of the previous generate_image or edit_image call as input. This enables a conversational workflow:
"Generate a coffee shop interior" → generate_image
"Make the lighting warmer" → edit_last "Add a person reading a book" → edit_last
No need to specify file paths between steps.
Each generate_image call starts a new session. Subsequent edit_last calls are added to the same session, forming an edit chain. Each session has its own output directory.
Undo / Redo — Step backward and forward through the edit chain:
generate → edit_last → edit_last → edit_last
↑ current ← undo_edit ↑ current redo_edit → ↑ current
After undo, calling edit_last branches from the current position (abandoned entries and their files are deleted from disk).
File naming — edit_last generates sequential filenames based on the origin file:
generate_image → cover.png
edit_last → cover-1.png edit_last → cover-2.png
generate_image (no output) → imgx-a1b2c3d4.png edit_last → imgx-a1b2c3d4-1.png
Session switching — Use edit_history to see all sessions, then switch_session to resume a previous session. The edit_last tool will use the current position in the switched session.
Output directory — edit_last inherits the output directory from the session. If generate_image was called with output_dir, all subsequent edit_last calls in that session output to the same directory. The output_dir path is recorded as session metadata in output-history.json. This only affects where image files are saved — history always stays in .imgx/ (or the global config directory).
Set up at least one provider:
Gemini — get a key from Google AI Studio (free tier available for gemini-2.5-flash-image):
imgx config set api-key YOUR_GEMINI_API_KEY --provider gemini
OpenAI — get a key from OpenAI Platform:
imgx config set api-key YOUR_OPENAI_API_KEY --provider openai
Keys are stored in ~/.config/imgx/config.json (Linux/macOS) or %APPDATA%\imgx\config.json (Windows). Alternatively, pass keys via the env section in your MCP config, or set environment variables:
export GEMINI_API_KEY="your-api-key"
export OPENAI_API_KEY="your-api-key"
Only include the API keys for providers you want to use. At least one is required.
.mcp.json in your project root:
{
"mcpServers": { "imgx": { "command": "npx", "args": ["--package=imgx-mcp", "-y", "imgx-mcp"], "env": { "GEMINI_API_KEY": "your-key", "OPENAI_API_KEY": "your-key" } } } }
~/.gemini/settings.json:
{
"mcpServers": { "imgx": { "command": "npx", "args": ["--package=imgx-mcp", "-y", "imgx-mcp"], "env": { "GEMINI_API_KEY": "your-key", "OPENAI_API_KEY": "your-key" } } } }
claude_desktop_config.json:
macOS / Linux:
{
"mcpServers": { "imgx": { "command": "npx", "args": ["--package=imgx-mcp", "-y", "imgx-mcp"], "env": { "GEMINI_API_KEY": "your-key", "OPENAI_API_KEY": "your-key", "IMGX_PROJECT_ROOT": "" } } } }
Windows:
{
"mcpServers": { "imgx": { "command": "cmd", "args": ["/c", "npx", "--package=imgx-mcp", "-y", "imgx-mcp"], "env": { "GEMINI_API_KEY": "your-key", "OPENAI_API_KEY": "your-key", "IMGX_PROJECT_ROOT": "" } } } }
IMGX_PROJECT_ROOT — Set to your project path to save images inside the project (e.g. "C:\\Users\\you\\my-project"). Leave empty to use the global default (~/Pictures/imgx).
Config file location: %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS). After editing, restart Claude Desktop.
Note: Claude Desktop does not support auto-detection (MCP roots / CWD-based
.imgxrcsearch). UseIMGX_PROJECT_ROOTin the config above (per-client), or runimgx config set project-root /path/to/project(shared across all clients).
.codex/config.toml:
[mcp_servers.imgx]
command = "npx" args = ["--package=imgx-mcp", "-y", "imgx-mcp"] env = { GEMINI_API_KEY = "your-key", OPENAI_API_KEY = "your-key" }
The same npx pattern works with Cursor, Windsurf, Continue.dev, Cline, Zed, and other MCP-compatible tools. On Windows, use cmd /c npx instead of npx directly.
| Provider | Models | Capabilities |
|---|
| Gemini | gemini-2.5-flash-image (Nano Banana — **fre
ตัดมาแค่ช่วงต้น อ่านต่อใน repo