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.
Aucun avis encore. Soyez le premier à donner votre avis !
Connectez-vous pour rejoindre la conversation
Generates an image based on the provided prompt. Required parameters: prompt. Optional parameters: model, aspect_ratio, width, height, output. Returns the path of the generated image.
Transforms an image based on the provided prompt. Required parameters: image, prompt, name. Optional parameters: model, strength (0-1), width, height, output. Returns the path of the transformed image.
Inpaints a given image based on the prompt. Required parameters: image, prompt. Optional parameters: mask_shape (circle/rectangle), position (center/ground), output. Returns the path of the inpainted image.
Controls an image using specified type (canny/depth/pose) and prompt. Required parameters: type, image, prompt. Optional parameters: steps (1-100), guidance, output. Returns the path of the controlled image.