1. Conduid
  2. AI
  3. Nanobanana MCP
MCP server · AI

Nanobanana MCP

Gemini Vision & Image Generation MCP for Claude Desktop and Claude Code

Unclaimed MIT last commit 9 months ago aiclaudecloudflare-workersgeminiimage-generationmcp
56Fair

Scored 5 hours ago · breakdown

About Nanobanana MCP

Nanobanana MCP is an MCP server published by YCSE in the AI category: gemini Vision & Image Generation MCP for Claude Desktop and Claude Code. Conduid read 7 tools from its source: clear_conversation, gemini_chat, gemini_edit_image, gemini_generate_image, get_image_history, set_aspect_ratio and 1 more. It is published to npm as @ycse/nanobanana-mcp and starts with npx.

The repository has 32 stars and 6 forks, is licensed MIT, and its last commit was on 3 Mar 2026. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include cloudflare-workers and image-generation.

Install

Claude Code
claude mcp add nanobanana-mcp -- npx -y @ycse/nanobanana-mcp
npx
npx -y @ycse/nanobanana-mcp
From source
git clone https://github.com/YCSE/nanobanana-mcp

Tools (7)

clear_conversationReset session context
ParameterTypeDescription
conversation_id *stringThe conversation ID to clear
gemini_chatMulti-turn conversation with images
ParameterTypeDescription
conversation_idstringOptional conversation ID for maintaining context and accessing image history
imagesarrayArray of image paths to include in the chat (max 10). Supports file paths, 'last', or 'history:N' references.
message *stringThe message to send to Gemini
system_promptstringOptional system prompt to guide the model's behavior
gemini_edit_imageEdit images with natural language
ParameterTypeDescription
aspect_ratiostringAspect ratio for the edited image. Overrides session setting if provided.
conversation_idstringSession ID for accessing image history and maintaining consistency
edit_prompt *stringInstructions for how to edit the image
enable_google_searchbooleanEnable Google Search for real-world reference grounding
image_path *stringPath to the original image. Use 'last' for most recent generated image, or 'history:N' (e.g., 'history:0') to reference by index
output_pathstringOptional output path. If not provided, saves to ~/Documents/nanobanana_generated/
reference_imagesarrayAdditional reference images for style consistency (max 10). Supports file paths, 'last', or 'history:N' references.
gemini_generate_imageGenerate images from text prompts
ParameterTypeDescription
aspect_ratiostringAspect ratio for the generated image. Overrides session setting if provided.
conversation_idstringSession ID for maintaining image history and consistency across generations
enable_google_searchbooleanEnable Google Search for real-world reference grounding
output_pathstringOptional path where to save the generated image. If not provided, saves to ~/Documents/nanobanana_generated/
prompt *stringDescription of the image to generate
reference_imagesarrayArray of file paths to reference images for style/character consistency
use_image_historybooleanIf true, includes previous generated images from this session for style/character consistency
get_image_historyView session image history
ParameterTypeDescription
conversation_id *stringThe session ID to get image history for
set_aspect_ratioRequired. Set aspect ratio before image generation
ParameterTypeDescription
aspect_ratio *stringThe aspect ratio to use for image generation/editing
conversation_idstringSession ID to apply this setting to (default: 'default')
set_modelSwitch between flash/pro models at runtime
ParameterTypeDescription
conversation_idstringSession ID to apply this setting to (default: 'default')
model *stringModel to use: 'flash' (gemini-3.1-flash-image-preview) or 'pro' (gemini-3-pro-image-preview)

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 752 words.
  • ✓License declaredThe repository declares the MIT license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 2 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/index.ts:51
Starts other programs
No calls that start other programs
Outbound network calls
1 callsrc/index.ts:122
Writes or deletes files
7 callssrc/index.ts:34, src/index.ts:37, src/index.ts:263
Lockfile
package-lock.json

Pattern matches on the source text of 2 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 752 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Nanobanana MCP

How do I install Nanobanana MCP?

In Claude Code, run claude mcp add nanobanana-mcp -- npx -y @ycse/nanobanana-mcp. Other MCP clients take the command after "--" in their server configuration.

Is Nanobanana MCP safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Conduid's scan of 2 source files found that it serves MCP over stdio, makes outbound network calls (1 call) and writes or deletes files (7 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Nanobanana MCP still maintained?

The last commit was 9 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Nanobanana MCP provide?

Conduid read 7 tools from the source: clear_conversation, gemini_chat, gemini_edit_image, gemini_generate_image, get_image_history, set_aspect_ratio and set_model. 7 of them publish their parameters, listed under Tools above.

What license is Nanobanana MCP released under?

The repository declares the MIT license.