Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
제작자가 쓴 설명(영어 원문)
Generate and edit images from your coding agent with Gemini and OpenAI, using your own API keys.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
GEMINI_API_KEY, OPENAI_API_KEY, IMAGE_GEN_MCP_DEFAULT_PROVIDER, IMAGE_GEN_MCP_GEMINI_MODEL, IMAGE_GEN_MCP_OPENAI_MODEL, IMAGE_GEN_MCP_OUTPUT_DIR, IMAGE_GEN_MCP_ALLOWED_DIRS, IMAGE_GEN_MCP_TIMEOUT_MS, IMAGE_GEN_MCP_LOG_FILE비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"image-gen": {
"command": "npx",
"args": [
"-y",
"@nuver-labs/image-gen-mcp"
],
"env": {
"GEMINI_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"IMAGE_GEN_MCP_DEFAULT_PROVIDER": "your-value",
"IMAGE_GEN_MCP_GEMINI_MODEL": "your-value",
"IMAGE_GEN_MCP_OPENAI_MODEL": "your-value",
"IMAGE_GEN_MCP_OUTPUT_DIR": "your-value",
"IMAGE_GEN_MCP_ALLOWED_DIRS": "your-value",
"IMAGE_GEN_MCP_TIMEOUT_MS": "your-value",
"IMAGE_GEN_MCP_LOG_FILE": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add image-gen --env GEMINI_API_KEY=your-value --env OPENAI_API_KEY=your-value --env IMAGE_GEN_MCP_DEFAULT_PROVIDER=your-value --env IMAGE_GEN_MCP_GEMINI_MODEL=your-value --env IMAGE_GEN_MCP_OPENAI_MODEL=your-value --env IMAGE_GEN_MCP_OUTPUT_DIR=your-value --env IMAGE_GEN_MCP_ALLOWED_DIRS=your-value --env IMAGE_GEN_MCP_TIMEOUT_MS=your-value --env IMAGE_GEN_MCP_LOG_FILE=your-value -- npx -y @nuver-labs/image-gen-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"image-gen": {
"command": "npx",
"args": [
"-y",
"@nuver-labs/image-gen-mcp"
],
"env": {
"GEMINI_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"IMAGE_GEN_MCP_DEFAULT_PROVIDER": "your-value",
"IMAGE_GEN_MCP_GEMINI_MODEL": "your-value",
"IMAGE_GEN_MCP_OPENAI_MODEL": "your-value",
"IMAGE_GEN_MCP_OUTPUT_DIR": "your-value",
"IMAGE_GEN_MCP_ALLOWED_DIRS": "your-value",
"IMAGE_GEN_MCP_TIMEOUT_MS": "your-value",
"IMAGE_GEN_MCP_LOG_FILE": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"image-gen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nuver-labs/image-gen-mcp"
],
"env": {
"GEMINI_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"IMAGE_GEN_MCP_DEFAULT_PROVIDER": "your-value",
"IMAGE_GEN_MCP_GEMINI_MODEL": "your-value",
"IMAGE_GEN_MCP_OPENAI_MODEL": "your-value",
"IMAGE_GEN_MCP_OUTPUT_DIR": "your-value",
"IMAGE_GEN_MCP_ALLOWED_DIRS": "your-value",
"IMAGE_GEN_MCP_TIMEOUT_MS": "your-value",
"IMAGE_GEN_MCP_LOG_FILE": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
IMAGE_GEN_MCP_DEFAULT_PROVIDER envIMAGE_GEN_MCP_GEMINI_MODEL envIMAGE_GEN_MCP_OPENAI_MODEL envIMAGE_GEN_MCP_OUTPUT_DIR envIMAGE_GEN_MCP_ALLOWED_DIRS envIMAGE_GEN_MCP_TIMEOUT_MS envIMAGE_GEN_MCP_LOG_FILE env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 도메인 nuverlabs.com 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: GEMINI_API_KEY, OPENAI_API_KEY
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.2.1)은 3개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Figma Context MCP, Claude Real Video, Figma MCP Server
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
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.
The Figma MCP server brings Figma design context directly into your AI workflow.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Generate and edit images from your coding agent, with your own API keys. Ask for a blog cover, a logo tweak, or a placeholder illustration, and the file lands directly in your project where the agent can read it and iterate.
Google Gemini image models (the Nano Banana family) and OpenAI GPT image models behind one interface. Configure one provider or both.
This banner and the repository's social preview card were both generated by this server, with gemini-3.1-flash-image at 16:9 2K. Prompts are in assets/README.md.
claude mcp add image-gen --scope user \
--env GEMINI_API_KEY=your-gemini-key \ --env OPENAI_API_KEY=your-openai-key \ -- npx -y @nuver-labs/image-gen-mcp
Start a new Claude Code session to pick it up, then check claude mcp list.
Three things that trip people up:
--scope does that job. Put the name straight after an --env pair and the CLI reads it as another KEY=value.--env line for any provider you do not use. You need at least one.Get keys from Google AI Studio and the OpenAI platform.
Same package everywhere. For .mcp.json (project scope, commit it) and Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": { "image-gen": { "command": "npx", "args": ["-y", "@nuver-labs/image-gen-mcp"], "env": { "GEMINI_API_KEY": "your-gemini-key", "OPENAI_API_KEY": "your-openai-key" } } } }
Claude Code also accepts a per-server "timeout": 600000, which Claude Desktop does not. Cursor uses the same shape in .cursor/mcp.json. On Windows, GUI hosts cannot always find npx, so use "command": "cmd" with "args": ["/c", "npx", "-y", "@nuver-labs/image-gen-mcp"].
Just ask, in plain language:
assets/hero.png"public/logo.png and give it a transparent background"design/drafts/"The agent calls generate_image or edit_image with an absolute output_path inside your project, the file lands on disk, and the agent can then read the saved path to look at the result and refine it. If a call fails, ask it to run list_capabilities to see what is actually configured.
| Tool | What it does |
|---|---|
generate_image | Text prompt to one or more image files. Returns the absolute saved paths. |
edit_image | Edit or combine existing images with a text instruction. Never overwrites the sources. |
list_capabilities | Which providers are configured, default models, and the output directory rules. |
| Argument | Type | Notes | |
|---|---|---|---|
prompt | string, required | Subject, style, composition, colors, any text to render | |
output_path | string | Absolute file path (.png/.jpg/.webp) or a directory. Given a directory, the filename is slugified from the prompt | |
provider | gemini \ | openai | Overrides the default provider |
model | string | Gemini: gemini-3.1-flash-image (default), gemini-3.1-flash-lite-image, gemini-3-pro-image, gemini-2.5-flash-image. OpenAI: gpt-image-2 (default), gpt-image-1.5, gpt-image-1, gpt-image-1-mini | |
aspect_ratio | 1:1 2:3 3:2 3:4 4:3 9:16 16:9 21:9 | Exact on Gemini and gpt-image-2. Older OpenAI models approximate: landscape 1536x1024, portrait 1024x1536 | |
n | 1-4 | Gemini generates sequentially, so n>1 is slower there | |
quality | low medium high auto | OpenAI only. low for cheap drafts | |
background | transparent opaque auto | OpenAI only. Ideal for logos and icons. Needs gpt-image-1.5 or older, so transparent on gpt-image-2 auto-switches to gpt-image-1.5 and says so in the result | |
image_size | 1K 2K 4K | Gemini 3.x only | |
return_image | boolean | Also return the first image inline so the model can see it without a read. Costs context tokens |
Everything above, plus:
| Argument | Type | Notes | |
|---|---|---|---|
source_paths | string[], required | 1-16 absolute paths (.png/.jpg/.jpeg/.webp). The first is the edit target, the rest are references. Gemini works best with 1-3 | |
input_fidelity | low \ | high | OpenAI only. high preserves faces, logos, and fine detail. Ignored on gpt-image-2, which is always high fidelity |
When output_path is omitted, the result is saved next to the first source image.
No arguments. Reports configured providers as booleans (never key values), the default provider and models, known model options, the output directory fallback chain, and any directory restriction in force.
| Variable | Default | Purpose |
|---|---|---|
GEMINI_API_KEY | (unset) | Enables the Gemini provider |
OPENAI_API_KEY | (unset) | Enables the OpenAI provider |
IMAGE_GEN_MCP_DEFAULT_PROVIDER | key-based | gemini or openai. When unset: gemini if its key is set, else openai |
IMAGE_GEN_MCP_GEMINI_MODEL | gemini-3.1-flash-image | Default Gemini model |
IMAGE_GEN_MCP_OPENAI_MODEL | gpt-image-2 | Default OpenAI model |
IMAGE_GEN_MCP_OUTPUT_DIR | (unset) | Fallback output directory when a call passes no output_path |
IMAGE_GEN_MCP_ALLOWED_DIRS | (unset) | Comma separated directories that all reads and writes are confined to. See Security |
IMAGE_GEN_MCP_TIMEOUT_MS | 180000 | Per-request timeout to the provider API |
IMAGE_GEN_MCP_LOG_FILE | ~/.image-gen-mcp/images.jsonl | JSONL ledger path. Absolute path to relocate, none to disable the file |
With no output_path, files go to the first of: IMAGE_GEN_MCP_OUTPUT_DIR, CLAUDE_PROJECT_DIR (set by Claude Code, points at the current project), the server working directory.
This server runs locally with your full user privileges and is not sandboxed by the MCP client. Worth understanding before you grant it blanket tool approval.
What it can do. Writes image files to disk. Reads the image files you point edit_image at. Sends your prompt, and any edit_image source image, to the provider you selected. Makes billable API calls. That is the whole surface: three tools, no shell execution, no arbitrary URL fetching, no telemetry.
File access. The model chooses output_path and source_paths, and by default they are unrestricted, because that is what makes the tool useful: your agent saves into whichever project you are working in. Note that Claude Code's working-directory boundary does not extend to MCP servers, and Anthropic does not security-audit third-party MCP servers.
To draw a hard boundary, set IMAGE_GEN_MCP_ALLOWED_DIRS:
IMAGE_GEN_MCP_ALLOWED_DIRS=/Users/you/projects,/Users/you/Desktop
Every output path and every edit_image source must then resolve inside one of those roots. Paths are compared after realpath resolution, so a symlink pointing out of a root is refused, and containment uses path segments rather than a string prefix, so a sibling directory like /Users/you/projects-private does not slip through. If none of the configured entries exist, the server refuses all file access rather than silently running unrestricted.
API keys. Keys are read only from the environment, passed to the provider SDK constructors, and used nowhere else. They are never logged, never written to the ledger, and never returned by list_capabilities, which reports booleans.
The risk is where you put them, not what this server does with them. Keys inlined into ~/.claude.json or claude_desktop_config.json sit in plaintext, readable by any process running as you, and an agent asked to read its own config can print them into a transcript. Prefer exporting from a shell profile or a secret manager, chmod 600 the config files, and use a dedicated key with a spend limit rather than a shared production key.
Spend. There is no built-in rate limit or cap. An agent in a retry loop can generate a lot of images quickly. Set OpenAI hard spend limits and Google Cloud budget alerts.
Local log. The ledger at ~/.image-gen-mcp/images.jsonl contains a truncated copy of each prompt in plaintext and grows without bound. Disable it with IMAGE_GEN_MCP_LOG_FILE=none, and do not commit it.
Prompt injection. Tool results re-enter the model's context. Prefer per-call approval over blanket-allowing this server, and glance at the output path and any edit_image source path when approving. Pin a version and review the diff before upgrading.
Found a vulnerability? See SECURITY.md. Please do not open a public issue.
Every successful call records one structured JSON entry, two ways:
[image-gen-mcp] image {...} line, visible in /mcp output and Claude Code logs.~/.image-gen-mcp/images.jsonl, one line per call. Ledger write failures never break a generation, they warn once on stderr.Each entry captures the provider, model, requested size, elapsed seconds, a truncated prompt with its full character count, token usage when the provider reports it, and per-image details: saved path, byte size, human-readable size, mime type, and actual pixel dimensions.
tail -n 20 ~/.image-gen-mcp/images.jsonl
jq 'select(.usage) | .usage.totalTokens' ~/.image-gen-mcp/images.jsonl
Every call hits a paid API, typically cents per image, varying by provider, model, quality, and size. Cheap options for drafts: OpenAI quality: low (roughly $0.006 for a low-quality 1024x1024 on gpt-image-2) or gpt-image-1-mini, and Gemini gemini-3.1-flash-lite-image. Gemini's gemini-2.5-flash-image may have a free tier on unbilled keys, so IMAGE_GEN_MCP_GEMINI_MODEL=gemini-2.5-flash-image makes it the default.
Generation takes roughly 10 to 120 seconds depending on model and size. Claude Code's defaults are generous and this server sends progress notifications during long calls, so no tuning is normally needed. If you set a tight global MCP_TOOL_TIMEOUT, add a per-server "timeout": 600000 in .mcp.json.
[image-gen-mcp] prefix. Claude Code surfaces them in /mcp output and its logs.claude mcp list and claude mcp get image-gen.--env flag or edit your config.IMAGE_GEN_MCP_ALLOWED_DIRS is set. Run list_capabilities to see the roots.앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요