FLUX MCP server by Black Forest Labs

FLUX MCP server by Black Forest Labs

flux-mcp•byblack-forest-labs

A hosted remote MCP server that lets MCP-compatible clients generate, edit, vary, and browse FLUX images and videos.

License: MIT•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Generates 1 to 8 images in parallel, covering text-to-image, edits, multi-reference composition, style transfer, and inpainting-style edits through prompts.
  • •Provides virtual try-on to dress a person or pet in a wearable from a reference image while preserving face, hair, and pose.
  • •Generates 1 to 4 videos in parallel with FLUX 3, including text-to-video, image-to-video from keyframes, and continuation of an existing video with synchronized audio.
  • •Lists recent generations as a thumbnail grid and can produce variations branching from a prior result.

BEST FOR

  • •Creative work inside chat clients such as Claude or another MCP client, generating and editing images directly from prompts.
  • •Trying garments on a photo, such as dressing a person in a specific hoodie or wearable from an attached selfie.
  • •Annotating stills into video clips with camera motion and ambient sound.

ABOUT FLUX-MCP

FLUX MCP server by Black Forest Labs is cataloged as an MCP server attributed to black-forest-labs. A hosted remote MCP server that lets MCP-compatible clients generate, edit, vary, and browse FLUX images and videos. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for FLUX MCP server by Black Forest Labs are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the FLUX MCP server require API keys pasted into the conversation?

No; it is hosted and OAuth-only, and users sign in with their BFL account and choose the organization to bill.

How are users billed for FLUX generations?

Users pay Black Forest Labs directly, with no middleman or shared quotas, at current published rates.

What prompting guides does the server provide?

It serves official BFL prompting guides covering image best practices, video direction, audio and dialogue, keyframes, product ads, and more, through tools, resources, and prompts.

Upstream README

View this exact version on GitHub

README.md · bb5585c16cb8 · Fetched 2026-11-13 11:04:28 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Black Forest Labs

FLUX MCP

Bring FLUX into the tools you already use.
Generate, edit, vary, and browse FLUX and videos from any MCP-compatible client.

MCP Registry License: MIT Docs

Install · Showcase · Tools · Skills · Examples · Troubleshooting


The FLUX MCP server exposes the full FLUX toolkit — text-to-image, image editing, multi-reference composition, virtual try-on, FLUX 3 video, variations, and history — to any client that speaks the Model Context Protocol. Generate options in parallel, edit attached images through prompts, try garments on a photo, animate stills into clips with audio, and branch into variations from any result you like. No API code, no keys pasted into the conversation.

  • Hosted, remote, OAuth-only. Connect to https://mcp.bfl.ai. Sign in with your BFL account, pick the org to bill, done.
  • FLUX 3 Image, the default. Text-to-image, single-reference edits, and multi-reference composition, sized with aspect_ratio and resolution.
  • FLUX 3 Image Klein. The fast, cheap model in the same family, for volume work and repeatable output with seed, steps and output_format.
  • Every FLUX.2 model. Pro, Max, Klein (4B & 9B), Flex. Still selectable when you want the previous generation.
  • FLUX 3 video. Text-to-video, image-to-video from keyframes, and video continuation with synchronized audio, draft previews included.
  • Built for chat. Up to 8 images in parallel per prompt. Edit attached images. Browse and reuse history.
  • Specialist prompting guides. Official BFL guides cover focused image and FLUX 3 workflows.
  • You pay BFL directly. No middleman, no shared quotas. Current rates: bfl.ai/pricing.

Install

Claude — Desktop & claude.ai
  1. Open Settings → Connectors.
  2. Click Add custom connector.
  3. Name it FLUX, URL https://mcp.bfl.ai.
  4. Click Connect, sign in, choose the BFL organization to bill.
Claude Code
claude mcp add --transport http FLUX https://mcp.bfl.ai

A browser opens on first use for OAuth. Tokens refresh automatically.

Cursor

One-click: Add to Cursor — opens Cursor with the FLUX server pre-filled.

Manual — add to .cursor/mcp.json:

{
  "mcpServers": {
    "FLUX": {
      "url": "https://mcp.bfl.ai"
    }
  }
}
Codex
codex mcp add flux --url https://mcp.bfl.ai
codex mcp login flux

Or append to ~/.codex/config.toml:

[mcp_servers.flux]
url = "https://mcp.bfl.ai"
Windsurf

Edit ~/.codeium/windsurf/mcp_config.json (note Windsurf uses serverUrl, not url):

{
  "mcpServers": {
    "FLUX": {
      "serverUrl": "https://mcp.bfl.ai"
    }
  }
}

Reload plugins from the Cascade panel. The first FLUX call opens a browser for sign-in.

Other MCP clients (stdio bridge via mcp-remote)

For clients that support stdio MCP but don't handle the OAuth flow themselves — for example Hermes (Nous Research) and similar tools that only accept static bearer tokens:

{
  "mcpServers": {
    "FLUX": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.bfl.ai"]
    }
  }
}

