openrouter-banana-mcp
MCP server that generates images from text prompts using OpenRouter with the
google/gemini-3-pro-image-preview model.
Install
pip install openrouter-banana-mcp
Setup
uv sync
Create a .env file or export environment variables:
OPENROUTER_API_KEY=your_key_here
Run
uv run banana-mcp
Or:
python -m banana_mcp
Configure MCP clients
Add a stdio server entry in your MCP client config (for example, Claude Desktop, Cursor, or Continue). Use one of these command styles:
{
"mcpServers": {
"openrouter-banana": {
"command": "banana-mcp",
"args": [],
"env": {
"OPENROUTER_API_KEY": "your_key_here"
}
}
}
}
If you prefer running via Python or uv:
{
"mcpServers": {
"openrouter-banana": {
"command": "python",
"args": ["-m", "banana_mcp"],
"env": {
"OPENROUTER_API_KEY": "your_key_here"
}
}
}
}
One-command install
Codex CLI:
codex mcp add openrouter-banana --env OPENROUTER_API_KEY=your_key_here -- banana-mcp
Claude Code:
claude mcp add --transport stdio openrouter-banana --env OPENROUTER_API_KEY=your_key_here -- banana-mcp
MCP Tool
Tool: generate_image
Input:
prompt(string)
Output:
model(string)images(list of base64 data URLs)text(optional assistant text)
Metadata
Release files for openrouter-banana-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openrouter_banana_mcp-0.1.1.tar.gz | 431.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openrouter_banana_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 435.2 kB
Release files / openrouter_banana_mcp-0.1.1.tar.gz
| Download URL | openrouter_banana_mcp-0.1.1.tar.gz |
|---|---|
| Size | 431.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18ca5c4f06828eafecf2a04ec410326be797a7f52652bbcfd76ad94100f043ce
|
|
BLAKE2b-256 checksum How to use checksums |
9ec8ee4fac77c5958d625912007540ed3ba2c0671c04b2bef18068634b0bc80e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|
Release files / openrouter_banana_mcp-0.1.1-py3-none-any.whl
| Download URL | openrouter_banana_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8470573d04f0ac85afdce42a8c9f4677d74dab470b68b143c59cfaf731caf05a
|
|
BLAKE2b-256 checksum How to use checksums |
7eb9ab9bd8958a1e414d1a2bf009425013ecc883694b43a9a623f5c1b1c0c2e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|