
conechoai/nano-banana-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
conechoai/nano-banana-mcpは、[[T0]からインポートされたMCPサーバー候補です。
概要
conechoai/nano-banana-mcpは、[[T0]からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
** 🤖 このプロジェクトは完全にClaude Codeによって生成されました。Claude Codeは、ゼロから完全な本番環境向けアプリケーションを作成できるAIコーディングアシスタントです。
GoogleのGemini 2.5 Flash Image APIを使ったAI画像生成と編集機能を提供するモデルコンテキストプロトコル(MCP)サーバーです。美しい画像を生成し、既存の画像を編集し、シンプルなテキストプロンプトで作品を反復修正できます。
✨ 特徴
- 🎨 画像生成:テキストの説明から新しい画像を作成する
- ✏️ 画像編集:テキストプロンプトで既存画像を修正
- 🔄 反復編集:最後に生成・編集された画像を編集を続ける
- 🖼️ 複数の参考画像:スタイルの転送と指導のために参照画像を使用する
- 🌍 クロスプラットフォーム:Windows、macOS、Linux向けのスマートファイルパス
- 🔧 簡単な設定:APIキーによる簡単な設定
- 📁 自動ファイル管理:整理した命名による自動画像保存
🔑 セットアップ
- Gemini APIキーを取得し:
- Google AI Studioの訪問
- 新しいAPIキーの作成
- 設定のためにコピーする
- MCPサーバーの設定: 以下に、あなたのクライアント(Claude Code、カーソル、その他のMCPクライアント)の設定例をご覧ください。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Nano-Banana MCP Server 🍌
🤖 This project was entirely generated by Claude Code - an AI coding assistant that can create complete, production-ready applications from scratch.
A Model Context Protocol (MCP) server that provides AI image generation and editing capabilities using Google’s Gemini 2.5 Flash Image API. Generate stunning images, edit existing ones, and iterate on your creations with simple text prompts.
✨ Features
- 🎨 Generate Images: Create new images from text descriptions
- ✏️ Edit Images: Modify existing images with text prompts
- 🔄 Iterative Editing: Continue editing the last generated/edited image
- 🖼️ Multiple Reference Images: Use reference images for style transfer and guidance
- 🌍 Cross-Platform: Smart file paths for Windows, macOS, and Linux
- 🔧 Easy Setup: Simple configuration with API key
- 📁 Auto File Management: Automatic image saving with organized naming
🔑 Setup
-
Get your Gemini API key:
- Visit Google AI Studio
- Create a new API key
- Copy it for configuration
-
Configure the MCP server: See configuration examples for your specific client below (Claude Code, Cursor, or other MCP clients).
💻 Usage with Claude Code
Configuration:
Add this to your Claude Code MCP settings:
Option A: With environment variable (Recommended - Most Secure)
{
"mcpServers": {
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
}
Option B: Without environment variable
{
"mcpServers": {
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"]
}
}
}
Usage Examples:
Generate an image of a sunset over mountains
Edit this image to add some birds in the sky
Continue editing to make it more dramatic
🎯 Usage with Cursor
Configuration:
Add to your Cursor MCP configuration:
Option A: With environment variable (Recommended)
{
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
Option B: Without environment variable
{
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"]
}
}
Usage Examples:
- Ask Cursor to generate images for your app
- Create mockups and prototypes
- Generate assets for your projects
🔧 For Other MCP Clients
If you’re using a different MCP client, you can configure nano-banana-mcp using any of these methods:
Configuration Methods
Method A: Environment Variable in MCP Config (Recommended)
インストール
npx nano-banana-mcp設定
{
"mcpServers": {
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
}