mcp-remote opens a browser for OAuth, caches tokens to ~/.mcp-auth/, and refreshes them automatically.


Showcase

Generate a batch of options in one prompt

"Generate 4 editorial portrait variants — varied lighting, palette, and mood."

Or just one — when a single hero shot is what you need

"A top-down aerial photograph of shallow desert salt pools, intense direct sunlight."

Edit any image directly in chat

"Add a camel on the sand."

BeforeAfter

Browse and reuse your full generation history

"Show me my recent FLUX generations."

Every generation is saved. Tap any tile to edit, vary, or download. Variations branch off any past image in one click.


Tools

Your client picks which tool to call based on your prompt — you don't need to invoke them by name.

ToolWhat it does
generate_imageGenerate 1–8 images in parallel. Covers text-to-image, edits, multi-reference composition, style transfer, and inpainting-style edits through prompts.
vtoVirtual try-on — dress a person (or pet) in a garment, hat, sunglasses, shoes, bag, or any wearable from a reference image. Designed to preserve the subject's face, hair, and pose while changing the wearable.
generate_videoGenerate 1–4 videos in parallel with FLUX 3 — text-to-video, image-to-video from keyframes, or continuation of an existing video. 5–20 seconds, synchronized audio.
enhance_videoRe-render a draft video at full quality — the same composition, seed, and prompt plan as the draft you picked.
upscale_videoIncrease the resolution of a finished clip by 1.5 to 3 times. Precise mode is the default; this works on finished clips, not only drafts.
edit_videoEdit an MP4 clip with a prompt. Sources must be at most 15.05 seconds and at least 160 pixels on each side; output follows the source within a 720p budget.
generate_variationsProduce N more images in the same direction as a previous generation (identified by request_id). Defaults to 4, max 8.
get_historyList recent generations as a thumbnail grid with per-tile Variations / Edit / copy / download actions. Keyset pagination, date filters.
get_creditsReturn your remaining BFL credit balance.
list_skillsList the official BFL prompting guides — image best practices, video direction, audio and dialogue, keyframes, product ads, archival looks, API integration.
get_skillFetch one guide by name. Long guides return an intro plus a section index; fetch the sections the task needs.

Models

generate_image defaults to flux3_image. Pass model to pick another one:

ModelUse it for
flux3_image (default)FLUX 3 Image. Text-to-image, edits, multi-reference composition. resolution: 768sq, 1k (default), 1.5k, 2k, 4k. aspect_ratio: auto or one of 15 fixed ratios. Up to 10 reference images.
flux3_image_kleinFLUX 3 Image Klein. Fast and cheap at the same sizes and reference limit, with seed (0 to 4294967295), steps (1 to 16, 16 is the default) and output_format (jpeg or png).
flux2_pro_previewFLUX.2 [pro], previous generation. Everyday work
flux2_maxFLUX.2 [max], previous generation. Hero shots, final assets
flux2_klein_9b_previewFLUX.2 [klein] 9B, previous generation. Up to 4 input images
flux2_klein_4bFLUX.2 [klein] 4B, previous generation. Fastest option
flux2_flexFLUX.2 [flex], previous generation. Typography and readable text

All image models use aspect_ratio and resolution; the MCP interface has no pixel width or height fields. FLUX.2 tops out at 2k. Flex accepts guidance from 1.5 to 10 and steps from 1 to 50. For edits without a resolution, FLUX 3 chooses the nearest tier for bucket-hosted references and falls back to 1k for external URLs.

The full catalog, per-model reference-image limits, the FLUX Tools (vto), and FLUX 3 video are also exposed as the bfl://models MCP resource.

Video

generate_video renders 24fps MP4 clips of 5–20 seconds with synchronized audio, up to 4 in parallel per call. Every request uses one of three modes:

ModeInputWhat you get
t2vPrompt onlyA clip generated from your description
i2vPrompt + 1–10 keyframe imagesOne keyframe animates a still from its exact opening frame; two bridge an opening and a closing frame; 3–10 form a storyboard spread evenly across the clip (explicit duration required)
v2vPrompt + a source videoA continuation of the source's final seconds, audio included
  • Prompts are prose FLUX 3 reasons about the prompt and plans the generation before rendering — describe the scene, the motion, and the sound. There is no seed or model parameter on video.
  • Keyframes reference a prior result (request_id), an uploaded image, or a public URL. Optional per-keyframe timestamps (in seconds, ascending — set on all keyframes or none) pin exact positions in the clip; with duration set to auto, the clip runs to the last timestamp (20 seconds max).
  • Source videos for v2v are a prior generate_video result, an attached MP4 up to 50 MB, or a public MP4 URL.
  • Format controls. duration: 5–20 seconds or auto (default). aspect_ratio: auto (default), 21:9, 2:1, 16:9, 4:3, 1:1, 3:4, or 9:16. resolution: hd (default, 704p-class) or fhd (finished by a video upsampler on a 1080p-class canvas). generate_audio: on by default.
  • Drafts are the way to explore. draft: true renders a fast low-step preview of the exact planned generation (hd only). Batch cheap drafts, pick the winner, and enhance_video re-renders it at full quality from its request_id.
  • Renders take minutes — long clips up to about an hour. The tool returns immediately with a pending request_id; results survive closing the chat and resume automatically.
  • Reference-based conditioning (identity and motion references) is not part of the video surface; a dedicated r2v mode follows later.

