JG

junhan2/gemini-nanobanana-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

11 stars 5 forks Качество 67 Тренд 8MIT

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

Обзор

Simply type "Draw a cute cat" and get instant AI-generated images. A beginner-friendly Model Context Protocol (MCP) server that brings Google's Gemini 2.5 Flash Image generation directly into your Claude conversations. 1. Visit Google AI Studio 2. Sign in with your Google account 3. Click "Create API key" → Copy the key 1. Open 2. Copy this code and replace YOUR_API_KEY with your actual key: 3. Save as: %APPDATA%/Claude/claude_desktop_config.json 4. 1. Open (search "Terminal" in Spotlight) 2. Run this command (replace YOUR_API_KEY): Just run this one command in your terminal (replace YOUR_API_KEY): 1. Go to Cursor Settings → MCP → Add new MCP Server 2. Fill in: - : gemini-nanobanana-mcp - : npx - : gemini-nanobanana-mcp@latest - : GEMINI_API_KEY = YOUR_API_KEY 3.

README

Показан фрагмент оригинального README. Открыть оригинал.

🎨 Gemini Nanobanana MCP

Generate images from text with Claude! Simply type “Draw a cute cat” and get instant AI-generated images.

A beginner-friendly Model Context Protocol (MCP) server that brings Google’s Gemini 2.5 Flash Image generation directly into your Claude conversations.

Quick Start - Just 3 Steps

1️⃣ Get Your API Key (1 minute)

  1. Visit Google AI Studio
  2. Sign in with your Google account
  3. Click “Create API key” → Copy the key

2️⃣ Install in Your Claude Client (2 minutes)

3️⃣ Start Creating! (0 minutes)

Try these in Claude:

  • “Generate a cute puppy playing in a garden”
  • “Create a beautiful sunset over mountains”
  • “Draw a red sports car”
  • “Make an abstract colorful painting”

Your images automatically save to ~/Downloads/gemini-images/


See It In Action

Basic Usage

You: Generate a cozy coffee shop interior
Claude: [Generating image...]
Открыть полный README на GitHub

Установка

npx gemini-nanobanana-mcp@latest
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "gemini-nanobanana-mcp": { "command": "npx", "args": ["gemini-nanobanana-mcp@latest"], "env": { "GEMINI_API_KEY": "YOUR_API_KEY" } } } }