Model-Context-Protocol (MCP) server that wraps Replicateβs Flux Schnell image model and Recraft V3 SVG model, providing high-quality raster & vector generation tools via the MCP tool interface.
https://github.com/awkoy/replicate-flux-mcpStop juggling browser tabs between ChatGPT and image generation tools. This MCP server brings Replicate's Flux Schnell and Recraft V3 models directly into your AI workflow, so you can generate production-quality images and SVGs without breaking context.
You're already using Claude or Cursor for development tasks. Now instead of explaining what visual assets you need and hoping someone else creates them, just ask: "Generate a hero image for this landing page" or "Create an SVG icon for the notification feature." Your AI assistant handles it instantly.
The difference? Flux Schnell produces images that actually look professional - not the typical AI-generated amateur hour stuff. And Recraft V3 creates clean, scalable SVGs perfect for production use.
Professional Image Generation: Flux Schnell consistently delivers high-quality results that you can actually use in production. No more endless prompt tweaking or settling for "good enough" visuals.
Vector Graphics On Demand: Need icons, logos, or illustrations that scale perfectly? The Recraft V3 integration generates clean SVGs ready for your design system.
Batch Processing: Generate multiple variations or completely different images in one request. Perfect for A/B testing designs or exploring different concepts quickly.
Complete Generation History: Every image and SVG is tracked with full metadata. Easy to reference previous generations or iterate on successful prompts.
Zero Context Switching: Everything happens within your existing AI assistant interface. No new tools to learn, no workflow disruption.
Frontend Development: Generate hero images, placeholder content, and UI illustrations while building components. Ask for specific aspect ratios and formats that match your design requirements.
Documentation: Create diagrams, flowcharts, and conceptual illustrations for technical docs. The SVG output ensures they look crisp at any size.
Marketing Assets: Produce social media images, blog post headers, and promotional graphics that align with your brand aesthetic.
Prototyping: Quickly generate mockup images and icons during the design phase. Test different visual directions without waiting for design resources.
Content Creation: Generate custom illustrations for tutorials, presentations, or educational content that perfectly match your specific needs.
Get Your Replicate Token: Sign up at replicate.com and grab an API token from your account settings.
Add to Your MCP Client: Drop this into your Claude Desktop or Cursor config:
{
"mcpServers": {
"replicate-flux-mcp": {
"command": "npx",
"args": ["-y", "replicate-flux-mcp"],
"env": {
"REPLICATE_API_TOKEN": "your_token_here"
}
}
}
}
Start Creating: Ask your AI assistant to generate any image or SVG. The server handles model selection, parameter optimization, and result delivery automatically.
Smart Variant Generation: Generate multiple interpretations of the same concept with different seeds or prompt modifiers. Perfect for exploring design directions.
Flexible Output Control: Specify exact dimensions, aspect ratios, and formats. Get WebP for web optimization or PNG for transparency needs.
Safety and Quality: Built-in content filtering and quality controls ensure professional results every time.
Hosted Options Available: Use Smithery or Glama.ai for zero-setup deployment if you prefer managed hosting.
Cursor Users: Works seamlessly in your editor. Generate assets while coding and reference them directly in your project.
Claude Desktop: Perfect for design discussions. Generate mockups and iterate on visual concepts in real-time conversation.
Development Teams: Share generation history and collaborate on visual assets through your existing AI workflow.
The goal isn't to replace professional designers - it's to eliminate the friction when you need quick, quality visuals for development work. Whether you're prototyping, documenting, or building, having professional image generation at your fingertips changes how you approach visual content.