gemini-mcp
io.github.chrischall/gemini-mcp
About gemini-mcp
gemini-mcp is an MCP server published by the GitHub account chrischall. Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) image models.
It runs on your own machine: your AI client starts it from the npm package @chrischall/gemini-mcp at version 2.4.2.
It asks for one secret: GEMINI_API_KEY. Give it a key with the least access that still works.
Version 2.4.2 was published on 20 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 6 pass, 1 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
GEMINI_API_KEY | No | Yes | Your Google Gemini API key (aistudio.google.com/apikey) |
GEMINI_IMAGE_MODEL | No | No | Override the default image model (default: gemini-nano-banana-2.1) |
GEMINI_OUTPUT_DIR | No | No | Default directory for generated images (default: ~/Downloads/gemini-mcp). When set, a per-call output_dir must be inside it. |
GEMINI_INPUT_DIR | No | No | Directory to resolve bare input-image filenames against |
GEMINI_UPLOAD_DIR | No | No | Restrict local-file uploads to the Gemini Files API to these directories (path.delimiter-separated; unset = unrestricted) |
GEMINI_REFERENCE_DIR | No | No | Restrict local reference images (images / image paths sent to Gemini) to these directories (path.delimiter-separated), plus GEMINI_OUTPUT_DIR. Unset: GEMINI_UPLOAD_DIR applies; if that is unset too, unrestricted locally, and $MCP_DATA_DIR/uploads when MCP_DATA_DIR is set (hosted) |
GEMINI_TIMEOUT_MS | No | No | Upstream request timeout in ms (default: 60000, or 120000 for image_size: "4K"); each generation tool also takes a per-call timeout_ms |
GEMINI_HEARTBEAT_MS | No | No | Progress-notification cadence in ms while a generation runs (default: 10000; 0 disables) — keeps MCP hosts that reset their timeout on progress from timing out long generations |
GEMINI_CHAIN_RETRY_MS | No | No | How long to wait out interactions-store lag when a chained call 404s (default: 120000; 0 disables retrying) |
GEMINI_DEBUG | No | No | When set, emit heartbeat diagnostics to stderr. Off by default. |
GEMINI_RATE_CARD | No | No | Override/extend the shipped USD-per-1M-token rates used by gemini_token_usage's cost estimate, e.g. {"gemini-3-pro-image":{"input":2,"text_output":12,"image_output":120}}. Malformed JSON is ignored (a bad card must not fail generations). |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/chrischall/gemini-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: GEMINI_API_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account chrischall |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @chrischall/gemini-mcp@2.4.2 runs nothing at install |
| Code red flags | Warn | Reads SSH or cloud credentials (dist/tools/_confirm.js:28: "/.ssh/id_"); Reads SSH or cloud credentials (dist/images.js:107: "/.ssh/id_") |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 48 files, including comments and the README |
Popularity & health: 58 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
0 forks, 262 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.chrischall/gemini-mcp |
|---|---|
| Publisher | GitHub account chrischall |
| How the name is verified | Name verified via GitHub account chrischall. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @chrischall/gemini-mcp 2.4.2 (stdio) |
| Version | 2.4.2 |
| Published | |
| Last updated | |
| Source repository | https://github.com/chrischall/gemini-mcp |
| Website | None linked |
| Category | AI & media generation (assigned by keyword rule, not by hand) |
Related servers in AI & media generation
- nano-banana-mcp7/7AI image generation and editing with Google Gemini: Nano Banana…
- Gemini Media4/4Generate images (Nano Banana), video (Veo, Gemini Omni), speech and…
- Popcraft3/3AI video, images, music & SFX: Seedance 2.5, Veo 3.1, Kling 3.0,…
- nanobanana-mcp7/7Lean MCP server for Google's Nano Banana (Gemini) image models.…
BananaBanana Image, Video & Speech Generation3/3Images, video & speech: Nano Banana, GPT Image, Veo, Omni, Wan,…- genrelay-mcp7/7Generate video and images (Veo 3.1, Grok Imagine, Nano Banana, GPT…