Prompting skills

The server ships specialist prompting guides from black-forest-labs/skills and serves them three ways, so every client gets at least one. These guides cover focused workflows; a general FLUX 3 prompting guide is not included yet:

  • Tools — list_skills and get_skill(name). Works everywhere, including ChatGPT.
  • Resources — bfl://skills/<name> for clients with resource pickers (Claude, Cursor).
  • Prompts — skill_<name_with_underscores> slash-prompts where the client supports them (e.g. skill_flux_image_best_practices).

Ask "what FLUX skills do you have?", or just request something specialized like a product ad, Super 8 footage, dialogue direction. The generation tools point your client at the matching guide before it writes the prompt.


Example prompts

Try these in your client once FLUX is connected:

Generate 4 editorial portrait variants — varied lighting, palette, and mood.
Use FLUX.2 [pro] at 1440×1792.
A top-down aerial photograph of shallow desert salt pools at golden hour,
intense direct sunlight, #FF6B6B and #F5E6D3 mineral deposits, FLUX.2 [max].
[attach an image]
Add a camel on the sand. Preserve the rest of the composition exactly.
Generate a movie poster with the title "MIRAGE" in 1970s grindhouse type,
high-contrast cyan and orange. Use FLUX.2 [flex].
[attach a selfie]
Try this on me — a red Nike Tech Fleece hoodie, oversized fit.
[attach an image]
Animate this into a 10-second clip — slow push-in, wind through the palms,
distant surf.
Generate 3 draft videos of a paper lantern rising over a night market,
each with a different camera move. I'll enhance the best one.
Show me my recent FLUX generations.
[click Variations on a past image]
4 more like this one, vary the lighting.

Prompt tips

  • Front-load the subject. Put the most important object, person, or scene first.
  • Describe lighting. "Soft golden hour light" or "overcast diffused studio light" gives the model useful direction.
  • Use hex colors. #FF6B6B (coral pink) is more precise than "pinkish red".
  • Quote rendered text. Use exact quoted strings for typography, labels, posters, and signs.
  • Avoid negative prompts. FLUX responds to what you describe, not a list of what to avoid.
  • Iterate from results. Use Variations for alternatives, or Edit to keep refining a generated image.

The server exposes specialist guides for focused workflows. A general FLUX 3 prompting guide is not included yet.


Troubleshooting

Tools don't appear after connecting
  • Claude Desktop / claude.ai: Settings → Connectors, confirm FLUX shows as Connected. If it failed silently, remove and re-add — make sure pop-ups aren't blocked so the OAuth window can open.
  • Claude Code: claude mcp list should show the server.
  • Codex: codex mcp list should show flux. Start a new Codex session after adding.
  • Quick smoke test: ask your client "check my BFL credits".
Refreshing tools or reconnecting the server
  • Claude.ai / Desktop: Settings → Connectors → toggle FLUX off and on, or click Reconnect.
  • Claude Code: /mcp shows status and reauth. Full rebuild:
    claude mcp remove FLUX
    claude mcp add --transport http FLUX https://mcp.bfl.ai
    
  • Codex: codex mcp login flux. Full rebuild:
    codex mcp remove flux
    codex mcp add flux --url https://mcp.bfl.ai
    
  • mcp-remote clients: rm -rf ~/.mcp-auth and restart the client to force a fresh OAuth.
Authentication or billing errors
  • Make sure you have a BFL account at bfl.ai.
  • Disconnect and reconnect the connector to redo OAuth.
  • Check the selected organization has sufficient credits.
  • Ask your client to check your BFL credits to verify the balance.
A generation keeps loading

Large batches, FLUX.2 [max], or complex edits take longer than smaller generations. Visual MCP clients update the image view automatically.

Video renders take minutes — long clips up to about an hour. They return a pending request immediately and resume automatically, even if you close the chat and come back later.

Attached image or video editing fails

Your MCP client needs permission to upload attached media to BFL. If your client blocks outbound HTTPS from its sandbox, allow *.bfl.ai or pass a public URL instead. Video uploads are MP4 only, up to 50 MB.

Switching the billed organization

Disconnect the FLUX connector in your client and reconnect it. The OAuth flow will prompt you to select an organization again.


Agent Skills (companion repo)

MCP and Agent Skills solve different problems:

MCP (this repo)Agent Skills
What it doesGenerates, edits, varies, and browses images directly in chatTeaches your coding agent how to write FLUX API code
Best forCreative work inside Claude or another MCP clientBuilding applications that call the FLUX API

Use both. They complement each other and the skills repo's prompting guides are served directly over MCP too (see Prompting skills).



License

MIT © Black Forest Labs

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for FLUX MCP server by Black Forest Labs from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/flux-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design