Enterprise DNA Enterprise DNA
M MCP Servers Developer low

yuluo688/gen-image-mcp

by Various

Local MCP for OpenAI-compatible and Gemini image generation, editing, and automatic model fallback

MCP

yuluo688/gen-image-mcp

Added 23 Sept 2026

#claude-code #cursor #gemini #image-editing #image-generation #mcp #model-context-protocol #openai-images

Overview

Local Model Context Protocol server for image generation and editing. Supports OpenAI-compatible and Gemini APIs with automatic model fallback. Written in TypeScript.

Best for

Best for
Developers building MCP-based tools that need local image generation with provider fallback.

Use cases

  • Generate images from text prompts through MCP-compatible clients
  • Edit existing images using Gemini or OpenAI-compatible models
  • Add automatic fallback between image model providers

How to use

Install

npx -y gen-image-mcp --base-url "https://your-proxy.example" --model "images-model-a,images-model-b" --auto-fallback true

Tools exposed

  • GEN_IMAGE_BASE_URL
  • GEN_IMAGE_API_KEY
  • GEN_IMAGE_MODEL
  • GEN_IMAGE_GEMINI_MODEL
  • GEN_IMAGE_AUTO_FALLBACK
  • GEN_IMAGE_TIMEOUT_MS
  • list_models
  • generate_image
  • edit_image
  • generate_gemini_image
  • elapsed_ms
  • attempt_count
  • retry_count
  • model_switches

Tested with

ChatGPT

Notes

Local Model Context Protocol server for image generation and editing. Supports OpenAI-compatible and Gemini APIs with automatic model fallback. Written in TypeScript.

0 stars on GitHub. Last updated 2026-09-21. Licensed MIT.

Use cases

  • Generate images from text prompts through MCP-compatible clients
  • Edit existing images using Gemini or OpenAI-compatible models
  • Add automatic fallback between image model providers

Pros

  • Runs locally, keeping API keys and data on the user’s machine
  • Supports both OpenAI-compatible and Gemini endpoints
  • Automatic fallback reduces failed image requests

Cons

  • No community adoption yet, zero stars on GitHub
  • Requires manual setup and configuration of API endpoints
  • Limited to OpenAI-compatible and Gemini providers

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Runs locally, keeping API keys and data on the user's machine
  • Supports both OpenAI-compatible and Gemini endpoints
  • Automatic fallback reduces failed image requests

Cons

  • No community adoption yet, zero stars on GitHub
  • Requires manual setup and configuration of API endpoints
  • Limited to OpenAI-compatible and Gemini providers

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks