by nanameru
Gemini 2.5 Flash Image is an AI image generator for text-to-image creation, editing, and style transfer using artificial
Connects to Google's Gemini 2.5 Flash to generate, edit, compose, and apply style transfers to images using text prompts and existing images.
Gemini 2.5 Flash Image is a community-built MCP server published by nanameru that provides AI assistants with tools and capabilities via the Model Context Protocol. Gemini 2.5 Flash Image is an AI image generator for text-to-image creation, editing, and style transfer using artificial It is categorized under ai ml. This server exposes 4 tools that AI clients can invoke during conversations and coding sessions.
You can install Gemini 2.5 Flash Image in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Gemini 2.5 Flash Image is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
I recommend Gemini 2.5 Flash Image for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
Gemini 2.5 Flash Image reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Strong directory entry: Gemini 2.5 Flash Image surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Gemini 2.5 Flash Image has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Gemini 2.5 Flash Image has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
According to our notes, Gemini 2.5 Flash Image benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
We evaluated Gemini 2.5 Flash Image against two servers with overlapping tools; this profile had the clearer scope statement.
According to our notes, Gemini 2.5 Flash Image benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
Useful MCP listing: Gemini 2.5 Flash Image is the kind of server we cite when onboarding engineers to host + tool permissions.
Gemini 2.5 Flash Image is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
showing 1-10 of 54
A Model Context Protocol (MCP) server for conversational image generation and editing with Google's Gemini 2.5 Flash Image Preview. Designed to be easy to install and use from Claude Code and other MCP clients.
GEMINI_API_KEYFollow these steps to obtain an API key from Google AI Studio:
Examples:
# macOS / Linux (bash/zsh)
export GEMINI_API_KEY="YOUR_API_KEY"
# Windows PowerShell
$env:GEMINI_API_KEY="YOUR_API_KEY"
First, install the MCP server with your client. The following examples center on Claude Code usage.
Standard config works in most tools:
{
"mcpServers": {
"gemini-2-5-flash-mcp": {
"command": "npx",
"args": ["@taiyokimura/gemini-2-5-flash-mcp@latest"]
}
}
}
# npx(非対話フラグ付き) + APIキー同時指定(Claudeの -e 指定)
claude mcp add gemini-2-5-flash-mcp -s user -e GEMINI_API_KEY="YOUR_API_KEY" -- npx -y @taiyokimura/gemini-2-5-flash-mcp@latest
# グローバルインストール + APIキー同時指定(Claudeの -e 指定)
npm i -g @taiyokimura/gemini-2-5-flash-mcp \
&& claude mcp add gemini-2-5-flash-mcp -s user -e GEMINI_API_KEY="YOUR_API_KEY" -- gemini-2-5-flash-mcp
# HTTP モードで登録(SSE既定)例(対応クライアントのみ)
# ※ HTTP モードはこのプロセス自体がHTTPサーバとして常駐します
claude mcp add gemini-2-5-flash-mcp -s user \
-e GEMINI_API_KEY="YOUR_API_KEY" \
-e MCP_TRANSPORT="http" \
-e MCP_HTTP_PORT="7801" \
-e MCP_HTTP_PATH="/mcp" \
-- npx -y @taiyokimura/gemini-2-5-flash-mcp@latest
STDIO の代わりに Streamable HTTP を使うこともできます。MCP クライアントが Streamable HTTP に対応している場合のみ利用してください。
export MCP_TRANSPORT=http
export GEMINI_API_KEY=YOUR_API_KEY
# 任意(既定: 7801, /mcp, SSE)
export MCP_HTTP_PORT=7801
export MCP_HTTP_PATH=/mcp
export MCP_HTTP_ENABLE_JSON=false
npm run build
node ./build/index.js
# => HTTP transport listening on http://localhost:7801/mcp
http://localhost:7801/mcp注:
MCP_HTTP_ENABLE_JSON=true。sessionIdGenerator: undefined に変更可能です。Use the Claude Code CLI to add the MCP server:
claude mcp add gemini-2-5-flash-mcp -s user -- npx @taiyokimura/gemini-2-5-flash-mcp@latest
Remove if needed:
claude mcp remove gemini-2-5-flash-mcp
</details>
<details>
<summary>Claude Desktop</summary>
Follow the MCP install guide and use the standard config above.
</details> <details> <summary>Cursor</summary>Go to Cursor Settings → MCP → Add new MCP Server.
Use the following:
Add via CLI:
code --add-mcp '{"name":"gemini-2-5-flash-mcp","command":"npx","args":["@taiyokimura/gemini-2-5-flash-mcp@latest"]}'
Or use the standard config in settings.
</details> <details> <summary>LM Studio</summary>Add MCP Server with:
Advanced settings → Extensions → Add custom extension:
Example ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"gemini-2-5-flash-mcp": {
"type": "local",
"command": [
"npx",
"@taiyokimura/gemini-2-5-flash-mcp@latest"
],
"enabled": true
}
}
}
</details>
<details>
<summary>Qodo Gen</summary>
Open Qodo Gen → Connect more tools → + Add new MCP → Paste the standard config above → Save.
</details> <details> <summary>Windsurf</summary>Follow Windsurf MCP documentation and use the standard config above.
</details>GEMINI_API_KEY (required)GEMINI_IMAGE_ENDPOINT (optional) default:
https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-image-preview:generateContentMCP_NAME (optional, default: gemini-2-5-flash-mcp)Generate an image from a text prompt.
Parameters:
prompt (required): Detailed description to generatesaveToFilePath (optional): Path to save the imageExample input:
{
"prompt": "Create a picture of a nano banana dish in a fancy restaurant with a Gemini theme",
"saveToFilePath": "./gemini-native-image.png"
}
Edit an image using a prompt.
Parameters:
prompt (required): Edit instructionimage (required): { dataBase64?: string, path?: string, mimeType?: string }saveToFilePath (optional)Example input:
{
"prompt": "Add a small, knitted wizard hat to the cat",
"image": { "path": "./cat.jpeg", "mimeType": "image/jpeg" },
"saveToFilePath": "./gemini-edited-image.png"
}
Combine elements from multiple images.
Parameters:
prompt (required)images (required): Array of image inputs (2-3 recommended)saveToFilePath (optional)Transfer the style of one image to another.
Parameters:
prompt (optional)baseImage (required)styleImage (required)saveToFilePath (optional)Run locally:
npm install
npm run build
npx .
gemini-2-5-flash-mcp) for identifiers and keys.Gemini 2.5 Flash MCP) only for UI labels.Consistency Matrix:
gemini-2-5-flash-mcpgemini-2-5-flash-mcpgemini-2-5-flash-mcpgemini-2-5-flash-mcpgemini-2-5-flash-mcpGemini 2.5 Flash MCPConflict Cleanup:
gemini-2-5-flash-mcp.gemini-2-5-flash-mcp for keys..cursor/mcp.json.Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.