Generates Gemini image assets locally through MCP with resizing, transparency, references, and file or encoded outputs.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Alphabanana.
model`Flash3.1`, `Lite3.1`, `Flash2.5`, `Pro3`, `flash`, `pro`
output_resolution`0.5K`, `1K`, `2K`, `4K`
output_format`png`, `jpg`, `webp`
outputType`file`, `base64`, `combine`
outputPathrequired when `outputType` is `file` or `combine`
transparentenable transparent PNG/WebP post-processing
The tasopen/mcp-alphabanana MCP server exposes a generate_image tool for creating image assets with Google Gemini. An agent supplies a prompt and output settings, then receives either a saved file, encoded image data, or both. The tool is suited to workflows that generate illustrations, game assets, visual drafts, or other raster images from natural-language instructions.
Several Gemini image model choices are available. Flash3.1 is the default and supports thinking and grounding controls; Lite3.1 is limited to 1K output; Flash2.5 provides a legacy Flash option; and Pro3 targets higher-fidelity generation. flash and pro remain available as aliases.
The server runs locally and sends generation requests to Google Gemini using the configured API key. The request can specify a prompt, model, output resolution, dimensions, aspect ratio, format, resize behavior, and delivery mode. Normal mode resizes the generated result to outputWidth and outputHeight. With noresize=true, the response keeps Geminiβs native dimensions and requires both an aspectRatio and output_resolution value.
Generated images can be returned as PNG, JPG, or WebP. File and combined responses require an absolute outputPath; base64 responses place the image data in the MCP result. For Claude Desktop, file output is recommended for medium or large images because base64 and combined responses can consume substantial client context.
Local reference files can guide the generation. The tool accepts up to 14 references for the newer supported models and up to three for Flash2.5. Flash3.1 can also use text or image grounding and can include reasoning or grounding metadata when those options are enabled. Lite3.1 does not support Search Grounding.
Install and start the tasopen/mcp-alphabanana MCP server with npx -y @tasopen/mcp-alphabanana. Set GEMINI_API_KEY in the MCP client environment before launching it. The same variable can be mapped from the operating system environment in an MCP configuration, or supplied directly in that configuration.
The repository also provides an MCPB download for Claude Desktop. Claude Desktop users can add the downloaded package as an extension. On Windows, the documentation recommends adding a FileSystem extension when the workflow needs to select local reference files or writable output paths. Cursor and VS Code are also listed as compatible MCP clients.
The single exposed tool, generate_image, supports:
0.5K, 1K, 2K, and 4K resolution settings where supported.The outputFileName parameter is required, and its extension can be added automatically when omitted. Debug mode can save intermediate artifacts. Transparency processing is intended for PNG and WebP; JPG does not support an alpha channel.
The server depends on Google Gemini access and a valid GEMINI_API_KEY; the repository does not describe a built-in free generation service. Model features vary, so grounding and thinking controls should be used with Flash3.1, while Lite3.1 is restricted to 1K output and has no Search Grounding.
Large encoded responses may exceed an MCP clientβs context limits, making file output a better choice for larger assets. Reference images must be local files, and output directories must be writable absolute paths. The project is released under the MIT license. The tasopen/mcp-alphabanana MCP server is therefore most appropriate when the client can access local files and the workflow can provide Google Gemini credentials.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/tasopen-mcp-alphabanana)<a href="https://allmcps.com/mcp/tasopen-mcp-alphabanana"><img src="https://allmcps.com/api/badge/tasopen-mcp-alphabanana?style=directory" alt="MCP Alphabanana on AllMCPs" /></a>