LabscoMCP early access ↗
sam2332MCP SERVER

Image Generator MCP Server

Generate placeholder PNGs at any size and colour, saved straight to a path you choose.

by sam2332 ↗Image GenerationCommunity

LABSCO SUMMARY

The dimension overlay is what stops a placeholder folder becoming a puzzle.

Every generated image carries its own size printed on it, with contrast picked against the background, so you can tell at a glance which file is which without opening an inspector. Combined with directory auto-creation, filling out an assets tree becomes one request rather than a script — capped at 4096 pixels on each side.

What it is

A small Node server that draws test images. You give it dimensions, a hex colour and a destination path; it renders a PNG with the dimensions written on it, picks a text colour that contrasts with the background, and creates any missing directories on the way. It is a build-time convenience rather than a design tool.

What you get

  • generate_test_image writes a PNG to a path you name
  • width and height in pixels, from 1 to 4096
  • color as a hex code, in either #FF0000 or #f00 form
  • An optional label drawn in the top-left corner
  • The image dimensions are overlaid automatically, so a folder of placeholders is self-describing
  • Missing directories in the target path are created for you

Requirements

No account and no key. Clone, npm install, npm run build, then point your client at node with the path to build/index.js. Package image-gen, version 0.1.0. It depends on the Node canvas library, which needs native build tooling on some systems. It writes files wherever the path you give it points, so keep that path scoped to your project.

Setup effort

Build from source — git clone https://github.com/sam2332/Mcp-Server-Placeholder-Image-Generator.git