Labsco
MCP SERVER

Generate images locally from inside your editor — Flux and Stable Diffusion models, running on your own hardware.

Image Generation
Summary
Two model families, one interface, nothing leaving the machine.

Flux and Stable Diffusion have different strengths and usually different tooling; here they are two tools with the same parameter set, so a fast draft and a detailed final render are one word apart. Everything runs locally against a compiled runtime, which is why it works on modest hardware — and why the first run is a real download.

What it is

A local image generator exposed as an MCP server. It drives a compiled C++ Stable Diffusion runtime rather than a Python pipeline, and covers both the Flux family and the Stable Diffusion family behind one interface.

What you get
  • Images generated with Stable Diffusion models, SDXL among them (generate_stable_diffusion_image)
  • Images generated with the Flux models, which are tuned for fast drafts (generate_flux_image)
  • Control over dimensions, sampling steps, guidance scale, seed and sampling method on every call
  • Negative prompts on the Stable Diffusion side, where the models support them
  • Generation from a plain sentence in the editor chat, with parameters named inline
  • The same engine reachable from the command line and through a separate REST interface, for use outside MCP
  • Generated files written to an output directory you configure, with the path returned to the caller
Requirements

A local build of the stable-diffusion.cpp runtime and the model weights downloaded — the setup script does both, interactively. Python, and a GPU if you want it fast; it runs on modest hardware without one. Configuration lives in a single JSON file you copy into your editor's MCP settings.