Nanobananana MCP
Generate and edit images and generate videos with Nanobananana. This repository contains MIT-licensed client setup and integration metadata.
Connect
Create a token under Account → API tokens. Connect with Streamable HTTP at https://nanobananana.com/api/mcp and send Authorization: Bearer YOUR_API_KEY. Generation tools use your account credits.
Claude Code
claude mcp add --transport http nanobananana https://nanobananana.com/api/mcp --header "Authorization: Bearer $NANOBANANA_API_KEY"
Install the accompanying skill with /plugin marketplace add NanoBananana/nanobanana-mcp and then /plugin install nanobananana-creative@nanobananana.
Codex
Add this to ~/.codex/config.toml:
[mcp_servers.nanobananana]
url = "https://nanobananana.com/api/mcp"
bearer_token_env_var = "NANOBANANA_API_KEY"
Install the accompanying skill with codex plugin marketplace add NanoBananana/nanobanana-mcp and then codex plugin add nanobananana-creative@nanobananana.
Cursor
Set NANOBANANA_API_KEY in the environment that starts Cursor. Add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"nanobananana": {
"url": "https://nanobananana.com/api/mcp",
"headers": {
"Authorization": "Bearer ${env:NANOBANANA_API_KEY}"
}
}
}
}
Gemini CLI
gemini extensions install https://github.com/NanoBananana/nanobanana-mcp
Enter your token without the Bearer prefix when prompted.
Cline
Create a token and set NANOBANANA_API_KEY in your shell. Run:
cline mcp add nanobananana --transport streamable-http https://nanobananana.com/api/mcp \
--header "Authorization: Bearer $NANOBANANA_API_KEY" --yes
Kiro
Set NANOBANANA_API_KEY in the environment that starts Kiro, restart Kiro, and open Add Nanobananana to Kiro.
Tools
| Tool | Purpose |
|---|---|
nano_account_status |
Check plan, credits, and API limits. |
nano_list_models |
Discover image and video models. |
nano_get_model |
Inspect a model's parameters. |
nano_estimate_cost |
Estimate generation cost in credits. |
nano_upload_image |
Import an HTTPS image URL as an input. |
nano_generate_image |
Submit an image generation or edit job. |
nano_generate_video |
Submit a video generation job. |
nano_get_generation |
Check a job's status or result. |
nano_list_generations |
Find recent jobs. |
See Cline installation for Streamable HTTP setup and a read-only model-list check.