
An API server to create a tag image for a text and print it through the NIIMBOT D110 label printer.
>=3.10In the niimprint directory, run
shell
pip3 install -r requirements.txt
Run golang server
shell
go run .
POST request on http://localhost:8769/print with payload in the following JSON format
json
{
"text" : "MYLABEL",
"qr_text" : "https://www.example.com/MYLABEL"
}
curl -d '{"text": "MYLABEL", "qr_text": "https://www.example.com/MYLABEL"}' \
-H "Content-Type: application/json" \
-X POST \
http://localhost:8769/print
$ claude mcp add niimbot-d110-api \
-- python -m otcore.mcp_server <graph>