Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Google Gemini image generation, editing, and local processing via MCP
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GEMINI_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"gemini-image": {
"command": "npx",
"args": [
"-y",
"@jimothy-snicket/gemini-image-mcp"
],
"env": {
"GEMINI_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add gemini-image --env GEMINI_API_KEY='ใส่ค่าของคุณ' -- npx -y @jimothy-snicket/gemini-image-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"gemini-image": {
"command": "npx",
"args": [
"-y",
"@jimothy-snicket/gemini-image-mcp"
],
"env": {
"GEMINI_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"gemini-image": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jimothy-snicket/gemini-image-mcp"
],
"env": {
"GEMINI_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub JimothySnicket ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GEMINI_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.6.2) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A simple, focused MCP server for Google Gemini's native image generation — the "Nano Banana" models. Generate, edit, and locally process images from Claude Code, Claude Desktop, or any stdio-based MCP client. Two tools, no bloat.
Built for agents: a single call returns a *saved image* — or, with one-call background removal, a ready-to-use transparent PNG — without streaming image data through your agent's context. Uses Gemini's generateContent API (not the deprecated Imagen API).
npm install -g @jimothy-snicket/gemini-image-mcp
Or use directly with npx:
npx -y @jimothy-snicket/gemini-image-mcp
Claude Code (one command):
claude mcp add gemini-image -- npx -y @jimothy-snicket/gemini-image-mcp
Requires a GEMINI_API_KEY environment variable — see Setup for details.
Set up a config file (optional):
npx @jimothy-snicket/gemini-image-mcp --init
Creates ~/.gemini-image-mcp.json with commented defaults. For project-specific overrides:
npx @jimothy-snicket/gemini-image-mcp --init --local
thinkingLevel: "HIGH" for renders that depend on reasoning (infographics, diagrams, dense typography); cheap MINIMAL default otherwiseremoveBackground returns a clean transparent PNG: a local AI matte (works on any subject; optional add-on, see below) by default, or built-in green-screen / white-threshold keying. No extra API costsessionId to refine an image across calls, with prior turns kept as context"web+image" also pulls image-search results for mood boards and trend references, with sources returned for attribution. See Advanced Featuresgenerations.jsonl logs every generation with prompt, params, costGo to Google AI Studio and create an API key.
Billing required: image generation has no free tier — free-tier keys get
429 RESOURCE_EXHAUSTED(quota limit 0) on every image model. Enable pay-as-you-go billing on the key's Google Cloud project (usage & billing). Images cost ~$0.03–$0.24 each depending on model and resolution; the cheapest model (gemini-3.1-flash-lite-image, the default) is ~$0.034 per image.
The server reads your key from the GEMINI_API_KEY environment variable. Set it once so it's available in every session:
Windows (PowerShell — run as admin):
[System.Environment]::SetEnvironmentVariable('GEMINI_API_KEY', 'your-key-here', 'User')
Then restart your terminal.
macOS / Linux:
echo 'export GEMINI_API_KEY="your-key-here"' >> ~/.bashrc
source ~/.bashrc
(Use `~/.zshrc` if you're on zsh.)
Verify it's set:
echo $GEMINI_API_KEY
Pick the method that matches how you use MCP:
claude mcp add gemini-image -- npx -y @jimothy-snicket/gemini-image-mcp
Claude Code will pick up GEMINI_API_KEY from your environment automatically.
.mcp.json)Add to .mcp.json in your project root or ~/.claude/.mcp.json for global access:
{
"mcpServers": { "gemini-image": { "command": "npx", "args": ["-y", "@jimothy-snicket/gemini-image-mcp"], "env": { "GEMINI_API_KEY": "${GEMINI_API_KEY}" } } } }
The ${GEMINI_API_KEY} syntax reads the value from your shell environment — your actual key never gets written into config files.
Edit claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": { "gemini-image": { "command": "npx", "args": ["-y", "@jimothy-snicket/gemini-image-mcp"], "env": { "GEMINI_API_KEY": "${GEMINI_API_KEY}" } } } }
Restart Claude Desktop after saving.
Any client that supports stdio transport works. Point it at npx -y @jimothy-snicket/gemini-image-mcp and pass GEMINI_API_KEY in the environment.
${GEMINI_API_KEY} syntax in config files references your environment — the key itself stays in your shell profile..mcp.json is in a project repo, add it to .gitignore or use the global config at ~/.claude/.mcp.json instead.All optional. The only required setup is GEMINI_API_KEY (covered above).
| Variable | Default | Description |
|---|---|---|
OUTPUT_DIR | ~/gemini-images | Default directory for saved images |
DEFAULT_MODEL | gemini-3.1-flash-lite-image | Default Gemini model |
LOG_LEVEL | info | debug, info, or error |
REQUEST_TIMEOUT_MS | 60000 | API request timeout in milliseconds |
MAX_REQUESTS_PER_HOUR | 0 (unlimited) | Max image generations per rolling hour |
MAX_COST_PER_HOUR | 0 (unlimited) | Max estimated cost (USD) per rolling hour |
SESSION_TIMEOUT_MS | 1800000 (30min) | Multi-turn session expiry |
GEMINI_IMAGE_AUTO_INSTALL | 1 (on) | Auto-install the AI matte engine on first removeBackground: { mode: "auto" } use. Set 0 to disable (then auto falls back to chroma/threshold with instructions) |
Set these the same way as GEMINI_API_KEY, or pass them in the env block of your MCP config.
Rate limiting is recommended when agents have access to this tool. An agent in a loop can generate images quickly — set MAX_REQUESTS_PER_HOUR=20 and MAX_COST_PER_HOUR=5 as sensible defaults.
Instead of environment variables, you can use a JSON config file. Create one with:
npx @jimothy-snicket/gemini-image-mcp --init
This creates ~/.gemini-image-mcp.json with all defaults and inline documentation. Edit it to set your preferences.
Priority: env vars > local config (.gemini-image-mcp.json in CWD) > global config (~/.gemini-image-mcp.json) > defaults.
You can also set per-tool defaults so every request uses your preferred settings:
{
"defaultModel": "gemini-3.1-flash-image", "defaults": { "generate": { "aspectRatio": "16:9", "resolution": "2K" }, "process": { "removeBackground": { "color": "#00FF00" }, "trim": true } } }
Per-request parameters always override config defaults.
Custom pricing. Cost estimates come from a built-in per-token rate table (there's no pricing API to fetch live). If you use a model the table doesn't know yet — or Google changes a rate before this package updates — add pricingOverrides so cost reporting stays accurate without waiting for a release:
{
"pricingOverrides": { "some-new-image-model": { "inputPerMillion": 0.5, "textOutputPerMillion": 60, "imageOutputPerMillion": 60, "thinkingPerMillion": 60 } } }
Models with no entry (built-in or override) still generate — their cost is reported as unknown rather than guessed.
generate_image| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Text description or editing instruction |
images | No | Array of file paths to input/reference images |
model | No | Gemini model ID |
aspectRatio | No | 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, plus 1:4, 4:1, 1:8, 8:1 (gemini-3.1-flash-image). Validated by the API. |
resolution | No | 512 (gemini-3.1-flash-image only), 1K, 2K, 4K |
outputDir | No | Override output directory for this request |
filename | No | Base name for saved file (e.g. hero-banner). Auto-versioned if duplicate. |
subfolder | No | Subfolder within output directory (e.g. landing-page) |
sessionId | No | Continue a multi-turn editing session from a previous response |
seed | No | Integer seed for reproducible generation |
grounding | No | "web" = Google Search grounding; "web+image" adds image-search results (gemini-3.1-flash-image only). See Advanced Features |
useSearchGrounding | No | Legacy alias for grounding: "web" |
thinkingLevel | No | "MINIMAL" (default) or "HIGH" — thinking depth on the gemini-3.1-flash family. See Advanced Features |
videos | No | Array of file paths to input videos for video-to-image (gemini-3.1-flash family). See Advanced Features |
removeBackground | No | Return a transparent PNG cutout. { "mode": "auto" } = local AI matte (any subject; default); { "mode": "chroma" } = green screen; { "mode": "threshold" } = white removal (line art). No extra API cost |
{
"imagePath": "/home/user/gemini-images/hero-banner.png", "mimeType": "image/png", "model": "gemini-3.1-flash-lite-image", "sessionId": "session-1711929600000-a1b2c3", "sessionTurn": 1, "usage": { "promptTokens": 5, "outputTokens": 1295, "imageTokens": 1290, "thinkingTokens": 412, "totalTokens": 1712, "estimatedCost": "$0.0390", "pricingVerifiedDate": "2026-09-16" }, "session": { "generationsThisSession": 3, "totalCostThisSession": "$0.1161", "generationsThisHour": 5, "limit": { "maxPerHour": 20, "maxCostPerHour": 5, "remainingThisHour": 15 } } }
Text-to-image:
"Generate a hero image for a SaaS landing page, modern gradient style, 16:9"
Image editing:
"Take this screenshot and redesign the header with a dark theme" (with image paths)
Iterative editing (multi-turn):
Generate an image, then call again with the returned
sessionIdand a refinement like "make it more minimal" — the prior image stays in context.
Organized output:
"Generate a hero banner" with `f
ตัดมาแค่ช่วงต้น อ่านต่อใน repo