loading…
Search for a command to run...
loading…
Official BMBrick engine for converting local images into high-fidelity LEGO-style brick mosaics for AI agents.
Official BMBrick engine for converting local images into high-fidelity LEGO-style brick mosaics for AI agents.
Convert any local photo into a LEGO-style brick mosaic preview — directly from your AI agent.
@bmbrick/photo-to-lego-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.
Renamed from
@bmbrick/agent-mosaic-skill(the old name still works but is deprecated — please migrate to the new name for future updates).
Generated with the generate_lego_mosaic tool (3D render mode):
Square Tiles (square_1x1)
| Original Photo | 48x48 Preview | 64x64 Preview |
|---|---|---|
![]() |
![]() |
![]() |
Round Tiles (round_1x1)
| Original Photo | 48x48 Preview | 64x64 Preview |
|---|---|---|
![]() |
![]() |
![]() |
For more case studies and mosaic examples, check out our Pinterest Showcase.
npx -y @bmbrick/photo-to-lego-mosaic-skill
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"lego-mosaic": {
"command": "npx",
"args": ["-y", "@bmbrick/photo-to-lego-mosaic-skill"]
}
}
}
Cursor (.cursor/mcp.json):
{
"mcpServers": {
"lego-mosaic": {
"command": "npx",
"args": ["-y", "@bmbrick/photo-to-lego-mosaic-skill"]
}
}
}
generate_lego_mosaic| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
imagePath |
string | Yes | — | Absolute path to a local image |
columns |
number | No | 48 | Preview width in studs (max 64) |
rows |
number | No | 48 | Preview height in studs (max 64) |
materialMode |
string | No | square_1x1 |
square_1x1 or round_1x1 |
renderMode |
string | No | 3D |
Render style |
removeBackground |
boolean | No | false | Clean up white/transparent backgrounds |
Returns: a local watermarked PNG preview + a link to unlock the full project at bmbrick.com.
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.
SKILL.md for seamless agent workflow integrationDeep technical reference for the color quantization pipeline that powers this skill and bmbrick.com:
@bmbrick/agent-mosaic-skillIf you were using the old name, the migration is one search/replace:
@bmbrick/agent-mosaic-skill → @bmbrick/photo-to-lego-mosaic-skillgenerate_bmbrick_mosaic → generate_lego_mosaicagent-mosaic-skill → photo-to-lego-mosaic-skillThe tool parameters (imagePath, columns, rows, etc.) and return shape are unchanged.
Dual-licensed:
skill/ directory, agent integration surfacedist/ engine files: free to use and distribute as-is, but no de-obfuscation, reverse engineering, or redistribution of modified versionsSee LICENSE for full terms.
Выполни в терминале:
claude mcp add agent-mosaic-skill -- npx Да, Agent Mosaic Skill MCP бесплатный — установка в один клик через Unyly без оплаты.
Нет, Agent Mosaic Skill работает без API-ключей и переменных окружения.
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Открой Agent Mosaic Skill на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.