Labsco
MCP SERVER

BMBrick Agent Mosaic Skill

by Able-rip

Turn a photo on your disk into a LEGO-style brick mosaic preview — pick the stud grid and square or round tiles — without leaving the agent.

3D, CAD & Game Engines
Summary
One tool, one job, and the real engine behind it.

The colour science and rendering are the same ones the vendor's own site runs, so the preview is a faithful look at what the physical build would be rather than an approximation made for the agent. Treat it as the exploration step: the buildable outputs — instructions, parts list, placement matrices — come from the paid site.

What it is

A single-tool MCP server that converts a local image into a 3D-rendered brick mosaic. It runs the same colour-quantization and rendering pipeline as bmbrick.com, on your own machine through Node, and returns a watermarked PNG preview plus a link to unlock the full project. The tool was renamed from `generate_bmbrick_mosaic` to `generate_lego_mosaic`, and the package from `@bmbrick/agent-mosaic-skill` to `@bmbrick/photo-to-lego-mosaic-skill`; parameters and return shape are unchanged.

What you get
  • A brick mosaic rendered from an absolute path to a local image — `generate_lego_mosaic`
  • A stud grid you choose: `columns` and `rows` default to 48 and go up to 64
  • Square or round tiles via `materialMode`, set to `square_1x1` or `round_1x1`
  • 3D rendering with realistic studs, rather than a flat pixel grid
  • Optional background removal for white or transparent backgrounds, via `removeBackground`
  • Local processing — the image is read from your disk and the render happens on your machine
  • A `SKILL.md` in the package, so agents that read skill files pick up the workflow without extra prompting
Requirements

No account and no key. Run `npx -y @bmbrick/photo-to-lego-mosaic-skill` (published as `@bmbrick/photo-to-lego-mosaic-skill` 2.0.2) over stdio; the tool takes an absolute path, so the image has to be on the same machine. What comes back is a watermarked preview: the unwatermarked mosaic, the brick-by-brick PDF instructions, the parts list with ordering links and the placement matrices are bought at bmbrick.com. The npm wrapper and skill directory are MIT; the engine files in `dist/` are free to use and redistribute as-is but not to reverse-engineer or modify.

Setup effort

One command — npx -y @bmbrick/photo-to-lego-mosaic-skill