Skip to main content

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)

Source distribution for openrouter-banana-mcp 0.1.1
File Size Uploaded Provenance Actions
openrouter_banana_mcp-0.1.1.tar.gz 431.8 kB Without provenance Details for openrouter_banana_mcp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openrouter-banana-mcp 0.1.1
File Interpreter ABI Platform Actions
openrouter_banana_mcp-0.1.1-py3-none-any.whl Python 3 none any Details for openrouter_banana_mcp-0.1.1-py3-none-any.whl

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

Security for openrouter-banana-mcp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page