Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by GaoCan702 • File & Storage
An MCP server that accepts image-generation requests from Cursor, calls Cloudflare's Flux AI model, saves the generated image locally (with a temp-dir fallback), and returns the result to Cursor.
Generate images from natural-language prompts and return a local file path for downstream workflows.
Embed an image-generation tool into Cursor so developers can request images directly from their IDE.
Robust file-saving behavior with permission fallback (save to user directory or to a temp directory when the target is not writable).
This repository implements a Model Context Protocol (MCP) server that integrates with Cursor to provide text-to-image generation using Cloudflare's Flux AI model. It validates input with zod, handles API calls and varied response formats, and writes images to a user-specified directory with a fallback to a temporary folder if necessary. The server is intended as a practical tutorial to help developers quickly add an image-generation tool to Cursor via a standard MCP tool interface.
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.