Ali-Flux MCP Server
@echozyr2001
关于 Ali-Flux MCP Server
A simple MCP server for generating images using Ali Cloud's DashScope API, with tools for task management and local image saving.
基本信息
配置
工具
3Generate images using Alibaba Cloud DashScope API
Check image generation task status
Download generated images and save them locally
概览
What is Ali-Flux MCP Server?
It is a TypeScript-based Model Context Protocol server that integrates with Alibaba Cloud DashScope API to generate images and save them locally. It is intended for developers using MCP-compatible clients (e.g., Claude Desktop) who need AI image generation capabilities.
How to use Ali-Flux MCP Server?
Install dependencies with npm install, build the server with npm run build, and set the required environment variables (DASHSCOPE_API_KEY, optionally SAVE_DIR, MODEL_NAME, WORK_DIR). Then configure your MCP client (e.g., Claude Desktop) using the command and env fields as shown in the README.
Key features of Ali-Flux MCP Server
- Provides three tools:
generate_image,check_task_status, anddownload_image - Generates images via Alibaba Cloud DashScope API using text prompts
- Supports optional image parameters: size, seed, and steps
- Checks task status and downloads generated images to local storage
- Configurable save directory and model name via environment variables
Use cases of Ali-Flux MCP Server
- Generate images from text prompts directly within Claude Desktop
- Automate image creation pipelines with task status polling
- Save generated images to a custom local folder for later use
- Integrate Alibaba Cloud image generation into personal or business workflows
FAQ from Ali-Flux MCP Server
What tools does Ali-Flux MCP Server provide?
It offers generate_image (submit a prompt and optional parameters), check_task_status (poll for task completion), and download_image (save generated images to a local directory).
What environment variables are required?
You must set DASHSCOPE_API_KEY. Optional variables include SAVE_DIR (default: ~/Desktop/flux-images), MODEL_NAME (default: flux-merged), and WORK_DIR (default: current working directory).
How do I debug the server?
Since MCP servers communicate over stdio, use the built-in script npm run inspector which launches the MCP Inspector for debugging.
What image parameters can I customize?
When calling generate_image, you can specify size, seed, and steps in addition to the required prompt.
How are generated images saved?
The download_image tool saves all images from a completed task to the directory specified by SAVE_DIR or a custom save_path (must be absolute). A base_dir can be used for resolving relative paths.
其他 分类下的更多 MCP 服务器
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论