MCP-image-gen
0
The Image Generator MCP Server is designed to create and manage image generation using Replicate's Stable Diffusion model. It supports saving and listing images with metadata and offers configurable options for image styles. The server is suitable for generating images programmatically within an MCP environment.
Image Generator MCP Server
An MCP server that utilizes Replicate to generate images and allows users to save them.
Components
Resources
- Custom URI scheme for accessing generated images
- Each image has a name, creation date, and PNG mimetype
Prompts
- Single prompt to generate images using Stable Diffusion with optional style arguments
Tools
- generate-image: Generates an image using the Stable Diffusion model with various optional parameters
- save-image: Saves generated images locally with unique IDs
- list-saved-images: Lists all saved images along with metadata
Configuration
- Requires Replicate API token
- Environment setup involves cloning the repository, setting up a virtual environment, installing dependencies, and configuring the
.env
file
Quickstart
- Detailed installation instructions for Claude Desktop and server configurations
Usage
- Instructions on using the tools to generate, save, and view images
Development
- Building, publishing, and debugging information is provided, with a focus on MCP Inspector for debugging.