Replicate Flux MCP Server

MCP for Replicate Flux Model

Remote serverstreamable-httpTypeScript

What is the Replicate Flux MCP MCP server?

Replicate Flux MCP MCP server exists for a simple reason — assistants are far more useful when they can act on Replicate Flux MCP directly instead of describing what you should do. MCP for Replicate Flux Model.

What you get

  1. Obtain a Replicate API Token - Sign up at Replicate - Create an API token in your account settings

Setting it up

Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.

What the assistant can call

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

  • generate_image — Generates an image based on a text prompt using the configured image model (allowlist only)
  • generate_multiple_images — Generates multiple images based on an array of prompts using the configured image model (allowlist only)
  • generate_image_variants — Generates multiple variants of the same image from a single prompt using the configured image model (allowlist only)
  • generate_svg — Generates SVG/vector output based on a text prompt using the configured SVG model (allowlist only)
  • prediction_list — The prediction_list tool exposed by this server
  • get_prediction — The get_prediction tool exposed by this server
  • run_model — Runs a whitelisted Replicate model with a raw input payload (useful for video or restoration models)
  • run_replicate_model — Runs any model hosted on Replicate by its owner/name[:version] reference. Use this as an escape hatch when none of the curated tools fit. Call
  • get_model_schema — Fetches the OpenAPI input schema and description for a Replicate model so you can pass the right parameters to run_replicate_model
  • imagelist — Browse your history of generated images created with the configured image model
  • svglist — Browse your history of generated SVG outputs created with the configured SVG model
  • predictionlist — The predictionlist tool exposed by this server

Configuration and credentials

You will need 4 environment variables: REPLICATE_API_TOKEN, YOUR_TOKEN, REPLICATE_IMAGE_MODEL_ID, REPLICATE_SVG_MODEL_ID. 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.

Before you rely on it

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Replicate Flux MCP.
  • 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 replicate flux mcp mcp server does with a few real requests.

Choosing this one

Among the AI and media services options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Replicate Flux MCP's toolset — generate_image, generate_multiple_images, generate_image_variants and 11 more — is a fair guide to whether it matches your workflow. It is maintained by awkoy; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
generate_imageGenerates an image based on a text prompt using the configured image model (allowlist only).
generate_multiple_imagesGenerates multiple images based on an array of prompts using the configured image model (allowlist only).
generate_image_variantsGenerates multiple variants of the same image from a single prompt using the configured image model (allowlist only).
generate_svgGenerates SVG/vector output based on a text prompt using the configured SVG model (allowlist only).
prediction_listThe prediction_list tool exposed by this server.
get_predictionThe get_prediction tool exposed by this server.
run_modelRuns a whitelisted Replicate model with a raw input payload (useful for video or restoration models).
run_replicate_modelRuns any model hosted on Replicate by its owner/name[:version] reference. Use this as an escape hatch when none of the curated tools fit. Call get_model_schema first if you don't know the input shape.
get_model_schemaFetches the OpenAPI input schema and description for a Replicate model so you can pass the right parameters to run_replicate_model.
imagelistBrowse your history of generated images created with the configured image model.
svglistBrowse your history of generated SVG outputs created with the configured SVG model.
predictionlistThe predictionlist tool exposed by this server.
TestingThis project currently has no automated test suite. Verification is done via:
StackThe Stack tool exposed by this server.

How to install the Replicate Flux MCP MCP server

{
  "mcpServers": {
    "replicate-flux-mcp": {
      "command": "env REPLICATE_API_TOKEN=YOUR_TOKEN npx",
      "args": ["-y", "replicate-flux-mcp"]
    }
  }
}

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

Configuration

VariableDescriptionRequired
REPLICATE_API_TOKENCredential the server authenticates with.Yes
YOUR_TOKENCredential the server authenticates with.Yes
REPLICATE_IMAGE_MODEL_IDConfiguration value read at startup.Optional
REPLICATE_SVG_MODEL_IDConfiguration value read at startup.Optional

Example prompts to try

  • Use Replicate Flux MCP to generate image.
  • Use Replicate Flux MCP to generate multiple images.
  • Use Replicate Flux MCP to generate image variants.

Frequently asked questions

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