Image Generation MCP Server

An MCP server for image generation using the Replicate Flux model

Local serverstdioTypeScript

What is the Image Generation MCP server?

Connect Image Generation to Claude, Cursor or any other MCP client and it stops being a tab you switch to. An MCP server for image generation using the Replicate Flux model. The image generation mcp server is what makes that connection.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • generate_image — Generates images using the Flux model based on text prompts
  • Parameters — The Parameters tool exposed by this server

Installation

@smithery/cli on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Credentials and setup notes

Configuration is passed through the environment: REPLICATE_API_TOKEN, MODEL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

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. Image Generation's toolset — generate_image, Parameters — is a fair guide to whether it matches your workflow. It is maintained by GongRzhe; 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.

Worth knowing first

  • 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.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
generate_imageGenerates images using the Flux model based on text prompts.
ParametersThe Parameters tool exposed by this server.

How to install the Image Generation MCP server

{
  "mcpServers": {
    "image-generation": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "REPLICATE_API_TOKEN": "your-value",
        "MODEL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
REPLICATE_API_TOKENCredential the server authenticates with.Yes
MODELConfiguration value read at startup.Optional

Example prompts to try

  • Use Image Generation to generate image.
  • Use Image Generation to Parameters.

Frequently asked questions

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