labels

v0.3.1
com.yaktool/labels Checked 1 day ago Published 3 months ago

Labels: FBA (FNSKU) & GS1 SSCC pallet labels (PDF/ZPL), plus a ZPL-to-PDF renderer.

Print-ready labels as an MCP server — the label-domain suite of yaktool.com. Bars are drawn on the target printer's dot grid rather than scaled to fit, so what comes out measures what it claims to. Every input is validated before anything is drawn. Same engine and documented rules as the browser tools at yaktool.com/ecommerce/fnsku-label-generator, logistic-label-generator and zpl-viewer.

Summary extracted from the README.

yaktool-labels-mcp

Print-ready labels as an MCP server — the label-domain suite of yaktool.com.

Bars are drawn on the target printer's dot grid rather than scaled to fit, so what comes out measures what it claims to. Every input is validated before anything is drawn.

Tools

  • generate_fnsku_labels — lay out Amazon FBA (FNSKU) labels as an exact-physical-size PDF: 30-up US Letter (Avery 5160 geometry), A4 24-up, or 2"×1" / 2.25"×1.25" thermal rolls. Code 128 bars are aligned to the target printer dot grid (203/300 dpi); every row is validated first (X00 and B0 forms accepted, UPC-pasted-in-the-wrong-column called out); titles outside WinAnsi are replaced with disclosure, never silently. Pass calibrationOnly: true for a ruler test page (1" must measure 25.4 mm — catches "fit to page" scaling). Never overwrites existing files. Zero network.

  • generate_logistic_labels — GS1 logistic (SSCC pallet) labels as PDF or ZPL, A6–A5: GS1-128 bars from structured element input (no parenthesis guessing — the classic way these get built wrong), fixed-length AIs ordered first so no FNC1 separator is needed, and an AI lint gate (LGL-001~008) that refuses a symbol it cannot vouch for. The ZPL path draws the bars itself (^GB, not ^BC) from the same geometry as the PDF, so both outputs are the same label.

  • render_zpl — render ZPL (Zebra label code) to an exact-size PDF preview without a printer. The parser covers a documented subset and says what it skipped (ZPV-001~005) rather than quietly dropping commands — an unrendered field is reported, never invisible.

Install

claude mcp add yaktool-labels -- npx -y yaktool-labels-mcp

Same engine and documented rules as the browser tools at yaktool.com/ecommerce/fnsku-label-generator, logistic-label-generator and zpl-viewer.