DiffuGen - Advanced Local Image Generator with MCP Integration
@CLOUDWERX-DEV
About DiffuGen - Advanced Local Image Generator with MCP Integration
DiffuGen is a powerful yet user-friendly interface for local\edge image generation. Built on the Model Control Protocol (MCP), it provides a seamless way to interact with various Stable Diffusion models including Flux, SDXL, SD3, and SD1.5. Diffugen also features an OpenAPI Serve
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"DiffuGen": {
"command": "python3",
"args": [
"-m",
"venv",
"diffugen_env"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is DiffuGen?
DiffuGen is an MCP-based image generation server that brings Flux and Stable Diffusion models directly into development environments such as Cursor, Windsurf, Roo Code, and Cline. Built on the optimized stable-diffusion.cpp library, it enables local AI image generation with high performance on modest hardware.
How to use DiffuGen?
After cloning the repository, run the interactive setup script (./setup_diffugen.sh) to install dependencies, build stable-diffusion.cpp, and download models. Configure your IDE’s MCP settings using the provided diffugen.json template. Once connected, ask the LLM to generate images with natural language; the server exposes two tools: generate_stable_diffusion_image and generate_flux_image.
Key features of DiffuGen
- Supports Flux Schnell, Flux Dev, SDXL, SD3, and SD1.5 models
- Integrates with MCP-compatible IDEs (Cursor, Windsurf, etc.)
- OpenAPI REST server for direct HTTP access
- Cross-platform on Linux, macOS, and Windows (native or WSL)
- Fine-tune dimensions, steps, CFG scale, seed, and negative prompts
- CUDA acceleration for faster generation
- Natural language command interface
- Smart error recovery and resource tracking
Use cases of DiffuGen
- Generate visual concepts directly from code comments or chat prompts
- Quickly iterate on image ideas without leaving the development environment
- Create custom assets for UI mockups, game sprites, or illustrations
- Batch generate image variations for design exploration or A/B testing
FAQ from DiffuGen
What are the minimum system requirements?
CPU: 4-core processor, 8GB RAM, 5GB storage, Python 3.8+. Recommended: 8+ core CPU, 16GB RAM, NVIDIA GPU with 6GB+ VRAM.
How do I install DiffuGen?
Frequently asked questions
What are the minimum system requirements?
CPU: 4-core processor, 8GB RAM, 5GB storage, Python 3.8+. Recommended: 8+ core CPU, 16GB RAM, NVIDIA GPU with 6GB+ VRAM.
Basic information
More Media & Design MCP servers
MCP Google Map Server
cablateA powerful Model Context Protocol (MCP) server providing comprehensive Google Maps API integration with LLM processing capabilities.
Vibe Design System
mondaycom🎨 Vibe Design System - Official monday.com UI resources for application development in React.js
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口
Design Systems Mcp
southleftI'm your specialized design systems assistant. Ask me about components, tokens, patterns, and best practices.

Lamina — On-brand product photos, video & try-ons
LaminaGenerate on brand product videos from Claude Code (or any assistant) in one line. Lamina turns a brief + your brand kit into finished product photos, video reels, and campaign banners - no prompt engineering; brand guard
Comments