io.github.AceDataCloud/mcp-flux-pro
MCP server for Flux AI image generation
★ 0MITcloud
Install
Config snippet generator goes here (5 client tabs)
README
# MCP Flux
<!-- mcp-name: io.github.AceDataCloud/mcp-flux-pro -->
[](https://pypi.org/project/mcp-flux-pro/)
[](https://github.com/AceDataCloud/MCPFlux/actions/workflows/ci.yaml)
[](https://opensource.org/licenses/MIT)
[](https://www.python.org/downloads/)
A [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server for AI image generation and editing using [Flux](https://platform.acedata.cloud) through the [AceDataCloud](https://platform.acedata.cloud) platform.
Generate and edit stunning AI images with Flux models (flux-dev, flux-pro, flux-kontext) directly from Claude, Cursor, or any MCP-compatible client.
## Features
- 🎨 **Image Generation** — Generate images from text prompts with 6 Flux models
- ✏️ **Image Editing** — Edit existing images with context-aware Flux Kontext models
- 🔄 **Task Management** — Track async generation tasks and batch status queries
- 📋 **Model Guide** — Built-in model selection and prompt writing guidance
- 🌐 **Dual Transport** — stdio (local) and HTTP (remote/cloud) modes
- 🐳 **Docker Ready** — Containerized with K8s deployment manifests
- 🔒 **Secure** — Bearer token auth with per-request isolation in HTTP mode
## Quick Start
### 1. Get Your API Token
1. Sign up at [AceDataCloud Platform](https://platform.acedata.cloud)
2. Go to the [API documentation page](https://platform.acedata.cloud)
3. Click **"Acquire"** to get your API token
4. Copy the token for use below
### 2. Use the Hosted Server (Recommended)
AceDataCloud hosts a managed MCP server — **no local installation required**.
**Endpoint:** `https://flux.mcp.acedata.cloud/mcp`
All requests require a Bearer token. Use the API token from Step 1.
#### Claude.ai
Connect directly on [Claude.ai](https://claude.ai) with OAuth — **no API token needed**:
1. Go to Claude.ai **Settings → Integrations → Add More**
2. Enter the server URL: `https://flux.mcp.acedata.cloud/mcp`
3. Complete the OAuth login flow
4. Start using the tools in your conversation
#### Claude Desktop
Add to your config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
```json
{
"mcpServers": {
"flux": {
"type": "streamable-http",
"url": "https://flux.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
```
#### Cursor / Windsurf
Add to your MCP config (`.cursor/mcp.json` or `.windsurf/mcp.json`):
```json
{
"mcpServers": {
"flux": {
"type": "streamable-http",
"url": "https://flux.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
```
#### VS Code (Copilot)
Add to your VS Code MCP config (`.vscode/mcp.json`):
```json
{
"servers": {
"flux": {
"type": "streamable-http",
"url": "https://flux.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
```
Or install the [Ace Data Cloud MCP extension](https://marketplace.visualstudio.com/items?itemName=acedatacloud.acedatacloud-mcp) for VS Code, which bundles all 11 MCP servers with one-click setup.
#### JetBrains IDEs
1. Go to **Settings → Tools → AI Assistant → Model Context Protocol (MCP)**
2. Click **Add** → **HTTP**
3. Paste:
```json
{
"mcpServers": {
"flux": {
"url": "https://flux.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
```
#### Claude Code
Claude Code supports MCP servers natively:
```bash
claude mcp add flux --transport http https://flux.mcp.acedata.cloud/mcp \
-h "Authorization: Bearer YOUR_API_TOKEN"
```
Or add to your project's `.mcp.json`:
```json
{
"mcpServers": {
"flux": {
"type": "streamable-http",
"url": "https://flux.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
```
#### Cline
Add to Cline's MCP settings (`.cline/mcp_settings.json`):
```json
{
"mcpServers": {
"flux": {
"type": "streamable-http",
"url": "https://flux.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
```
#### Amazon Q Developer
Add to your MCP configuration:
```json
{
"mcpServers": {
"flux": {
"type": "streamable-http",
"url": "https://flux.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"
}
}
}
}
```
#### Roo Code
Add to Roo Code MCP settings:
```json
{
"mcpServers": {
"flux": {
"type": "streamable-http",
"url": "https://flux.mcp.acedata.cloud/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_TOKEN"