Flux Img MCP Server

This MCP server provides image generation capabilities using the Flux Schnell model on Replicate.

Local serverstdioTypeScript

What is the Flux Img MCP MCP server?

Flux Img MCP MCP server exists for a simple reason — assistants are far more useful when they can act on Flux Img MCP directly instead of describing what you should do. This MCP server provides image generation capabilities using the Flux Schnell model on Replicate.

What the assistant can call

Once Flux Img MCP is connected, these are the calls the assistant has available:

  • generate_image — Generates an image using the Flux Schnell model based on a text prompt

Setting it up

The server ships on npm as @modelcontextprotocol/sdk, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

You will need one environment variable: REPLICATE_API_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Flux Img MCP's toolset — generate_image — is a fair guide to whether it matches your workflow. It is maintained by ckz; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Flux Img MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the flux img mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
generate_imageGenerates an image using the Flux Schnell model based on a text prompt.

How to install the Flux Img MCP MCP server

{
  "mcpServers": {
    "flux-img": {
      "command": "node",
      "args": ["/path/to/flux-img-mcp/build/index.js"],
      "env": {
        "REPLICATE_API_TOKEN": "your-replicate-api-token"
      },
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
REPLICATE_API_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Flux Img MCP to generate image.

Frequently asked questions

It connects Flux Img MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (generate_image) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Flux Img MCP directly.