ai-image-gen-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ai-image-gen-mcpgenerate a cyberpunk cat jumping over neon signs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🎨 AI Image Gen MCP Server
Multi-model AI image generation MCP Server. Supports Seedream (Doubao), SDXL, FLUX.1 Schnell/Dev. 30x RTX 4090 GPU accelerated.
Features
10 MCP Tools: generate_image, generate_from_image, list_models, get_model_info, upscale_image, remove_background, batch_generate, get_generation_status, style_transfer, image_variation
4 Models: Seedream 5.0 (API), SDXL (local), FLUX.1 Schnell (local), FLUX.1 Dev (local)
8 Art Styles: photorealistic, anime, oil-painting, watercolor, 3d-render, pixel-art, chinese-ink, cyberpunk
GPU Accelerated: 30x RTX 4090 for local models, Seedream API for cloud generation
Quick Start
# Install
pip install -r requirements.txt
# Run (stdio mode - for Claude/WorkBuddy)
python server.py
# Run (HTTP mode - for remote access)
python server.py --transport http --port 8009Tools
Tool | Description |
| Text-to-image generation |
| Image-to-image transformation |
| List available models |
| Get model details and pricing |
| Super-resolution upscaling (2x/4x) |
| Background removal |
| Generate multiple images at once |
| Check task status |
| Apply artistic styles |
| Generate image variations |
Models
Model | Provider | Speed | Quality | Cost |
Seedream 5.0 | Doubao API | ~17s | High | ¥0.04/image |
SDXL | Local 4090 | ~5s | High | Free |
FLUX.1 Schnell | Local 4090 | ~3s | Good | Free |
FLUX.1 Dev | Local 4090 | ~15s | Best | Free |
Environment Variables
SEEDREAM_API_KEY: Seedream API key (default: built-in)SEEDREAM_BASE_URL: Seedream API base URLCOMFYUI_URL: Local ComfyUI endpoint (default: http://localhost:8188)IMAGE_OUTPUT_DIR: Output directory for generated images
MCP Config
{
"mcpServers": {
"ai-image-gen": {
"command": "python",
"args": ["server.py"],
"cwd": "/path/to/ai-image-gen-mcp"
}
}
}在线访问(推荐)
无需本地安装,直接在MCP客户端配置:
{
"mcpServers": {
"ai-image-gen-mcp": {
"url": "http://www.mzse.com/image-gen-mcp/"
}
}
}REST API
curl http://www.mzse.com/image-gen-mcp/部署状态
项目 | 地址 |
域名 | |
GitHub |
License
MIT
Related MCP Connectors
MCP server for Flux AI image generation
Multi-model AI image and video generator. 14 models behind one OAuth-secured MCP endpoint.
MCP server for Qwen Image 3 AI image generation
AI image, video, voice and music generation over MCP, routed to Veo 3.1, Seedance 2.5 and more.