ai-image-gen-mcp
If you are the rightful owner of ai-image-gen-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP server implementation for generating images using Replicate's 'black-forest-labs/flux-schnell' model.
The Image Generation MCP Server is designed to facilitate the creation of images from text prompts using the 'black-forest-labs/flux-schnell' model available on Replicate. This server is fully compliant with the Model Context Protocol (MCP), making it versatile for use with any MCP client, including Cursor's MCP feature. The server allows users to configure various image parameters such as resolution, aspect ratio, and quality, and it supports saving the generated images to a specified directory. It also includes robust error handling and validation to ensure smooth operation. The server requires Node.js 16+, a Replicate API token, and the TypeScript SDK for MCP. Setup involves cloning the repository, installing dependencies, and configuring the API token. The server can be integrated with different platforms, including Cursor, by setting it up as a command-based MCP server.
Features
- Generate images from text prompts
- Configurable image parameters (resolution, aspect ratio, quality)
- Save generated images to specified directory
- Full MCP protocol compliance
- Error handling and validation