JG

junhan2/gemini-nanobanana-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

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...]
GitHub で README 全文を見る

インストール

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" } } } }