Basic information
About ImageGen MCP Server
Generate stunning AI images with ImageGen, a unified AI image generator supporting DALL-E, Gemini & more, with smart parameters and flexible options.
ImageGen is a MCP server in the Ai Ml category listed in the AddMCP.net directory, published by writingmate. It exposes 4 tools, including image.generate.openai, image.generate.google, image.generate.gemini, image.generate.replicate. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 9 GitHub stars. Source code is hosted on github.com. Related topics: ai-ml, claude-code, claude-desktop, community, design.
Setup
{
"mcpServers": {
"imagegen": {
"command": "npx",
"args": [
"imagegen-mcp-server"
]
}
}
}
{
"mcpServers": {
"imagegen": {
"command": "npx",
"args": [
"imagegen-mcp-server"
]
}
}
}
{
"servers": {
"imagegen": {
"command": "npx",
"args": [
"imagegen-mcp-server"
]
}
}
}
ImageGen MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"imagegen": {
"command": "npx",
"args": [
"imagegen-mcp-server"
]
}
}
}
ImageGen MCP Server tools
- image.generate.openai — Generate an image using OpenAI (default model gpt-image-1). Returns a saved file path and optional base64.
- image.generate.google — Generate an image using Google (e.g., Imagen 3). Requires GOOGLE_API_KEY and GOOGLE_IMAGEN_ENDPOINT. Returns a saved file path and optional base64.
- image.generate.gemini — Generate an image using Google Gemini via @google/genai (default gemini-2.5-flash-image-preview). Requires GOOGLE_API_KEY.
- image.generate.replicate — Generate an image using Replicate models: Flux 1.1 Pro (default), Qwen Image, or SeedDream-4. Requires REPLICATE_API_TOKEN.
Overview
What is ImageGen?
Image Gen is an open-source Claude plugin and stdio MCP server for generating and editing images via OpenAI gpt-image-2 and Google Gemini models (gemini-3.1-flash-image-preview / `gemini-3-pro-image-preview\)). Users bring their own API keys.
How to use ImageGen?
Install via .mcpb (Claude Desktop), plugin zip (Claude Desktop or Claude Code), or manual configuration. Set at least one API key (OPENAI_API_KEY or GEMINI_API_KEY) as an environment variable. Invoke the generate_image tool with a prompt and optional parameters, or use check_image_job to poll an in-progress job.
Key features of ImageGen
- Supports OpenAI gpt-image-2 and Google Gemini image models
- Generates and edits images from text prompts
- Optionally includes reference images for edits
- Returns inline JPEG thumbnail for immediate display
- Saves full-resolution PNGs to
~/Pictures/image-gen/ - Provides
check_image_jobtool for polling long-running generations
Use cases of ImageGen
- Generate images from descriptive prompts within Claude conversations
- Edit existing images by providing reference images alongside prompts
- Integrate AI image generation into Claude-powered workflows
Frequently asked questions
1 What API keys are required?
At least one API key: either an OpenAI key for gpt-image-2 or a Google Gemini key for gemini-3.1-flash-image-preview / gemini-3-pro-image-preview.
2 Which models are supported?
OpenAI gpt-image-2 and Google Gemini models: gemini-3.1-flash-image-preview (Nano Banana) and gemini-3-pro-image-preview (Pro).
3 Where are generated images saved?
Full-resolution PNG files are saved to ~/Pictures/image-gen/. The tool also returns an inline JPEG thumbnail for immediate rendering.
4 What operating systems are supported?
Prebuilt .mcpb packages are available for darwin-arm64, darwin-x64, and win32-x64. Linux users can build from source.
5 How do I install the server manually?
Download the platform-matching .mcpb, extract it, and register with Claude Code using claude mcp add with environment variables for API keys. Alternatively, configure via claude_desktop_config.json.
Videos
Tutorials, guides, and showcases related to ImageGen MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In