Developer Tools · Image & Video

MCP Server Gemini Image Generator logo

MCP Server Gemini Image Generator

qhdrl12/mcp-server-gemini-image-generator

This MCP server allows any AI assistant to generate images using Google's Gemini AI model. The server handles prompt engineering, text-to-image conversion, filename generation, and local image storage, making it easy to create and manage AI-generated images through any MCP client.

Install

npx -y @smithery/cli install @qhdrl12/mcp-server-gemini-image-gen --client claude

Client configuration

{
  "mcpServers": {
    "gemini-image-generator": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/mcp-server-gemini-image-generator",
        "run",
        "<value>"
      ],
      "env": {
        "GEMINI_API_KEY": "<GEMINI_API_KEY>",
        "OUTPUT_IMAGE_PATH": "<OUTPUT_IMAGE_PATH>"
      }
    }
  }
}

Environment variables

GEMINI_API_KEYOUTPUT_IMAGE_PATH
GitHub stars
5
Author
@qhdrl12
Category
Developer Tools, Image & Video
License
MIT
Updated
Oct 6, 2026

About MCP Server Gemini Image Generator

Generate high-quality images from text prompts using Google's Gemini model through the MCP protocol.

Features

  • Text-to-image generation using Gemini 2.0 Flash

  • Image-to-image transformation based on text prompts

  • Support for both file-based and base64-encoded images

  • Automatic intelligent filename generation based on prompts

  • Automatic translation of non-English prompts

  • Local image storage with configurable output path

  • Strict text exclusion from generated images

  • High-resolution image output

  • Direct access to both image data and file path

Tools (3)

  • generate_image_from_text

    Creates a new image from a text prompt description.

  • transform_image_from_encoded

    Transforms an existing image based on a text prompt using base64-encoded image data.

  • transform_image_from_file

    Transforms an existing image file based on a text prompt.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux

Related MCP servers

More servers
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright is a framework for web automation and testing. It drives Chromium, Firefox, and WebKit with a single API — in your tests, in your scripts, and as a tool for AI agents.

Developer Tools
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix is a tool that packs a codebase into an AI-friendly format, supporting local and remote repository processing and providing code compression, security checks and multiple output formats.

Developer Tools
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS is ByteDance's multimodal AI agent stack, shipping two projects: Agent TARS (a CLI and Web UI agent built on MCP) and UI-TARS-desktop (a desktop GUI agent).

Developer Tools
blender logo

blender

ahujasid/blender-mcp

10.6k

formerly blender-mcp — the PyPI package is now mcp-for-blender. Existing setups keep working; no config change is required. Read more.

Developer Tools
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Developer Tools
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Developer Tools