An MCP (Model Control Protocol) for generating images using Hugging Face models. This tool is designed to work both with Cursor IDE and as a global CLI tool.
- Generate images using Hugging Face's free models
- Local integration with Cursor IDE
- Global CLI tool functionality
- Easy to configure and use
- Support for multiple image generation models
pip install -e .pip install -e . --userThe tool will be automatically available in Cursor IDE after installation.
mcp-image-gen --prompt "your image description" --model "model-name" --output "output-path"Create a .env file in your project root:
HUGGINGFACE_TOKEN=your_token_hereCurrently supported models:
- Stable Diffusion
- More coming soon...
Contributions are welcome! Please feel free to submit a Pull Request.
MIT