MCP Imagegen MCP Server

Image Generator MCP server

Local serverstdio

What is the MCP Imagegen MCP server?

MCP Imagegen MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Image Generator MCP server.

What you get

A Model Context Protocol (MCP) server for generating images using Together AI's image generation models. This MCP Server can be run locally or using an SSE endpoint. The MCP Image Generator required a provider, only "Replicate" and "Together" are supported currently. You need to set the TOGETHER_API_KEY or REPLICATE_API_TOKEN environment variables. and set the PROVIDER environment variable to "replicate" or "together"/

What the assistant can call

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

  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — 1. Clone the repository: bash git clone https://github.com/gmkr/mcp-imagegen.git cd mcp-imagegen
  • Configuration — Create a configuration file for your MCP client. Here's an example configuration:

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Configuration and credentials

You will need 3 environment variables: PROVIDER, REPLICATE_API_TOKEN, TOGETHER_API_KEY. 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.

  • Node.js - Together AI API key or Replicate API token

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP Imagegen's toolset — Prerequisites, Installation, Configuration — is a fair guide to whether it matches your workflow. It is maintained by GMKR; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

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 mcp imagegen mcp server does with a few real requests.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
Installation1. Clone the repository: bash git clone https://github.com/gmkr/mcp-imagegen.git cd mcp-imagegen
ConfigurationCreate a configuration file for your MCP client. Here's an example configuration:

How to install the MCP Imagegen MCP server

{
  "mcpServers": {
    "imagegenerator": {
      "url": "http://localhost:3000/sse",
      "env": {
        "PROVIDER": "replicate",
        "REPLICATE_API_TOKEN": "your-replicate-api-token"
      }
    }
  }
}

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

Configuration

  • Node.js - Together AI API key or Replicate API token
VariableDescriptionRequired
PROVIDERConfiguration value read at startup.Optional
REPLICATE_API_TOKENCredential the server authenticates with.Yes
TOGETHER_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP Imagegen to Prerequisites.
  • Use MCP Imagegen to Installation.
  • Use MCP Imagegen to Configuration.

Frequently asked questions

It connects MCP Imagegen to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Prerequisites, Installation, Configuration) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Imagegen directly.