# @seungmanchoi/nano-banana-mcp [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/seungmanchoi/nano-banana-mcp  
**GitHub Stars:** 4  
**npm Downloads (last month):** 572  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/seungmanchoi-nano-banana-mcp

## Description
MCP server for AI image generation, editing, and video generation powered by Google Gemini and Veo

## Tools
Capabilities this server exposes over MCP:

- **configure_api_key** — Set or update the Gemini API key for image generation. The key is stored locally and persists across sessions.
- **configure_model** — Set the default Gemini model for image generation and editing. Persists across sessions. Recommended: gemini-2.0-flash-preview-image-generation (default, free tier). Also available: imagen-3.0-generate-002 (best quality, requires billing), imagen-3.0-fast-generate-001 (fast, requires billing).
- **generate_image** — Generate a new image from a text description using Gemini AI. Returns the generated image and saves it to disk.
- **edit_image** — Edit an existing image based on text instructions. Provide the file path of the image to modify.
- **continue_editing** — Continue editing the last generated or edited image. Automatically uses the most recent image from the session.
- **generate_video** — Generate a video from a text prompt using Gemini Veo. Supports text-to-video, image-to-video (first frame), and first+last frame interpolation. Video generation takes 1-6 minutes. Available models: veo-3.1-generate-preview (latest), veo-3-generate-preview, veo-2-generate-preview.
- **list_video_history** — List recently generated videos with their prompts, models, and timestamps.
- **get_status** — Check the current configuration status, active model, and last image/video information.
- **list_history** — List recently generated and edited images with their prompts and timestamps.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "nano-banana-mcp": {
    "command": "npx",
    "args": ["-y","@seungmanchoi/nano-banana-mcp"],
    "env": {
      "GEMINI_API_KEY": "",
      "GEMINI_AUTH_MODE": "",
      "GEMINI_SECURE_1PSID": "",
      "GEMINI_SECURE_1PSIDTS": "",
      "GEMINI_MODEL": ""
    }
  }
}
```

**Requires environment variables:** `GEMINI_API_KEY`, `GEMINI_AUTH_MODE`, `GEMINI_SECURE_1PSID`, `GEMINI_SECURE_1PSIDTS`, `GEMINI_MODEL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What @seungmanchoi/nano-banana-mcp does

@seungmanchoi/nano-banana-mcp connects MCP clients to Google Gemini image models and Veo video models. It can create images from text, modify an existing image with natural-language instructions, and use reference images to guide an edit. A session-aware editing tool can apply another change to the most recently generated or edited image without requiring its path again.

Video generation supports text prompts, an image as the opening frame, and interpolation between supplied first and last frames. The server also records recent image and video activity, including prompts, models, and timestamps, and exposes status information for the active configuration and output locations.

## How it works

The server runs through npm or a locally built Node entry point and communicates with an MCP client. In the default API-key mode, requests use a Gemini API key and can access image generation, image editing, and Veo video generation. Video model selection includes Veo preview models, while image requests can use a configured Gemini or Imagen model.

Authentication can instead use `gemini-web`, which drives a signed-in consumer Gemini session with the `__Secure-1PSID` cookie and optionally `__Secure-1PSIDTS`. This mode is unofficial, depends on an undocumented endpoint, supports image generation and editing only, and may require new cookies when they expire or Google changes the service.

## Setup and configuration

Install the package globally with npm, run it with `npx`, or clone the repository and build it before launching `dist/index.js`. Configure the MCP client with the npm command and set `GEMINI_API_KEY`, or leave the environment unset and provide the key later through `configure_api_key`.

Image model selection can come from `GEMINI_MODEL`, the `configure_model` tool, or a per-request `model` value. Per-request selection takes precedence over environment and persisted configuration. API keys, selected image models, and Google-cookie settings are persisted in `~/.nano-banana/config.json` when configured through the tools.

For cookie authentication, set `GEMINI_AUTH_MODE` to `gemini-web` and provide `GEMINI_SECURE_1PSID`; `GEMINI_SECURE_1PSIDTS` is recommended but optional. The `configure_google_login` tool provides the same switch at runtime. Calling `configure_api_key` changes the active mode back to API-key authentication.

## Tools and capabilities

- `generate_image` creates an image from a text description.
- `edit_image` changes an existing image and can accept reference images.
- `continue_editing` applies another instruction to the session's last image.
- `generate_video` handles text-to-video, image-to-video, and first/last-frame interpolation.
- `list_history` and `list_video_history` show recent media with associated metadata.
- `get_status` reports configuration, active models, output directories, and recent media details.
- `configure_api_key`, `configure_google_login`, and `configure_model` manage authentication and image-model settings.

The server is intended for macOS, Windows, and Linux. Image model options include Gemini image generation and Imagen variants; video options include Veo 3.1, Veo 3, and Veo 2 preview models. Model availability and billing depend on the selected Google service and account configuration.

_Full upstream README: https://allmcps.com/mcp/seungmanchoi-nano-banana-mcp/readme_

