TokenToSeaMCP Hub
中文 Console

Gemini Nanobanana MCP

Junhan2

MCP server for Google Gemini 2.5 Flash Image preview (text-to-image, editing, composition)

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add gemini-nanobanana --env GEMINI_API_KEY='<GEMINI_API_KEY>' --env AUTO_SAVE='<AUTO_SAVE>' --env DEFAULT_SAVE_DIR='<DEFAULT_SAVE_DIR>' --env LOG_LEVEL='<LOG_LEVEL>' -- npx gemini-nanobanana-mcp@latest

Environment variables

  • GEMINI_API_KEY
  • AUTO_SAVE
  • DEFAULT_SAVE_DIR
  • LOG_LEVEL

Replace the placeholders with your own credentials and keep them out of version control.