MCP Label Printer
Enables printing labels with QR codes and text to a Brother QL-810W printer via P-touch Editor Lite, useful for creating physical labels for GitHub issues and pull requests.
README
MCP Label Printer
An MCP server for printing labels with QR codes to Brother QL-810W printer via P-touch Editor Lite.
Prerequisites
- Python 3.10+ - Download
- Brother QL-810W printer connected via USB
- Editor Lite mode enabled on printer (green LED on)
Installation
-
Clone the repository:
git clone https://github.com/calumjs/MCP.Printer.git cd MCP.Printer -
Install the package:
pip install -e .This installs all dependencies (Pillow, qrcode, brother_ql, mcp).
-
Verify installation:
python -c "from mcp_label_printer.printer import print_label; print('OK')"
Printer Setup
- Connect Brother QL-810W via USB
- Press the Editor Lite button until the green LED turns ON
- The printer should appear as a USB drive (usually
D:\) - Verify
D:\PTLITE.PRNexists
MCP Configuration
Add to your MCP config file:
For Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"label-printer": {
"command": "mcp-label-printer"
}
}
}
Alternative (if command not found):
{
"mcpServers": {
"label-printer": {
"command": "python",
"args": ["-m", "mcp_label_printer.server"]
}
}
}
Restart your IDE after adding the config.
Usage
The server exposes one tool:
print_label
Print a label with QR code and text.
| Parameter | Required | Description |
|---|---|---|
url |
Yes | URL to encode in QR code |
issue_number |
Yes | Issue/PR number (e.g., "#1234") |
title |
Yes | Issue/PR title |
description |
No | Brief description |
Example prompt:
Print a label for issue #42 "Fix login bug" with URL https://github.com/org/repo/issues/42
How It Works
- Generates a QR code from the URL
- Creates a label image with QR code + text
- Converts to Brother QL raster format
- Writes to
D:\PTLITE.PRNwith proper padding (112,640 bytes) - Printer automatically prints when file is written
Troubleshooting
Nothing prints:
- Ensure Editor Lite LED is ON (green)
- Check
D:\drive exists and containsPTLITE.PRN - Try printing from P-touch Editor Lite app to verify printer works
Command not found:
- Ensure Python Scripts folder is in PATH
- Use the alternative config with
python -m mcp_label_printer.server
Wrong label size:
- This is configured for 62mm continuous labels (DK-22205)
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.
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.
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
E2B
Using MCP to run code via e2b.