agent-mosaic-skill
Official BMBrick engine for converting local images into high-fidelity LEGO-style brick mosaics for AI agents.
README
BMBrick Agent Mosaic Skill
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):
| Original Photo | 48x48 Preview | 64x64 Preview |
|---|---|---|
![]() |
![]() |
![]() |
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
| 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.
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.mdfor 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 - Restricted —
dist/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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.


