Connecting Claude to Flux MCP
📘 Overview Guide: Use Ace Data Cloud MCP in Claude →
Flux is an open-source image generation model developed by the former Stability AI team (Black Forest Labs), excelling at detail reproduction, text rendering, and lighting. By connecting it to Claude through MCP, you can call Flux to generate images directly in a conversation.
¶ Add Flux MCP via OAuth
Both the claude.ai web app and Claude Desktop support remote MCP Connectors. This approach uses OAuth authorization: you don't need to configure a key manually or edit a local configuration file. You only need to log in to your Ace Data Cloud account and authorize access, and Claude can call Flux tools in conversations.
Flux is suitable for product images, posters, logo drafts, product background replacements, and image tasks that require more reliable text rendering.
¶ Step 1: Open Connectors
In the claude.ai web app, open https://claude.ai/customize/connectors, or click your profile picture in the bottom-left corner and go to Settings → Customize → Connectors.
In Claude Desktop, the entry point is also in the Connectors section of settings, and the interface is much the same as the web app. Once you find Add custom connector, you can add the Flux MCP Server.
¶ Step 2: Enter the Flux MCP Server URL
After clicking Add custom connector, you can enter flux or Flux for Name, and enter the following line for URL:
https://flux.mcp.acedata.cloud/mcp
After it is added, Claude will read the list of tools exposed by the Flux MCP Server. The tools shown here are the capabilities Claude can subsequently call in conversations.
¶ Step 3: Complete Ace Data Cloud OAuth Authorization
When connecting for the first time, Claude will redirect you to the Ace Data Cloud authorization page. You can log in using GitHub, Google, WeChat, email, or a phone number; if you don't have an account yet, you will receive free credits after registering and can test it right away.
After you confirm authorization, this Connector will be linked to your Ace Data Cloud account. When Claude calls Flux MCP tools afterward, charges will be deducted from this account's credits.
¶ Step 4: Return to Claude and Confirm the Connection
After returning to Claude, if the status shows Connected, Flux MCP is ready to use. Next, explicitly say “use Flux ...” in a conversation, and Claude will call the appropriate tool based on your needs.
¶ What Can Flux Do?
Flux MCP can now not only generate images from text, but also edit images using the Kontext series of models. You can give your requirements to Claude and let it decide whether to use flux-dev for quick drafts, flux-pro-1.1-ultra for high-quality final images, or flux-kontext-pro to make targeted changes based on existing images.
Typical scenarios include:
- Product images: white-background product images, lifestyle images, key visuals for product detail pages
- Brand visuals: logo drafts, key visual posters, social media covers
- Images with text: event posters with titles, packaging sketches, infographic backgrounds
- Image editing: changing backgrounds, modifying materials, replacing objects, unifying styles
¶ Usage Examples
Logo design:
Help me design a logo for a technology company, with a clean, modern style, a blue gradient, and a stylized letter A
Product image:
Generate a product image of a coffee cup, with a white background, a pattern printed on the cup, and coffee beans placed beside it
Social media image:
Generate a food image suitable for posting on Instagram, a bowl of ramen, viewed from above, in warm tones
Product background replacement:
Use Flux to edit this headphone product image, replacing the background with an early-morning desk while preserving the product's appearance and branding
Event poster:
Use Flux to generate a developer conference poster, with the title “AI Builder Night,” a dark technology style, and clear text
¶ Flux vs. Midjourney
| Feature | Flux | Midjourney |
|---|---|---|
| Text rendering | Excellent | Average |
| Photorealistic style | Excellent | Excellent |
| Detail reproduction | Precise | Good |
| Suitable scenarios | Product images, logos, posters | Artistic creation, concept design |
You can configure both Flux and Seedream, allowing Claude to automatically select the appropriate model for each scenario.
¶ Tools
| Tool | Description |
|---|---|
| flux_generate_image | Generate images from text, with support for multiple models and common sizes / aspect ratios |
| flux_edit_image | Edit an image based on its URL and text instructions; Kontext models are recommended |
| flux_get_task | Check the status of a single generation or editing task |
| flux_get_tasks_batch | Check the status of multiple tasks in a batch |
| flux_list_models | View available Flux models and differences in their capabilities |
| flux_list_actions | View the list of Flux tools and recommended workflows |
¶ How to Check Credits and Usage Records
You can check your current account's remaining credits through the Ace Data Cloud Console - Application List.
You can view all usage history and charge details through the Ace Data Cloud Console - Usage History.
When your balance is insufficient, click the “Recharge” button.
¶ Frequently Asked Questions
Q: Do I need to manually copy an API Token to connect Claude / Claude Desktop to Flux MCP?
A: No. This article describes the OAuth Connector method for the claude.ai web app and Claude Desktop, and the authorization process automatically links your account. API Tokens are mainly used for clients such as Claude Code, Cursor, and VS Code that require manual Header configuration.
Q: Can I use it alongside other MCP Servers?
A: Yes. Each Connector is added separately, but all of them can be linked to the same Ace Data Cloud account. For example, add Suno, Flux, Luma, and Serp at the same time, and Claude will select the appropriate tool based on your request.
Q: Why isn't Claude calling the Flux tool after I add it?
A: First, confirm that the Connector status is Connected and that your current Claude plan supports custom Connectors. You can also state your intended tool clearly when making a request, for example, “Use Flux to help me...”. If it still fails, click Reconnect on the Connectors page to authorize again.
Q: What should I do if I receive an insufficient balance message?
A: Click the “Recharge” button. All MCP Servers share the same account credits.
