Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Connected while the plugin is enabled; Claude calls their tools.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.

↑ generated with this tool (scripts/make_hero.py).
An MCP server (+ standalone Python scripts) that generates images with your own Google Gemini session — the "Nano Banana" image model — driven straight over Gemini's web HTTP flow. No browser, no headful Chrome: it's headless by nature.
You bring your own Google account cookies (exported with a browser extension). The server signs requests as you, running your own prompts against your own Gemini access.
secrets/, storage dumps, or
HAR files. The repo's .gitignore blocks them by default — keep it that way.Gemini's web UI generates images via an HTTP RPC endpoint
(.../BardFrontendService/StreamGenerate) — not a WebSocket. banana-mcp
replays that flow with your session cookies:
__Secure-1PSID, optionally __Secure-1PSIDTS,
plus the standard SID/SAPISID/… set), captured once with a browser
extension.output/.Under the hood it uses the excellent
gemini_webapi library, which
handles the XSRF (SNlM0e) token and __Secure-1PSIDTS rotation.
Pick one. All three read your cookies from the same place
(~/.config/banana-mcp/cookies.json — see Cookies below).
/plugin marketplace add nsozturk/banana-mcp
/plugin install banana-mcp@banana-mcp
Requires uv on your PATH (the plugin launches the
server with uvx). Install it once:
curl -LsSf https://astral.sh/uv/install.sh | sh (macOS/Linux) or
irm https://astral.sh/uv/install.ps1 | iex (Windows).
# run the MCP server directly (no install)
uvx --from git+https://github.com/nsozturk/banana-mcp banana-mcp
# or install the console scripts
pip install git+https://github.com/nsozturk/banana-mcp
This exposes two commands: banana-mcp (the MCP server) and
banana-generate (the CLI batch generator).
git clone https://github.com/nsozturk/banana-mcp && cd banana-mcp
python3.11 -m venv .venv
.venv/bin/python -m pip install -e . # or: -r requirements.txt
Python 3.11+ required (the upstream library needs
enum.StrEnum).
storagedump_gemini.google.com_<timestamp>/ folder containing cookies.json.python scripts/extract_cookies.py path/to/storagedump_gemini.google.com_<timestamp>
# writes ~/.config/banana-mcp/cookies.json (chmod 600). Use --out to override.
You can also point at any cookie file with the BANANA_COOKIES env var.
Cookies rotate and go stale. If generations start returning "signed out", re-export a fresh StorageDump and re-run
extract_cookies.py.
banana-mcp speaks MCP over stdio and exposes four tools:
| Tool | What it does |
|---|---|
banana_account_status | Check the session is authenticated / image-capable |
banana_generate_image | Generate from a free-form prompt string |
banana_generate_from_file | Batch-generate from a *-image-prompts.json file |
banana_list_prompts | List prompt ids/titles inside a prompt JSON file |
The plugin (Install → A) wires this up automatically. To register manually:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub nsozturk/banana-mcp --plugin banana-mcpPlugins from other owners that cover similar ground