Image Generator MCP Server
by rmcendarfer2017
This MCP server uses Replicate to generate images from text prompts and allows users to save them. It provides tools for generating, saving, and listing images.
Last updated: N/A
What is Image Generator MCP Server?
The Image Generator MCP Server is a tool that leverages Replicate's Stable Diffusion model to create images based on user-provided text prompts. It also provides functionality to save and manage generated images.
How to use Image Generator MCP Server?
To use the server, you need a Replicate API token and a configured environment. You can then use the 'generate-image' tool to create images, the 'save-image' tool to store them, and the 'list-saved-images' tool to view your saved images. Access to saved images is also available through a resource list.
Key features of Image Generator MCP Server
Generates images using Stable Diffusion
Saves images to the local filesystem
Provides a custom image:// URI scheme
Offers a 'generate-image' prompt with style options
Use cases of Image Generator MCP Server
Generating unique images for creative projects
Creating visual content based on textual descriptions
Prototyping image ideas quickly
Building applications that require dynamic image generation
FAQ from Image Generator MCP Server
How do I get a Replicate API token?
How do I get a Replicate API token?
Create an account at Replicate (https://replicate.com/) and get your API token from https://replicate.com/account.
Where do I store my Replicate API token?
Where do I store my Replicate API token?
Create a .env
file based on the provided .env.example
template and store your token there. Ensure the .env
file is excluded from version control.
What are the required arguments for the 'generate-image' tool?
What are the required arguments for the 'generate-image' tool?
The 'generate-image' tool requires a 'prompt' argument, which is a string describing the image you want to generate. Optional parameters include 'negative_prompt', 'width', 'height', 'num_inference_steps', and 'guidance_scale'.
Where are the saved images stored?
Where are the saved images stored?
Saved images are stored in the 'generated_images' directory on the local filesystem.
How can I debug the MCP server?
How can I debug the MCP server?
For the best debugging experience, use the MCP Inspector (https://github.com/modelcontextprotocol/inspector).