mcp-image
v0.19.0AI image generation and editing with prompt optimization and quality presets
Values you need
| Variable | What it is | |
|---|---|---|
IMAGE_PROVIDER | optional | Image provider to use: 'gemini' (default), 'openai', or 'seedream' |
GEMINI_API_KEY | optional secret | Google Gemini API key for image generation when IMAGE_PROVIDER=gemini (get from https://aistudio.google.com/apikey) |
OPENAI_API_KEY | optional secret | OpenAI API key for image generation when IMAGE_PROVIDER=openai. Requires OpenAI organization verification to access GPT Image 2.6 (https://platform.openai.com/settings/organization/general) |
ARK_API_KEY | optional secret | BytePlus ModelArk AP region API key required when IMAGE_PROVIDER=seedream |
IMAGE_OUTPUT_DIR | optional | Absolute or working-directory-relative path where generated images will be saved (defaults to ./output) |
IMAGE_QUALITY | optional | Default quality preset: 'fast' (default), 'balanced', or 'quality' |
SKIP_PROMPT_ENHANCEMENT | optional | Set to 'true' to disable automatic prompt optimization and use direct prompts |
npm (npx) verified
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-image -- npx -y mcp-image@0.19.0Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-image": {
"args": [
"-y",
"mcp-image@0.19.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-image": {
"args": [
"-y",
"mcp-image@0.19.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp-image": {
"args": [
"-y",
"mcp-image@0.19.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-image]
command = "npx"
args = ["-y", "mcp-image@0.19.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: generate_image.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json