Labsco
MCP SERVER

2d Games Assets Generator

by crony-io

Generate placeholder 2D PNG assets with shape, colours, gradients, patterns and rotated text baked in, batch them into a spritesheet, and read back the description embedded in each file.

Image GenerationVerified
Summary
The placeholder carries its own description, so prototype art stays self-documenting right up to the point it is replaced.

Dimensions, colour, shape and description are written into each PNG as JSON and read back through read_image_metadata, which is what turns a folder of coloured rectangles into something an agent can reason about a week later. Batching covers spritesheets as well as individual files, with margin and spacing as parameters, so packing is not a separate step with a separate tool. The reader is scoped to what this server produced — it reads the metadata this generator embedded, not arbitrary PNGs from elsewhere.

What it is

A mock asset generator for game prototypes: single PNGs or a batch, each carrying its own JSON metadata inside the file.

What you get
  • generate_mock_asset, which draws one PNG from a shape, primary and secondary colours with a gradient angle, a pattern with its own colour, opacity and scale, a stroke, and text with a size, colour, position and rotation, at a given width and height.
  • generate_mock_asset_batch, which produces many at once either as individual files or as a spritesheet with its own margin and spacing.
  • JSON metadata embedded in every generated PNG — dimensions, colour, shape and description — read back through read_image_metadata.
Requirements

Nothing to supply — no account, no key. A directory for the PNGs to be written into, given per call as directory or sheetDirectory.

Setup effort

One command — npx -y 2d-assets-mcp