What API key is required and where do I get it?
You need a Google AI Studio API key. Get one free at [Google AI Studio](https://aistudio.google.com/apikey) by signing in with your Google account.
@Junhan2
基本情報
MCP server for Google Gemini 2.5 Flash Image preview (text-to-image, editing, composition)
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"gemini-nanobanana-mcp": {
"command": "npx",
"args": [
"gemini-nanobanana-mcp@latest"
],
"env": {
"GEMINI_API_KEY": "your-api-key",
"AUTO_SAVE": "true",
"DEFAULT_SAVE_DIR": "~/Pictures/AI-Images",
"LOG_LEVEL": "debug"
}
}
}
}Generate an image from a text prompt using Gemini 2.5 Flash Image
Edit an image using a prompt. Provide one input image via base64 or file path.
Compose a new image using multiple input images and a guiding prompt.
Transfer style from a style image to a base image, guided by an optional prompt.
Gemini Nanobanana Mcp is a beginner-friendly Model Context Protocol (MCP) server that brings Google’s Gemini 2.5 Flash image generation directly into Claude conversations. It enables text-to-image generation, image editing, multi-image composition, and style transfer—all through natural language prompts.
Configure the server in Claude Desktop, Claude Code, or Cursor by adding a JSON entry with the npx command and your GEMINI_API_KEY environment variable. After restarting your client, simply ask Claude to generate, edit, or compose images. Images are auto-saved to ~/Downloads/gemini-images/ by default, and you can specify a custom path in your prompt.
AUTO_SAVE=falseYou need a Google AI Studio API key. Get one free at [Google AI Studio](https://aistudio.google.com/apikey) by signing in with your Google account.
Open Terminal and run the one‑line command provided in the README that writes the configuration JSON to `~/Library/Application Support/Claude/claude_desktop_config.json`, replacing `YOUR_API_KEY` with your actual key.
The API key is missing or incorrectly set. Double‑check your config file or environment variable, ensure there are no extra spaces, and restart your Claude client.
Yes. Set `DEFAULT_SAVE_DIR` to a custom path, or set `AUTO_SAVE` to `false` to only save images when you explicitly request a path.
Supported formats: PNG, JPEG, WebP, and GIF. For instant preview in Claude Code, install the provided hooks from the repository—generated images will open automatically in Quick Look.
28-tool MCP server for web scraping, crawling, deep research & autonomous extraction — clean Markdown & structured JSON for Claude, Cursor & any MCP client. 1,000 free one-time credits, local-Ollama LLM support.
早起鸟儿喊真人验真 is a remote MCP server available at http://121.40.18.232.
NetFoundry MCP Gateway enables secure, isolated access to Model Context Protocol (MCP) tools across distributed systems without exposing public endpoints. Zero trust gateway for MCP servers. Aggregate, filter, and secure
Open-source Node.js FHIR MCP server with SMART Backend Services, metadata-aware search/CRUD tools, compact responses, FHIRPath filtering, safe pagination, audit events, and terminology lookup.
Official MCP server for BlazingCDN - AI agents (Claude, Cursor, Windsurf) manage CDN resources, purge cache, query metrics, domains, Anycast CDN, Video CDN and Media CDN
コメント