LABEL & RECEIPT PRINTERS / HM-PR-085
HM-PR-085 · datasheet

PD01 Printer MCP

Confirmation-gated MCP server for PD01-compatible 58mm Bluetooth LE thermal printers (the 0x5178 protocol) on Windows, so an agent can preview text and print it only after a human confirms

01 · What it does

  • Check the BLE connection to the printer without using paper
  • Render text and return a preview without using paper
  • Print a prepared job only with the exact token CONFIRM_PRINT after human confirmation
  • Disconnect from the printer

02 · Install

$ git clone https://github.com/1124823599331l-boop/pd01-printer-mcp
$ cd pd01-printer-mcp
$ py -3.12 -m venv .venv
$ .\.venv\Scripts\Activate.ps1
$ python -m pip install -r requirements.txt
$ python printer_server.py
  1. 4 tools. Serves MCP at http://127.0.0.1:4176/mcp; the README says to put it behind authenticated HTTPS, a VPN or a tunnel before any remote use
  2. Opens the Windows paired-device instance first, then falls back to a BLE scan, because Windows can show a PD01 as paired while it no longer advertises
  3. The confirmation token is a safety barrier, not authentication. PD01 framing is based on rhnvrm/catprinter (MIT)

03 · Client config (from README)

{
  "mcpServers": {
    "pd01-printer": {
      "type": "streamable-http",
      "url": "http://127.0.0.1:4176/mcp"
    }
  }
}

Install steps taken from the project README (its recommended path first). Placeholders are the maintainer's. Not bench-tested by HardwareMCP yet.

Weekly bulletin

New hardware MCP servers, notable releases and setup notes. One email, Mondays.