ai-image-gen-mcp
Click on "Install 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
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhaohongyuziranerran/ai-image-gen-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server