Back to MCP Directory
Replicate Flux
Model Context Protocol moderate risk

Replicate Flux

Replicate Flux MCP empowers AI assistants to generate images and vector graphics using Replicate's Flux Schnell and Recraft V3 SVG models, locally and securely.

Connections & Capabilities

Connects To

GitHub

Capabilities

write

Quickstart

Install

npm install
```

Config

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

Exposed MCP Tools (6)

moderate
generate_image

Generates an image from a text prompt using the Flux Schnell model.

Writes new image files based on user prompts.

moderate
generate_multiple_images

Generates multiple images from an array of text prompts using the Flux Schnell model.

Writes multiple image files based on user prompts.

moderate
generate_image_variants

Generates multiple variants of an image from a single prompt, exploring different interpretations.

Writes multiple image files based on variations of a user prompt.

moderate
generate_svg

Generates an SVG vector image from a text prompt using the Recraft V3 SVG model.

Writes a new SVG file based on user prompt.

safe
prediction_list

Retrieves a list of recent prediction metadata from Replicate.

Read-only operation; retrieves prediction metadata.

safe
get_prediction

Gets detailed information about a specific prediction from Replicate.

Read-only operation; retrieves details about a specific prediction.

Safety Assessment

This MCP server is relatively safe for generating images and SVGs, but the risk of API key exposure and unexpected image content should be considered. It's safe when used responsibly with a securely stored API key and content filtering mechanisms in place. It's risky if the API key is exposed or if used without content moderation.

  • Local processing enhances privacy and security.
  • Requires Replicate API token, limiting unauthorized access.
  • Provides tools for image and SVG generation, not general-purpose execution.
  • Offers configurable parameters to control image generation.
  • Relies on Replicate API, introducing external dependency and potential vulnerabilities.
  • Improper handling of the Replicate API token could lead to unauthorized usage.
  • Image generation models may produce unexpected or undesirable content.
  • No built-in rate limiting; potential for excessive API usage.