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. Output: Generated image path.
Transforms an existing image based on a new prompt. Required parameters: image, prompt, name. Optional parameters: model, strength (0-1), width, height, output. Output: Transformed image path.
Inpaints an existing image by filling in missing areas based on a prompt. Required parameters: image, prompt. Optional parameters: mask_shape (circle/rectangle), position (center/ground), output. Output: Inpainted image path.
Applies structural control to an image based on the specified type and prompt. Required parameters: type (canny/depth/pose), image, prompt. Optional parameters: steps (1-100), guidance, output. Output: Controlled image path.