Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) via the Gemini API
- ✓Actively maintained (<30d)
- ✓Clear description
- !No standard license detected
git clone https://github.com/chrischall/gemini-mcp{
"mcpServers": {
"gemini-mcp": {
"command": "node",
"args": ["/path/to/gemini-mcp/dist/index.js"]
}
}
}1 items in this repository
Generate and edit images with Google Gemini image models via MCP. Use when the user asks to generate, create, or edit images using Gemini or Nano Banana models, wants to produce a consistent set of images from a prompt, or needs to compose/blend multiple images. Triggers on phrases like "generate an image of", "edit this image with Gemini", "create a set of consistent images", "use Nano Banana to make", or any request to produce images via the Gemini image API. Requires the @chrischall/gemini-mcp package installed and the gemini server registered (see Setup below).
MCP Servers overview
# gemini-mcp
[](https://github.com/chrischall/gemini-mcp/actions/workflows/ci.yml)
[](https://www.npmjs.com/package/@chrischall/gemini-mcp)
[](LICENSE)
MCP server for Google Gemini image generation and editing. Exposes four tools to Claude over stdio: list available models, generate images from text prompts, edit or compose images with text instructions, and generate a consistent set of images from a master prompt. Images are written to disk by default (path returned) or returned inline as base64. Built on the Gemini v1beta API (`generativelanguage.googleapis.com`) using the Nano Banana / Nano Banana Pro model family.
Developed and maintained by AI (Claude Code).
## Environment Variables
| Variable | Required | Description |
|---|---|---|
| `GEMINI_API_KEY` | Yes | Your Google Gemini API key ([aistudio.google.com/apikey](https://aistudio.google.com/apikey)) |
| `GEMINI_IMAGE_MODEL` | No | Override the default image model (default: `gemini-3-pro-image`) |
| `GEMINI_OUTPUT_DIR` | No | Default directory for generated images (default: current working directory) |
| `GEMINI_INPUT_DIR` | No | Directory to resolve bare input-image filenames against (so `images: ["foo.jpg"]` works) |
## Tools
| Tool | Description |
|------|-------------|
| `gemini_list_models` | List available Gemini image models and the current default |
| `gemini_generate_image` | Generate image(s) from a text prompt |
| `gemini_edit_image` | Edit or compose one or more input images with a text instruction |
| `gemini_generate_set` | Generate a master image plus N consistent images referencing it |
| `gemini_interact` | Multi-turn generation/editing via the Interactions API (Beta); returns an `interaction_id` to refine the same image conversationally |
## Quick Start
```json
{
"mcpServers": {
"gemini": {
"command": "npx",
"args": ["-y", "@chrischall/gemini-mcp"],
"env": {
"GEMINI_API_KEY": "your-api-key-here"
}
}
}
}
```
See [SKILL.md](./SKILL.md) for full usage documentation.
What people ask about gemini-mcp
What is chrischall/gemini-mcp?
+
chrischall/gemini-mcp is mcp servers for the Claude AI ecosystem. Generate and edit images with Google Gemini (Nano Banana / Nano Banana Pro) via the Gemini API It has 0 GitHub stars and was last updated today.
How do I install gemini-mcp?
+
You can install gemini-mcp by cloning the repository (https://github.com/chrischall/gemini-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is chrischall/gemini-mcp safe to use?
+
Our security agent has analyzed chrischall/gemini-mcp and assigned a Trust Score of 54/100 (tier: OK). See the full breakdown of passed checks and flags on this page.
Who maintains chrischall/gemini-mcp?
+
chrischall/gemini-mcp is maintained by chrischall. The last recorded GitHub activity is from today, with 2 open issues.
Are there alternatives to gemini-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy gemini-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/chrischall-gemini-mcp)<a href="https://claudewave.com/repo/chrischall-gemini-mcp"><img src="https://claudewave.com/api/badge/chrischall-gemini-mcp" alt="Featured on ClaudeWave: chrischall/gemini-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。