プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Image Gen

作者:nuver-labsバージョン 0.2.1i★ –iパソコンで動く
レジストリ名com.nuverlabs/image-gen

インストール

概要

作者による説明(英語の原文)

Generate and edit images from your coding agent with Gemini and OpenAI, using your own API keys.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: デザイン・画像・音声
  • 入力が必要なもの:GEMINI_API_KEY, OPENAI_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: 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

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

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で開く

または、設定を自分でコピーする

プロジェクトの .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"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .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がつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • GEMINI_API_KEY 秘密 env
    Google Gemini API key. Enables the Gemini provider. At least one provider key is required.
  • OPENAI_API_KEY 秘密 env
    OpenAI API key. Enables the OpenAI provider. At least one provider key is required.
  • IMAGE_GEN_MCP_DEFAULT_PROVIDER env
    Provider used when a tool call does not name one: gemini or openai. Defaults to whichever key is set, preferring gemini.
  • IMAGE_GEN_MCP_GEMINI_MODEL env
    Default Gemini model. Defaults to gemini-3.1-flash-image.
  • IMAGE_GEN_MCP_OPENAI_MODEL env
    Default OpenAI model. Defaults to gpt-image-2.
  • IMAGE_GEN_MCP_OUTPUT_DIR env
    Directory used when a tool call passes no output_path.
  • IMAGE_GEN_MCP_ALLOWED_DIRS env
    Comma separated directories that file reads and writes are confined to. Unset means unrestricted.
  • IMAGE_GEN_MCP_TIMEOUT_MS env
    Per-request timeout to the provider API in milliseconds. Defaults to 180000.
  • IMAGE_GEN_MCP_LOG_FILE env
    Path of the JSONL image ledger. Defaults to ~/.image-gen-mcp/images.jsonl. Set to none to disable the file.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名はドメイン nuverlabs.com で確認済みです(レジストリがドメインの所有を確認しています)

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

デザイン・画像・音声のほかのサーバーとの比較i

  • このカテゴリのほかの2192件のうち0%よりスターが多い
  • このカテゴリのほかの2192件のうち23%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2192件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Image Genは安全ですか?

当てはまる基本チェック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スターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Figma Context MCP

作者:GLips

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

パソコンで動く★ 16,165MIT5 か月前更新
インストール

Claude Real Video

作者:HUANGCHIHHUNGLeo

Let any LLM watch a video locally — and search everything it has ever watched.

パソコンで動く★ 2,284MIT2 か月前更新
インストール

Figma MCP Server

作者:figma

The Figma MCP server brings Figma design context directly into your AI workflow.

クラウドで動く★ 2,15213 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

image-gen-mcp

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.

Install

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:

  • At least one option must sit between the last `--env` and the server name. Above, --scope does that job. Put the name straight after an --env pair and the CLI reads it as another KEY=value.
  • `--` before the command is mandatory. Without it the server's own arguments get parsed as Claude Code's.
  • Drop the --env line for any provider you do not use. You need at least one.

Get keys from Google AI Studio and the OpenAI platform.

Other clients

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"].

Use it

Just ask, in plain language:

  • "Generate a 16:9 hero image of a lighthouse at dusk and save it to assets/hero.png"
  • "Take public/logo.png and give it a transparent background"
  • "Create 3 variations of a flat paper airplane icon, square, into 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.

Tools

ToolWhat it does
generate_imageText prompt to one or more image files. Returns the absolute saved paths.
edit_imageEdit or combine existing images with a text instruction. Never overwrites the sources.
list_capabilitiesWhich providers are configured, default models, and the output directory rules.
generate_image
ArgumentTypeNotes
promptstring, requiredSubject, style, composition, colors, any text to render
output_pathstringAbsolute file path (.png/.jpg/.webp) or a directory. Given a directory, the filename is slugified from the prompt
providergemini \openaiOverrides the default provider
modelstringGemini: 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_ratio1:1 2:3 3:2 3:4 4:3 9:16 16:9 21:9Exact on Gemini and gpt-image-2. Older OpenAI models approximate: landscape 1536x1024, portrait 1024x1536
n1-4Gemini generates sequentially, so n>1 is slower there
qualitylow medium high autoOpenAI only. low for cheap drafts
backgroundtransparent opaque autoOpenAI 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_size1K 2K 4KGemini 3.x only
return_imagebooleanAlso return the first image inline so the model can see it without a read. Costs context tokens
edit_image

Everything above, plus:

ArgumentTypeNotes
source_pathsstring[], required1-16 absolute paths (.png/.jpg/.jpeg/.webp). The first is the edit target, the rest are references. Gemini works best with 1-3
input_fidelitylow \highOpenAI 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.

list_capabilities

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.

Configuration

VariableDefaultPurpose
GEMINI_API_KEY(unset)Enables the Gemini provider
OPENAI_API_KEY(unset)Enables the OpenAI provider
IMAGE_GEN_MCP_DEFAULT_PROVIDERkey-basedgemini or openai. When unset: gemini if its key is set, else openai
IMAGE_GEN_MCP_GEMINI_MODELgemini-3.1-flash-imageDefault Gemini model
IMAGE_GEN_MCP_OPENAI_MODELgpt-image-2Default 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_MS180000Per-request timeout to the provider API
IMAGE_GEN_MCP_LOG_FILE~/.image-gen-mcp/images.jsonlJSONL 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.

Security

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.

Logging

Every successful call records one structured JSON entry, two ways:

  • stderr, always: one [image-gen-mcp] image {...} line, visible in /mcp output and Claude Code logs.
  • JSONL ledger, on by default: the same JSON appended to ~/.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

Costs

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.

Timeouts

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.

Troubleshooting

  • Server logs go to stderr with an [image-gen-mcp] prefix. Claude Code surfaces them in /mcp output and its logs.
  • Registered but no tools: start a new session, then check claude mcp list and claude mcp get image-gen.
  • `Provider 'x' is not configured`: that key is missing from the MCP server environment. Re-register with the --env flag or edit your config.
  • Output is outside the allowed directories: IMAGE_GEN_MCP_ALLOWED_DIRS is set. Run list_capabilities to see the roots.
  • **

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く