Back to Home
a6401040 icon

nanobanana-mcp

Verified Safe

by a6401040

Overview

Provides an MCP (Model Context Protocol) server for AI image generation and editing using the Google Gemini API, enabling AI clients to create and modify images via structured tool calls.

Installation

Run Command
npx -y nanobanana-mcp --apiKey "your-api-key-here"

Environment Variables

  • GOOGLE_API_KEY
  • GOOGLE_GEMINI_BASE_URL

Security Notes

The server allows writing files to absolute paths on the file system via `output_path` in its tools. While designed for integration with trusted AI clients/IDEs that would manage these paths responsibly, a malicious calling agent could potentially instruct the server to write to arbitrary system locations, leading to data overwrites or disk filling. The content written is image data, mitigating arbitrary code injection. Additionally, the default API base URL (`https://api.tu-zi.com/v1`) is not Google's official Gemini API endpoint, implying a proxy or custom service is used by default, which may introduce additional trust considerations.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassHigh
Avg Tokens500000
Stars0
Forks0
Last Update2025-11-30

Tags

AIImage GenerationImage EditingGoogle GeminiMCPTypeScriptNode.js