Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

gemini-mcp

БесплатноБез исполняемых скриптовНе проверен

Generate and edit images, video, and music with Google Gemini models via MCP. Use when the user asks to generate, create, or edit images (Gemini / Nano…

chrischallот chrischall3 747 установок в других каталогах

Об этом скилле

gemini-mcp

MCP server for Google Gemini media generation — natural-language image, video, and music creation via the Gemini API (Nano Banana / Nano Banana Pro images, omni video, Lyria music).

Setup

Option A — npx (recommended)

Add to .mcp.json in your project or ~/.claude/mcp.json:

{
  "mcpServers": {
    "gemini": {
      "command": "npx",
      "args": ["-y", "@chrischall/gemini-mcp"],
      "env": {
        "GEMINI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Option B — from source

git clone https://github.com/chrischall/gemini-mcp
cd gemini-mcp
npm install && npm run build

Then add to .mcp.json:

{
  "mcpServers": {
    "gemini": {
      "command": "node",
      "args": ["/path/to/gemini-mcp/dist/index.js"],
      "env": {
        "GEMINI_API_KEY": "your-api-key-here"
      }
    }
  }
}

Or use a .env file in the project directory with GEMINI_API_KEY=<value>.

Getting your API key

  1. Go to aistudio.google.com/apikey
  2. Create an API key (requires a Google account)
  3. Copy the key and set it as GEMINI_API_KEY

Note: Image generation requires a billing-enabled Google Cloud project.

Environment Variables

Variable Required Description
GEMINI_API_KEY Yes Your Google Gemini API key
GEMINI_IMAGE_MODEL No Override the default image model (default: gemini-nano-banana-2.1)
GEMINI_OUTPUT_DIR No Default directory for saved images (default: ~/Downloads/gemini-mcp)
GEMINI_INPUT_DIR No Directory to resolve bare input-image filenames against (e.g. point at Cowork's uploads/ folder so images: ["house.jpg"] works)

Tools

Models

Tool Description
gemini_list_models List available Gemini image models and the current default

Which model to pick (per-call model, or GEMINI_IMAGE_MODEL):

Model When to use Reference-image caps (of 14 max)
gemini-nano-banana-2.1 (Nano Banana 2.1, default) The versatile generalist workhorse for all tasks — an update to Nano Banana 2 with better visual quality, prompt adherence, character consistency and text rendering; 1K/2K/4K, $0.0336 per 1K image up to 10 objects + 4 characters
gemini-3.1-flash-image (Nano Banana 2, deprecated 2026-10-06, no shutdown date yet) The previous generalist workhorse — balances speed with state-of-the-art 4K generation, world knowledge, and reliable text rendering; excels at multi-reference-image processing and consistency. Only model with video input + image_search grounding 10 objects + 4 characters + 3 style refs
gemini-3-pro-image (Nano Banana Pro) The premium choice for the most complex visual tasks — highest world knowledge, advanced localization, accurate brand consistency, precision creative control 6 objects + 5 characters
gemini-3.1-flash-lite-image (Nano Banana 2 Lite) The fastest/cheapest for simple tasks — 1K output only, no Google Search grounding 14 objects (no character consistency)

Image Generation

Tool Description
gemini_image_generate(prompt, count?, images_url?, images_file_uris?, images?, images_base64?, video_url?, video_path?, google_search?, seed?, filename?, model?, aspect_ratio?, image_size?, thinking_level?, output_dir?, inline?) Generate image(s) from a text prompt (optionally image-conditioned — see Reference images below — or video-conditioned via video_url/video_path)
gemini_image_edit(prompt, images_url?, images_file_uris?, images?, images_base64?, google_search?, seed?, filename?, model?, aspect_ratio?, image_size?, thinking_level?, output_dir?, inline?) Edit or compose input image(s) with a text instruction. Requires ≥1 input from any of the four reference forms
gemini_image_set(master_prompt, scenes? | count?, reference_mode?, master_images_url?, master_images_file_uris?, master_images?, master_images_base64?, google_search?, seed?, basename?, model?, thinking_level?, ...) Master image (optionally seeded from a reference photo) plus N consistent images referencing it. master_images_url / master_images_file_uris are resolved once and passed to the master and every scene

Reference images — several ways in, one that costs context

These apply to every tool that takes a reference image: the four image tools, plus gemini_video_generate (reference stills) and gemini_music_generate.

Parameter Where the bytes travel Context cost
images_url (master_images_url) the server downloads the https URL none
images_file_uris (master_images_file_uris) a `
Полный SKILL.md на ClawHub

Установить gemini-mcp в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл gemini-mcp?

Generate and edit images, video, and music with Google Gemini models via MCP. Use when the user asks to generate, create, or edit images (Gemini / Nano Banana), produce a consistent set of images, compose/blend multiple images, generate a short video (text→video or image→video, via the omni model), or generate music/audio clips (via Lyria). Triggers on phrases like "generate an image of", "edit this image with Gemini", "create a set of consistent images", "make a video of", "generate a video", "generate music", "make a song/audio clip", "use Nano Banana to make", or any request to produce images, video, or music via the Gemini API. Requires the @chrischall/gemini-mcp package installed and the gemini server registered (see Setup below).

Как установить скилл gemini-mcp?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gemini-mcp запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gemini-mcp с