idotmatrix-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@idotmatrix-mcpDraw a smiley face on my 16x16 LED display."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
idotmatrix-mcp
An MCP (Model Context Protocol) server that lets AI assistants draw pixel art on iDotMatrix LED displays over Bluetooth.
Connect your iDotMatrix display to Claude, ChatGPT, or any MCP-compatible client and ask it to draw pictures, icons, animations, dashboards — anything that fits on a 16x16, 32x32, or 64x64 pixel grid.
How It Works
The server maintains an in-memory pixel canvas that matches your display's resolution. AI assistants interact with the canvas through MCP tools — drawing shapes, filling colors, rendering text — then push the finished frame to the physical display over BLE.
AI Assistant ──MCP tools──> idotmatrix-mcp ──BLE──> iDotMatrix Display
(canvas buffer)Workflow:
The assistant calls
discover_devicesto find nearby iDotMatrix displaysIt connects with
connect_device, specifying the screen sizeIt draws on the canvas using drawing tools (or
draw_batchfor multiple operations at once)It calls
get_previewto see an ANSI block-art preview in the chatIt calls
send_to_displayto push the frame to the physical device
Related MCP server: Pixel Art MCP
Prerequisites
Node.js 18+
macOS (BLE support via the
idotmatrixnpm package — uses Noble under the hood)An iDotMatrix LED display powered on and within Bluetooth range
Installation
git clone https://github.com/nailan/idotmatrix-mcp.git
cd idotmatrix-mcp
npm install
npm run buildConfiguration
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"idotmatrix": {
"command": "node",
"args": ["/absolute/path/to/idotmatrix-mcp/dist/index.js", "--stdio"]
}
}
}Claude Code
Add to your Claude Code settings (.claude/settings.json or global):
{
"mcpServers": {
"idotmatrix": {
"command": "node",
"args": ["/absolute/path/to/idotmatrix-mcp/dist/index.js", "--stdio"]
}
}
}HTTP mode (other clients)
The server also supports Streamable HTTP transport for clients that don't use stdio:
node dist/index.js # defaults to http://127.0.0.1:8321/mcp
node dist/index.js --port=9000 # custom portTools
Canvas Management
Tool | Description |
| Fill entire canvas with one color and reset |
| Return an ANSI block-art preview of the canvas |
| List all 48 named colors with hex values |
Drawing Primitives
Tool | Description |
| Rectangle (filled by default) |
| Circle (filled by default) |
| Ellipse with independent radii |
| Line between two points |
| Triangle (filled by default) |
| Rectangle with rounded corners |
| Regular polygon (3-12 sides) |
| Linear gradient fill (vertical, horizontal, or diagonal) |
| Set a single pixel |
| Paint-bucket fill from a point |
| Bitmap text (3x5 "small" or 5x7 "medium") |
Batch Drawing
Tool | Description |
| Execute multiple draw commands in one call |
draw_batch accepts an array of command objects. Each object has a command field plus the same parameters as the corresponding individual tool. This is the most efficient way to compose scenes — one tool call instead of many round-trips.
[
{ "command": "clear", "color": "dark_blue" },
{ "command": "gradient", "x": 0, "y": 0, "width": 64, "height": 32, "color_from": "navy", "color_to": "sky_blue" },
{ "command": "circle", "cx": 48, "cy": 8, "radius": 5, "color": "yellow" },
{ "command": "ellipse", "cx": 20, "cy": 16, "rx": 10, "ry": 5, "color": "white" },
{ "command": "rounded_rect", "x": 10, "y": 40, "width": 44, "height": 16, "radius": 4, "color": "green" },
{ "command": "polygon", "cx": 50, "cy": 10, "radius": 6, "sides": 5, "color": "gold" },
{ "command": "text", "text": "HI", "x": 28, "y": 44, "color": "white" }
]Supported commands: clear, rect, circle, ellipse, line, triangle, rounded_rect, polygon, gradient, pixel, fill, text.
Execution stops on the first error and reports which command failed.
Device Management
Tool | Description |
| Scan for nearby iDotMatrix BLE devices |
| Connect to a device (screen size: 16, 32, or 64) |
| Disconnect from the current device |
| Push the canvas buffer to the connected display |
Color Palette
The server includes a curated 48-color palette optimized for LED displays. Use list_colors to see all options. Some highlights:
Neutrals:
black,white,gray,dark_gray,light_grayWarm:
red,orange,yellow,coral,salmon,pink,hot_pinkCool:
blue,cyan,green,teal,sky_blue,purple,violetEarth:
brown,tan,sand,skin,peach,dark_brownNature:
forest,dark_green,lime,spring,mint,olive
Gradients interpolate between any two palette colors, producing smooth intermediate shades not limited to the 48-color palette.
Prompts
The server ships a drawing-guide prompt that gives the AI assistant context about the coordinate system, available tools, color palette, and pixel art tips. MCP clients that support prompts will make this available automatically.
Coordinate System
Origin
(0, 0)is the top-left cornerX increases rightward, Y increases downward
Drawing outside bounds is silently clipped
Development
npm run dev # run with tsx (no build step)
npm run build # compile TypeScript to dist/
npm run clean # remove dist/License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Nailan/idotmatrix-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server