
Nano Banana Mcp
io.github.fjacquetv3.2.1更新於 Oct 11, 2026
AI image generation and editing with Google Gemini: Nano Banana 2.1, Pro and Lite models
概覽
讓助理透過 Google Gemini 圖像模型生成並反覆編輯圖片,需使用 Gemini API 金鑰。
- 功能
- 這個本機 MCP 伺服器提供 AI 圖像相關工具:generate_image 依文字提示生成新圖片,edit_image 修改現有圖片並可附上參考圖,continue_editing 對上一張圖片反覆編輯。另有 get_last_image_info 查詢上一張圖片資訊、configure_gemini_token 設定 API 金鑰、get_configuration_status 檢查設定狀態。生成與編輯工具都接受選用的 model 參數,用來在多個 Gemini 圖像模型之間選擇。
- 適用情境
- 適合想在 Claude Code、Cursor 等 MCP 用戶端中,用自然語言提示讓助理建立或修改圖片,並對同一張圖片進行多步驟編輯的情境。適用於把圖像生成當成任務一部分的桌面工作流程。
- 執行需求
- 以 stdio 方式在本機執行,需要 Node.js 18 或更新版本以及 npx。必須提供來自 Google AI Studio 的 Gemini API 金鑰,可透過 GEMINI_API_KEY 環境變數傳入,或稍後用 configure_gemini_token 工具設定。需要連線至 Google Gemini API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Nano Banana Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Nano-Banana MCP Server
[npm version] [CI] [License: MIT] [Node.js >= 18] [Release] [License]
An MCP server for AI image generation and editing using Google Gemini. Works with Claude Code, Cursor, and other MCP clients.
Models supported:
Quick Start
-
Get a Gemini API key from Google AI Studio
-
Add to your MCP client config (Claude Code example):
See docs/configuration.md for Cursor and other MCP clients.
- Use the tools:
Tools
All generation/editing tools accept an optional model parameter to choose between the two models.
See docs/tools.md for full API reference, docs/configuration.md for setup details, and docs/workflows.md for usage patterns.
Development
Requires Node.js >= 18.0.0.
License
MIT — see LICENSE.
Fork of ConechoAI/Nano-Banana-MCP.
來源:README.md,提交 dd44598
工具
0版本歷史
1- v3.2.1最新Oct 11, 2026


