Image Generation MCP Server
by GongRzhe
Generate images from text prompts using Replicate Flux model
ai-ml Node.js Beginner
β 50 stars π
Updated: 11mo ago
Description
An MCP server for text-to-image generation using the Replicate Flux model. Generates 1-4 images per request with configurable aspect ratios, output formats (webp, jpg, png), and reproducible results via seed control. Returns image URLs from Replicate's infrastructure.
β Best for
Quick image generation during AI workflows when visual content is needed
βοΈ Skip if
You need offline generation or want to use a different model provider
π‘ Use cases
- Generating images from text descriptions during AI conversations
- Creating visual assets for presentations or documents
- Prototyping design concepts with AI-generated imagery
- Batch generating multiple image variations from a single prompt
π Pros
- β Simple single-tool interface β easy to integrate
- β Multiple output formats and configurable aspect ratios
- β Reproducible results via seed parameter
- β Supports 1-4 images per generation
π Cons
- β Requires paid Replicate API token
- β Depends on external Replicate service β no offline support
- β Only one tool β limited to image generation
π§ Exposed tools (1 tools)
| Tool | Category | Description |
|---|---|---|
| generate_image | generation | Generate images from text prompts with configurable parameters |
π‘ Tips & tricks
Use the seed parameter for reproducible results. The default model is flux-schnell but you can configure a different model via the MODEL environment variable.
Quick info
- Author
- GongRzhe
- License
- MIT
- Runtime
- Node.js 18+
- Transport
- stdio
- Category
- ai-ml
- Difficulty
- Beginner
- Self-hostable
- β
- Auth
- β
- Docker
- β
- Version
- 1.0.0
- Updated
- Apr 15, 2025
Client compatibility
- β Claude Code
- β Cursor
- β VS Code Copilot
- β Gemini CLI
- β Windsurf
- β Cline
- β JetBrains AI
- β Warp
Platforms
π macOS π§ Linux πͺ Windows