Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Imagegen MCP Server

MCP server by writingmate Verified · npm:imagegen-mcp-server

ImageGen MCP Server generates images from text prompts using OpenAI, Google, Gemini and Replicate models. It is for people who want image generation inside an MCP-compatible AI assistant.

  • Score 50
  • 11 stars
  • 75 a week
  • MIT
  • Updated

Install Imagegen MCP Server

Built from the published package, never by AI.

claude mcp add imagegen-mcp-server -- npx -y imagegen-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Imagegen MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the imagegen-mcp-server block.

About

ImageGen MCP Server is an MCP server for AI image generation. It provides four tools: image.generate.openai, image.generate.google, image.generate.gemini and image.generate.replicate. The OpenAI tool covers GPT-Image-1, DALL-E 3 and DALL-E 2. The Replicate tool covers Flux 1.1 Pro, Qwen Image and SeedDream-4. The Gemini tool uses Gemini 2.5 Flash Image Preview, which the project calls Nano Banana.

The server runs with npx imagegen-mcp-server or can be installed from npm or source. It needs API keys for the providers you use, set in a .env file. Generated images are saved to an output directory, and tools can also return base64 data. The project is aimed at users of MCP clients such as Claude Desktop and Claude Code. The README also describes a hosted option on WritingMate.ai with API keys pre-configured.

Written from the project's README and checked against it.

Tools it gives your assistant

  • image.generate.openaiGenerates images with GPT-Image-1, DALL-E 3 or DALL-E 2 from OpenAI.
  • image.generate.googleGenerates images with Google Imagen 4 through a custom endpoint you configure.
  • image.generate.geminiGenerates images with Gemini 2.5 Flash Image Preview via Google's official SDK.
  • image.generate.replicateGenerates images with Flux 1.1 Pro, Qwen Image or SeedDream-4 via Replicate.

What you need

  • At least one API key: OPENAI_API_KEY, GOOGLE_API_KEY or REPLICATE_API_TOKEN
  • Node.js 18 or later
  • GOOGLE_IMAGEN_ENDPOINT set, if using Google Imagen

Try asking

  • Generate an image of a cyberpunk city using Flux 1.1
  • Create an image with GPT-Image-1 on a transparent background
  • Make a 1024x1024 SeedDream-4 image of an abstract art piece

Good to know

  • Google Imagen requires a custom endpoint set in GOOGLE_IMAGEN_ENDPOINT.
  • The README example notes SeedDream-4 needs a minimum of 1024x1024.
  • The README lists approximate per-image costs of $0.02 to $0.08 for OpenAI and $0.003 to $0.01 for Replicate.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Imagegen MCP Server

All alternatives →
HyperFrames by HeyGen heygen-com
100

HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.

AAA Remote 92k
Remocn: Remotion MCP server Remocn
96

Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.

AAA Remote 2k
Agent-Native AssetsBuilderIO
94

Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.

AAA Remote 7.8k
AIHOTKKKKhazix
94

Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.

AAA Remote 12k
openshortsmutonby
94

Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.

AAA Remote 10k
Remove AI Watermarkswiltodelta
94

Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.

AAA Local 6.6k

Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets

Imagegen MCP Server: common questions

Which image models does it support?

It supports GPT-Image-1, DALL-E 2 and DALL-E 3 from OpenAI, Imagen 4 through a custom endpoint, Gemini 2.5 Flash Image Preview, and Flux 1.1 Pro, Qwen Image and SeedDream-4 through Replicate.

Do I need API keys to use it?

Yes. You need at least one of OPENAI_API_KEY, GOOGLE_API_KEY or REPLICATE_API_TOKEN, depending on the models you want to use.

Where are generated images saved?

Images are saved to the directory set by OUTPUT_DIR, which defaults to outputs, with timestamped filenames.

How do I install Imagegen MCP Server?

In Claude Code run claude mcp add imagegen-mcp-server -- npx -y imagegen-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Imagegen MCP Server the official server?

Imagegen MCP Server is published by npm:imagegen-mcp-server from its verified domain in the official MCP Registry.

Is Imagegen MCP Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Imagegen MCP Server safe to use?

It scores 50 of 100. Grades: maintenance F, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Imagegen MCP Server?

Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.

Does Imagegen MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Imagegen MCP Server Install

Add to stack

Loading.