MCP Servers / development / Image Generator

Image Generator

JSON →
stdiononedevelopment

Generate and save images using the Replicate API.

Install
How to run this server
[ { "cmd": "npx @modelcontextprotocol/inspector", "imports": [] } ]
server path: image-generator
Tools
What this server exposes
generate-image
Generates an image using Replicate's Stable Diffusion model. Takes 'prompt' as a required string argument. Optional parameters include 'negative_prompt', 'width', 'height', 'num_inference_steps', and 'guidance_scale'. Returns the generated image and its URL.
save-image
Saves a generated image to the local filesystem. Takes 'image_url' and 'prompt' as required string arguments. Generates a unique ID for the image and saves it to the 'generated_images' directory.
list-saved-images
Lists all saved images. Returns a list of all saved images with their metadata and thumbnails.
Configuration
Environment & auth
authnone
envREPLICATE_API_TOKEN
envUV_PUBLISH_TOKEN
Resources
Image Generator — MCP Server · libregistry