MCP Flux Studio bridges Flux's advanced image generation capabilities to AI coding assistants in Cursor and Windsurf (Codeium) IDEs. This TypeScript server implementation exposes four tools through the Model Context Protocol: text-to-image generation, image-to-image transformation, inpainting with customizable masks, and structural control generation (canny, depth, pose). It works by translating MCP tool calls into commands for the Flux CLI, executing them via Python, and returning the results to the IDE. Particularly valuable for developers who need to generate or manipulate images directly within their coding workflow without switching contexts.
Generate an image from a text prompt. Parameters: prompt (string), model (string), aspect_ratio (string), output (string)
Generate an image using another image as reference. Parameters: image (string), prompt (string), model (string), strength (float), output (string), name (string)
Inpaint an image using a mask. Parameters: image (string), prompt (string), mask_shape (string), position (string), output (string)
Generate an image using structural control. Parameters: type (string), image (string), prompt (string), output (string)
No reviews yet. Be the first to review!
Sign in to join the conversation