Back to Home
dennisonbertram icon

mcp-nano-banana

Verified Safe

by dennisonbertram

Overview

Provides a Model Context Protocol (MCP) server for AI assistants like Claude to generate and manage images using Google's Gemini Nano Banana model.

Installation

Run Command
mcp-nano-banana

Environment Variables

  • GEMINI_API_KEY

Security Notes

The API key (GEMINI_API_KEY) is loaded from environment variables or a .env file, not hardcoded, which is a good practice. File system operations (saving images) are constrained to absolute paths and enforce a '.png' extension, mitigating common path traversal and arbitrary file write vulnerabilities. There is no apparent use of 'eval' or direct execution of arbitrary user-provided code. Communication is primarily via STDIO, reducing direct network exposure to external clients. Error handling for input validation (Zod) is present.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens50
Stars0
Forks0
Last Update2025-11-28

Tags

mcpimage-generationgoogle-geminiai-toolsclaude-desktop