NanoBananaMCP
NanoBananaMCP
Ein Model Context Protocol (MCP)-Server für KI-Bildgenerierung und -bearbeitung unter Verwendung von Googles Nano Banana-Modell über die AceDataCloud-API.
Generieren und bearbeiten Sie KI-Bilder direkt aus Claude, VS Code oder jedem anderen MCP-kompatiblen Client.
Funktionen
Bildgenerierung - Erstellen Sie hochwertige Bilder aus Text-Prompts
Bildbearbeitung - Ändern Sie vorhandene Bilder oder kombinieren Sie mehrere Bilder
Virtuelle Anprobe - Kleiden Sie Personen auf Fotos virtuell ein
Produktplatzierung - Platzieren Sie Produkte in realistischen Szenen
Aufgabenverfolgung - Überwachen Sie den Fortschritt der Generierung und rufen Sie Ergebnisse ab
Related MCP server: MidjourneyMCP
Tool-Referenz
Tool | Beschreibung |
| Generiert ein KI-Bild aus einem Text-Prompt unter Verwendung von Googles Nano Banana-Modell. |
| Bearbeitet oder kombiniert Bilder mithilfe von KI basierend auf einem Text-Prompt. |
| Fragt den Status und das Ergebnis einer Bildgenerierungs- oder Bearbeitungsaufgabe ab. |
| Fragt mehrere Bildgenerierungs-/Bearbeitungsaufgaben gleichzeitig ab. |
Schnellstart
1. API-Token abrufen
Registrieren Sie sich auf der AceDataCloud-Plattform
Gehen Sie zur API-Dokumentationsseite
Klicken Sie auf "Acquire", um Ihr API-Token zu erhalten
Kopieren Sie das Token für die unten stehende Verwendung
2. Den gehosteten Server verwenden (Empfohlen)
AceDataCloud hostet einen verwalteten MCP-Server – keine lokale Installation erforderlich.
Endpunkt: https://nanobanana.mcp.acedata.cloud/mcp
Alle Anfragen erfordern ein Bearer-Token. Verwenden Sie das API-Token aus Schritt 1.
Claude.ai
Verbinden Sie sich direkt auf Claude.ai mit OAuth – kein API-Token erforderlich:
Gehen Sie in Claude.ai zu Einstellungen → Integrationen → Mehr hinzufügen
Geben Sie die Server-URL ein:
https://nanobanana.mcp.acedata.cloud/mcpSchließen Sie den OAuth-Anmeldevorgang ab
Beginnen Sie mit der Nutzung der Tools in Ihrer Konversation
Claude Desktop
Fügen Sie dies Ihrer Konfiguration hinzu (~/Library/Application Support/Claude/claude_desktop_config.json unter macOS):
{
"mcpServers": {
"nanobanana": {
"type": "streamable-http",
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cursor / Windsurf
Fügen Sie dies Ihrer MCP-Konfiguration hinzu (.cursor/mcp.json oder .windsurf/mcp.json):
{
"mcpServers": {
"nanobanana": {
"type": "streamable-http",
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}VS Code (Copilot)
Fügen Sie dies Ihrer VS Code MCP-Konfiguration hinzu (.vscode/mcp.json):
{
"servers": {
"nanobanana": {
"type": "streamable-http",
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Oder installieren Sie die Ace Data Cloud MCP-Erweiterung für VS Code, die alle 15 MCP-Server mit einer Ein-Klick-Einrichtung bündelt.
JetBrains IDEs
Gehen Sie zu Einstellungen → Tools → AI Assistant → Model Context Protocol (MCP)
Klicken Sie auf Hinzufügen → HTTP
Einfügen:
{
"mcpServers": {
"nanobanana": {
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Claude Code
Claude Code unterstützt MCP-Server nativ:
claude mcp add nanobanana --transport http https://nanobanana.mcp.acedata.cloud/mcp \
-h "Authorization: Bearer YOUR_API_TOKEN"Oder fügen Sie es der .mcp.json Ihres Projekts hinzu:
{
"mcpServers": {
"nanobanana": {
"type": "streamable-http",
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Cline
Fügen Sie dies den MCP-Einstellungen von Cline hinzu (.cline/mcp_settings.json):
{
"mcpServers": {
"nanobanana": {
"type": "streamable-http",
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Amazon Q Developer
Fügen Sie dies Ihrer MCP-Konfiguration hinzu:
{
"mcpServers": {
"nanobanana": {
"type": "streamable-http",
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Roo Code
Fügen Sie dies den MCP-Einstellungen von Roo Code hinzu:
{
"mcpServers": {
"nanobanana": {
"type": "streamable-http",
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}Continue.dev
Fügen Sie dies der .continue/config.yaml hinzu:
mcpServers:
- name: nanobanana
type: streamable-http
url: https://nanobanana.mcp.acedata.cloud/mcp
headers:
Authorization: "Bearer YOUR_API_TOKEN"Zed
Fügen Sie dies den Einstellungen von Zed hinzu (~/.config/zed/settings.json):
{
"language_models": {
"mcp_servers": {
"nanobanana": {
"url": "https://nanobanana.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
}cURL-Test
# Health check (no auth required)
curl https://nanobanana.mcp.acedata.cloud/health
# MCP initialize
curl -X POST https://nanobanana.mcp.acedata.cloud/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'3. Oder lokal ausführen (Alternative)
Wenn Sie den Server lieber auf Ihrem eigenen Rechner ausführen möchten:
# Install from PyPI
pip install mcp-nanobanana-pro
# or
uvx mcp-nanobanana-pro
# Set your API token
export ACEDATACLOUD_API_TOKEN="your_token_here"
# Run (stdio mode for Claude Desktop / local clients)
mcp-nanobanana-pro
# Run (HTTP mode for remote access)
mcp-nanobanana-pro --transport http --port 8000Claude Desktop (Lokal)
{
"mcpServers": {
"nanobanana": {
"command": "uvx",
"args": ["mcp-nanobanana-pro"],
"env": {
"ACEDATACLOUD_API_TOKEN": "your_token_here"
}
}
}
}Docker (Self-Hosting)
docker pull ghcr.io/acedatacloud/mcp-nanobanana-pro:latest
docker run -p 8000:8000 ghcr.io/acedatacloud/mcp-nanobanana-pro:latestClients verbinden sich mit ihrem eigenen Bearer-Token – der Server extrahiert das Token aus dem Authorization-Header jeder Anfrage.
Verfügbare Tools
Bildgenerierung
Tool | Beschreibung |
| Generiert ein Bild aus einem Text-Prompt |
| Bearbeitet oder kombiniert Bilder mit KI |
Aufgaben
Tool | Beschreibung |
| Fragt den Status einer einzelnen Aufgabe ab |
| Fragt mehrere Aufgaben gleichzeitig ab |
Anwendungsbeispiele
Bild aus Prompt generieren
User: Create an image of a sunset over mountains
Claude: I'll generate that image for you.
[Calls nanobanana_generate_image with detailed prompt]Virtuelle Anprobe
User: Put this shirt on this model
[Provides two image URLs]
Claude: I'll combine these images.
[Calls nanobanana_edit_image with both image URLs]Produktfotografie
User: Place this product in a modern kitchen scene
[Provides product image URL]
Claude: I'll create a product scene for you.
[Calls nanobanana_edit_image with scene description]Tipps zum Schreiben von Prompts
Für beste Ergebnisse sollten Sie diese Elemente in Ihre Prompts aufnehmen:
Hauptmotiv: Was ist der primäre Fokus?
Atmosphäre: Welche Stimmung soll das Bild vermitteln?
Beleuchtung: Wie ist die Szene beleuchtet?
Kamera/Objektiv: Welcher fotografische Stil? (85mm Porträt, Weitwinkel, etc.)
Qualitäts-Keywords: Technische Deskriptoren (Bokeh, Filmkorn, HDR, etc.)
Beispiel-Prompt
A photorealistic close-up portrait of an elderly Japanese ceramicist
with deep wrinkles and a warm smile. Soft golden hour light streaming
through a window. Captured with an 85mm portrait lens, soft bokeh
background. Serene and masterful mood.Konfiguration
Umgebungsvariablen
Variable | Beschreibung | Standardwert |
| API-Token von AceDataCloud | Erforderlich |
| API-Basis-URL |
|
| OAuth-Client-ID (gehosteter Modus) | — |
| Plattform-Basis-URL |
|
| Anfrage-Timeout in Sekunden |
|
| Logging-Level |
|
Befehlszeilenoptionen
mcp-nanobanana-pro --help
Options:
--version Show version
--transport Transport mode: stdio (default) or http
--port Port for HTTP transport (default: 8000)Entwicklung
Entwicklungsumgebung einrichten
# Clone repository
git clone https://github.com/AceDataCloud/NanoBananaMCP.git
cd NanoBananaMCP
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # or `.venv\Scripts\activate` on Windows
# Install with dev dependencies
pip install -e ".[dev,test]"Tests ausführen
# Run unit tests
pytest
# Run with coverage
pytest --cov=core --cov=tools
# Run integration tests (requires API token)
pytest tests/test_integration.py -m integrationCode-Qualität
# Format code
ruff format .
# Lint code
ruff check .
# Type check
mypy core toolsErstellen & Veröffentlichen
# Install build dependencies
pip install -e ".[release]"
# Build package
python -m build
# Upload to PyPI
twine upload dist/*Projektstruktur
NanoBanana/
├── core/ # Core modules
│ ├── __init__.py
│ ├── client.py # HTTP client for NanoBanana API
│ ├── config.py # Configuration management
│ ├── exceptions.py # Custom exceptions
│ ├── server.py # MCP server initialization
│ ├── types.py # Type definitions
│ └── utils.py # Utility functions
├── tools/ # MCP tool definitions
│ ├── __init__.py
│ ├── image_tools.py # Image generation/editing tools
│ └── task_tools.py # Task query tools
├── prompts/ # MCP prompt templates
│ └── __init__.py
├── tests/ # Test suite
├── deploy/ # Deployment configs
│ └── production/
│ ├── deployment.yaml
│ ├── ingress.yaml
│ └── service.yaml
├── .env.example # Environment template
├── .gitignore
├── Dockerfile # Docker image for HTTP mode
├── docker-compose.yaml # Docker Compose config
├── LICENSE
├── main.py # Entry point
├── pyproject.toml # Project configuration
└── README.mdAPI-Referenz
Dieser Server kapselt die AceDataCloud NanoBanana API:
NanoBanana Images API - Bildgenerierung und -bearbeitung
NanoBanana Tasks API - Aufgabenabfragen
Anwendungsfälle
Porträtverbesserung - Probieren Sie verschiedene Kleidung an derselben Person aus
Produkt-Szenenkomposition - Platzieren Sie Produkte mit weißem Hintergrund in realistischen Umgebungen
Attributersetzung - Ändern Sie Materialien, Farben oder Varianten
Schnelle Posterbearbeitung - Ändern Sie schnell Stile oder Themen
2D-zu-3D-Konvertierung - Konvertieren Sie Bilder in 3D-Produkt-Mockups
Bildrestaurierung - Restaurieren Sie alte oder beschädigte Fotos
Mitwirken
Beiträge sind willkommen! Bitte:
Forken Sie das Repository
Erstellen Sie einen Feature-Branch (
git checkout -b feature/amazing)Committen Sie Ihre Änderungen (
git commit -m 'Add amazing feature')Pushen Sie auf den Branch (
git push origin feature/amazing)Öffnen Sie einen Pull Request
Lizenz
MIT-Lizenz - siehe LICENSE für Details.
Links
Mit Liebe gemacht von AceDataCloud
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables AI assistants to generate images from text prompts and transform existing images using Google Gemini's nano banana model through the Nanana AI service. Supports both text-to-image generation and image-to-image transformation capabilities.21610MIT
- AlicenseAqualityBmaintenanceEnables AI image and video generation using Midjourney through the AceDataCloud API. It supports comprehensive features including image creation, transformation, blending, editing, and video generation directly within MCP-compatible clients.167MIT
- FlicenseBqualityDmaintenanceEnables image generation and multi-turn editing sessions using the Gemini API within MCP-compatible environments. Users can create, modify, and configure images through natural language commands, supporting features like aspect ratio adjustments and session-based image transformations.5
- AlicenseNot gradedqualityCmaintenanceAI-powered image generation MCP server with 16 specialized tools for generating, editing, analyzing, and processing images using Google's Nano Banana 2 model. Supports custom API endpoints and integrates with AI coding assistants via natural language.1661MIT
Related MCP Connectors
Omni Flash and Veo video, Nano Banana images on Google Flow, from any MCP client
Generate images, video & speech with Nano Banana, Veo, Omni and Gemini TTS. Pay as you go.
MCP server for Google Veo AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AceDataCloud/NanoBananaMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server