Gemini Image MCP Server

Gemini Image MCP Server

gemini-image-mcp-server•byrocksun

A Gemini-based image generation and editing service exposing AI image processing capabilities through the MCP protocol.

License: Not specified•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Provides text-to-image generation via a generate_image tool that accepts a prompt and returns the absolute path of the generated image.
  • •Provides image editing and modification via an edit_image tool that takes a prompt and an original image path and returns the edited image path.
  • •Supports PNG format and generates output images into a default generated-images directory, with optional custom save paths.

BEST FOR

  • •Generating images from text prompts through an MCP-connected assistant.
  • •Editing and modifying existing images using prompts, including Chinese-language editing instructions.

ABOUT GEMINI-IMAGE-MCP-SERVER

Gemini Image MCP Server is cataloged as an MCP server attributed to rocksun. A Gemini-based image generation and editing service exposing AI image processing capabilities through the MCP protocol. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Gemini Image MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What does the generate_image tool return?

It returns the absolute path of the generated image.

Where are generated images saved by default?

By default images are saved to the generated-images directory.

Upstream README

View this exact version on GitHub

README.md · 76dd5366c461 · Fetched 2026-11-13 12:59:01 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Installation

Gemini Image MCP Server

Google Gemini-based image generation and editing service providing AI image processing capabilities through MCP protocol.

Features

  • Text-to-Image Generation (generate_image)
  • Image Editing & Modification (edit_image)
  • PNG Format Support
  • Automatic File Path Management

安装运行

# 安装依赖
uv pip install -r requirements.txt

# 设置环境变量(Linux/macOS)
export GEMINI_API_KEY=your_api_key_here

# Windows 设置:
setx GEMINI_API_KEY "your_api_key_here"

API Documentation

generate_image

@mcp.tool()
async def generate_image(prompt: str, save_path: str = None) -> str:
    """
    :param prompt: Image generation prompt (works better in English)
    :param save_path: Optional save path (default: generated-images/ directory)
    :return: Absolute path of generated image
    """

edit_image

@mcp.tool()
async def edit_image(prompt: str, image_path: str, save_path: str = None) -> str:
    """
    :param prompt: 图像编辑指令(支持中文)
    :param image_path: 原始图片路径
    :param save_path: 可选保存路径,默认生成在 generated-images/ 目录
    :return: 编辑后图片的绝对路径
    """

MCP Configuration

Add to mcp.json:

{
    "mcpServers": {
        "gemini-image-mcp-server": {
            "command": "uv",
            "args": [
                "--directory",
                "/ABSOLUTE/PATH/TO/PARENT/FOLDER/",
                "run",
                "server.py"
            ]
        }
    }
}

Important Notes

  1. Ensure replacement of absolute paths in configuration
  2. API key must be set through environment variables
  3. Recommended to run sample code first for initial usage
  4. Generated images default to generated-images directory

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Gemini Image MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/gemini-image-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design