Gemini Mcp
by github.com/chrischall · v2.5.1 · updated Nov 7, 2026
Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) image models.
Run it locally
Install the package and point your AI client at it.
npm
npx -y @chrischall/[email protected]Environment variables
GEMINI_API_KEYsecretYour Google Gemini API key (aistudio.google.com/apikey)
GEMINI_IMAGE_MODELOverride the default image model (default: gemini-nano-banana-2.1)
GEMINI_OUTPUT_DIRDefault directory for generated images (default: ~/Downloads/gemini-mcp). When set, a per-call output_dir must be inside it.
GEMINI_INPUT_DIRDirectory to resolve bare input-image filenames against
GEMINI_UPLOAD_DIRRestrict local-file uploads to the Gemini Files API to these directories (path.delimiter-separated; unset = unrestricted)
GEMINI_REFERENCE_DIRRestrict 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_MSUpstream request timeout in ms (default: 60000, or 120000 for image_size: "4K"); each generation tool also takes a per-call timeout_ms
GEMINI_HEARTBEAT_MSProgress-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_MSHow long to wait out interactions-store lag when a chained call 404s (default: 120000; 0 disables retrying)
GEMINI_DEBUGWhen set, emit heartbeat diagnostics to stderr. Off by default.
GEMINI_RATE_CARDOverride/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).
More from github.com/chrischall
Warapp Mcp
github.com/chrischall
war.app (Warzone) game advisor — games, maps, bonuses, routes, live board, picks, turns and chat
Myatriumhealth Mcp
github.com/chrischall
MyAtriumHealth (Epic MyChart) records via your signed-in browser tab
Schoolpass Mcp
github.com/chrischall
SchoolPass for Claude — students, arrival/dismissal calendar, pickup changes, and school info
Ofw Mcp
github.com/chrischall
OurFamilyWizard co-parenting for Claude — messages, calendar, expenses, and journal
Skylight Mcp
github.com/chrischall
Skylight Calendar for Claude — family events, chores, and rewards.
Hellofresh Mcp
github.com/chrischall
Unofficial HelloFresh (US) MCP for Claude — deliveries, menus, meal picks, skips and box sizes
More MCP servers
Hevy MCP Server
github.com/chrisdoc
MCP server for managing workouts, routines, and exercise data through the Hevy API
C64 Bridge
github.com/chrisgleissner
MCP server for Commodore 64 Ultimate hardware and VICE emulator control.
AgentIQ
github.com/chrisgu
AgentIQ MCP for MoltAd: AI agent ads — placements, campaigns, coupons, attribution, cash out.
Lobex
github.com/chrisgu
Agent-to-agent marketplace MCP: list skills, buy/sell services, earn gas, cash out BTC.
Proletariat Cli
github.com/chrismcdermut
Agent orchestration platform - multi-agent spawning, tickets, boards, and workflows
TuneWorks
github.com/chrismore
Motorsports workspace for vehicles, setups, sessions, logs, maintenance, and race engineering.