Nanobanana MCP Server
An MCP server that provides image generation and editing capabilities
Connector by zhongweili · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/zhongweili-nanobanana-mcp-server
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: image-generation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 3 read · 1 write · 0 delete
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 4
Read from the source code; the running server may list different tools.
Read 3 · Look things up without changing anything.
generate_imagemaintenanceshow_output_stats
Write 1 · Create, change, send or run things.
upload_file
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
GEMINI_API_KEY
Other settings (environment variables or headers).
IMAGE_OUTPUT_DIR
Files it touches
- Any path the agent passes to its tools
Tools (4)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
generate_imageGenerate or edit images (Multi-Model: Flash & Pro)read-onlyGenerate new images or edit existing images using natural language instructions. Supports multiple input modes: 1. Pure generation: Just provide a prompt to create new images 2. Multi-image conditioning: Provide up to 3 input images using input_image_path_1/2/3 parameters 3. File ID editing: Edit previously uploaded images using Files API ID 4. File path editing: Edit local images by providing single input image path Automatically detects mode based on parameters or can be explicitly controlled. Input images are read from the local filesystem to avoid massive token usage. Returns both MCP im…
maintenanceMaintenance and cleanup operationsread-onlyPerform maintenance operations following workflows.md patterns. Available operations: - cleanup_expired: Remove expired Files API entries from database - cleanup_local: Clean old local files based on age/LRU - check_quota: Check Files API storage usage vs. ~20GB budget - database_hygiene: Clean up database inconsistencies - full_cleanup: Run all cleanup operations in sequence
show_output_statsShow output directory statsread-onlyShow statistics about the output directory and recently generated images.
upload_fileUpload file to Gemini Files APIUpload a local file through the Gemini Files API and return its URI & metadata. Useful when the image is larger than 20MB or reused across prompts.
Compare and alternatives
Featured in
Signals
- Stars
- 401
- Forks
- 114
- Open issues
- 1
- Contributors
- 9
- Weekly downloads
- 4,295
- Last commit
- Oct 2, 2026 (27 days ago)
- Last release
- Sep 27, 2026 (1 month ago)
- Last package publish
- Sep 27, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.zhongweili/nanobanana-mcp-server- Version
- 1.0.0
- Auth
- API key
- Packages
- pypi nanobanana-mcp-server
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
Nanobanana MCP Server. Agent Mart. https://agentmart.dev/connectors/zhongweili-nanobanana-mcp-server (last updated 2026-10-24)