Ultimate Gemini MCP

io.github.nikships/ultimate-image-gen-mcp

Image generation with Google Gemini 3.1 Flash: 512px-4K, reference images, search grounding

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "ultimate-image-gen-mcp": {
      "command": "uvx",
      "args": [
        "ultimate-gemini-mcp"
      ],
      "env": {
        "GEMINI_API_KEY": "<your GEMINI_API_KEY>",
        "OUTPUT_DIR": "~/gemini_images",
        "DEFAULT_IMAGE_SIZE": "2K",
        "DEFAULT_MODEL": "gemini-3.1-flash-image-preview",
        "ENABLE_PROMPT_ENHANCEMENT": "false",
        "ENABLE_GOOGLE_SEARCH": "false",
        "REQUEST_TIMEOUT": "60",
        "MAX_BATCH_SIZE": "8",
        "LOG_LEVEL": "INFO"
      }
    }
  }
}
Environment variables
  • GEMINI_API_KEYrequiredsecretGoogle Gemini API key (free tier at https://aistudio.google.com/apikey). Also accepts GOOGLE_API_KEY.
  • OUTPUT_DIRDirectory where generated images are saved
  • DEFAULT_IMAGE_SIZEDefault resolution for generated images
  • DEFAULT_MODELDefault Gemini image model
  • ENABLE_PROMPT_ENHANCEMENTAutomatically enhance prompts with Gemini Flash before generation
  • ENABLE_GOOGLE_SEARCHEnable Google Search grounding by default (real-time data like weather, events)
  • REQUEST_TIMEOUTAPI request timeout in seconds
  • MAX_BATCH_SIZEMax parallel requests in batch mode
  • LOG_LEVELLogging level

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
6.0.21
Registry
active
Published
9/23/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Ultimate Gemini MCP is listed here — it’s also the link we check for a free listing.

Ultimate Gemini MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-nikships-ultimate-image-gen-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Ultimate Gemini MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Ultimate Gemini MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-nikships-ultimate-image-gen-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.