🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@bmbrick/agent-mosaic-skill

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bmbrick/agent-mosaic-skill

The official BMBrick AI engine for converting local images into high-fidelity LEGO-style mosaic previews.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

BMBrick Agent Mosaic Skill

npm version License

Convert any local photo into a LEGO-style brick mosaic preview — directly from your AI agent.

@bmbrick/agent-mosaic-skill is an MCP server that lets Claude, Cursor, Windsurf, and other AI agents transform local images into high-fidelity 3D brick mosaics using the same canonical engine as bmbrick.com.

Visual Previews

Generated with the generate_bmbrick_mosaic tool (3D render mode):

Square Tiles (square_1x1)

Original Photo48x48 Preview64x64 Preview
Original48x4864x64

Round Tiles (round_1x1)

Original Photo48x48 Preview64x64 Preview
Original48x48 Round64x64 Round

Quick Start

npx -y @bmbrick/agent-mosaic-skill

MCP Client Configuration

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "bmbrick-mosaic": {
      "command": "npx",
      "args": ["-y", "@bmbrick/agent-mosaic-skill"]
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "bmbrick-mosaic": {
      "command": "npx",
      "args": ["-y", "@bmbrick/agent-mosaic-skill"]
    }
  }
}

Tool: generate_bmbrick_mosaic

ParameterTypeRequiredDefaultDescription
imagePathstringYesAbsolute path to a local image
columnsnumberNo48Preview width in studs (max 64)
rowsnumberNo48Preview height in studs (max 64)
materialModestringNosquare_1x1square_1x1 or round_1x1
renderModestringNo3DRender style
removeBackgroundbooleanNofalseClean up white/transparent backgrounds

Returns: a local watermarked PNG preview + a link to unlock the full project at bmbrick.com.

Unlock Full Project

The preview is watermarked and intended for creative exploration. To get the complete deliverables — HD unwatermarked mosaic, brick-by-brick PDF instructions, parts list with ordering links, and CSV/XML placement matrices — visit bmbrick.com.

Features

  • Same Engine as bmbrick.com — canonical color science, quantization, and 3D rendering pipeline
  • Local & Private — all processing happens on your machine via Node.js
  • Agent-Ready — ships with a SKILL.md for seamless agent workflow integration
  • 3D Render Mode — InstancedMesh PBR rendering with realistic brick studs

Development

License

Dual-licensed:

  • MIT — MCP wrapper, skill/ directory, agent integration surface
  • Restricteddist/ engine files: free to use and distribute as-is, but no de-obfuscation, reverse engineering, or redistribution of modified versions

See LICENSE for full terms.

Keywords

bmbrick

FAQs

Package last updated on 13 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts