Best for
- Users who want to generate or edit images through an MCP client and have visual prompt details added automatically.
- Users willing to configure an API key for Gemini, OpenAI, or BytePlus Seedream.
This is a stdio MCP server for image generation and editing with a generate_image tool. It supports Gemini, OpenAI, and BytePlus Seedream, and can optimize prompts automatically. A provider API key is required, and outputs are saved locally.
Strongest · Documentation 15/20 Weakest · Reliability 9/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js 22+
GEMINI_API_KEY
API key for Gemini image generation; get one from Google AI Studio.
OPENAI_API_KEY
API key for OpenAI image generation; get one from OpenAI. Organization verification may be required.
ARK_API_KEY
BytePlus ModelArk AP region API key required for Seedream; get one from the BytePlus console.
IMAGE_PROVIDER
Selects gemini (the default), openai, or seedream; can be set in the environment or per request.
IMAGE_OUTPUT_DIR
Directory for generated images; use an absolute path, or it defaults to ./output.
IMAGE_QUALITY
Default quality preset: fast (default), balanced, or quality.
SKIP_PROMPT_ENHANCEMENT
Set to true to disable automatic prompt optimization and send prompts unchanged.
Requires Node.js 22 or later, an MCP-compatible client, and an API key for the selected image provider. Configure the provider key and optional IMAGE_OUTPUT_DIR in the client server environment; the example uses npx -y mcp-image with Gemini. Restart the client after changing its configuration.
{"mcpServers":{"mcp-image":{"command":"npx","args":["-y","mcp-image"],"env":{"GEMINI_API_KEY":"your_gemini_api_key_here","IMAGE_OUTPUT_DIR":"/absolute/path/to/images"}}}}
Shown for Cursor. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"mcp-image": {
"command": "npx",
"args": [
"-y",
"mcp-image"
],
"env": {
"GEMINI_API_KEY": "your_gemini_api_key_here",
"IMAGE_OUTPUT_DIR": "/absolute/path/to/images"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.mcp-image] command = "npx" args = ["-y", "mcp-image"] [mcp_servers.mcp-image.env] GEMINI_API_KEY = "your_gemini_api_key_here" IMAGE_OUTPUT_DIR = "/absolute/path/to/images"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add mcp-image -e GEMINI_API_KEY=your_gemini_api_key_here -e IMAGE_OUTPUT_DIR=/absolute/path/to/images -- npx -y mcp-image
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm `generate_image` appears in the client’s tool list, then request an image. Check that the file is saved in the configured output directory and returned as an MCP resource.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
MCP Image Generator is an MCP server for generating and editing images through an MCP client. It can optimize prompts and supports Gemini, OpenAI, and BytePlus Seedream. Generated images are saved to a configured directory and returned as MCP resources.
Manage UniFi Network controllers through MCP.
Manage UniFi networks and devices through MCP.
Ask your affiliate networks in plain English from your AI workspace.
Run 119 Horosa astrology and metaphysics techniques locally.
Source revision 564289c6d2b6 Data synced 2026-12-05 Read the FMRS scoring method Markdown