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.
Aún no hay reseñas. ¡Sé el primero en reseñar!
Inicia sesión para unirte a la conversación
Generates an image based on the provided prompt. Required parameters: prompt. Optional parameters: model, aspect_ratio, width, height, output. Outputs the path to the generated image.
Transforms an image based on the given prompt. Required parameters: image, prompt, name. Optional parameters: model, strength (0-1), width, height, output. Outputs the path to the transformed image.
Inpaints an image using the specified prompt. Required parameters: image, prompt. Optional parameters: mask_shape (circle/rectangle), position (center/ground), output. Outputs the path to the inpainted image.
Controls an image using specified parameters. Required parameters: type (canny/depth/pose), image, prompt. Optional parameters: steps (1-100), guidance, output. Outputs the path to the controlled image.