LabscoMCP early access ↗
GMKRMCP SERVER

MCP Image Generator

Generate images from a prompt through Replicate or Together AI, whichever you have a key for.

by GMKR ↗Image GenerationCommunity

LABSCO SUMMARY

One call shape, two billing relationships.

Being able to move between Replicate and Together without changing how the assistant calls it is the practical benefit — provider pricing and model availability shift, and here that is a variable rather than a rewrite. The default model is a fast one, so raise MODEL_NAME if you want quality over latency.

What it is

A small image generator that sits in front of two providers. You pick one at start-up; the tool call stays the same either way.

What you get

  • generate_image takes a prompt and returns the generated image
  • Optional width and height, both defaulting to 512, and numberOfImages defaulting to 1
  • Provider choice between Replicate and Together, switched by an environment variable rather than a different tool

Requirements

A clone of the repository, run locally over stdio through pnpx and tsx, or built into the repository's Docker image serving SSE on port 3000 — nothing is published to npm. PROVIDER must be set to replicate or together, with the matching credential in REPLICATE_API_TOKEN or TOGETHER_API_KEY. MODEL_NAME defaults to black-forest-labs/flux-schnell.

Setup effort

Build from source — git clone https://github.com/gmkr/mcp-imagegen.git