Thermal label MCP server: render, validate, debug and convert ZPL, EPL, TSPL and CPCL labels.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Generate a single barcode as a PNG image (Code 128, QR, DataMatrix, EAN-13, UPC-A, PDF417 and more). For a full label with text and layout, write ZPL and use zpl_preview instead.
Data to encode
Symbology (code128, qr, datamatrix, ean13, upca, pdf417...)
Generate a single barcode as a PNG image (Code 128, QR, DataMatrix, EAN-13, UPC-A, PDF417 and more). For a full label with text and layout, write ZPL and use zpl_preview instead.
| Argument | Type | Description |
|---|---|---|
| data* | string | Data to encode |
| type | string | Symbology (code128, qr, datamatrix, ean13, upca, pdf417...) |
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "string",
"description": "Data to encode"
},
"type": {
"type": "string",
"default": "code128",
"description": "Symbology (code128, qr, datamatrix, ean13, upca, pdf417...)"
}
}
}Decode barcodes from a photo or scan of a PRINTED label (PNG, JPEG, BMP or GIF) and report what a software decoder reads back. Honest by design: 'read' does not guarantee every handheld scanner will read it, and 'not read' does not condemn the label (photo angle/focus matter) — the response says so.
| Argument | Type | Description |
|---|---|---|
| image_base64* | string | Base64-encoded image bytes |
{
"type": "object",
"required": [
"image_base64"
],
"properties": {
"image_base64": {
"type": "string",
"description": "Base64-encoded image bytes"
}
}
}List your recent bulk jobs (id, state, error class, timestamps), newest first. Useful to recover a lost job id; details via bulk_status.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max jobs to return (default 50) |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Max jobs to return (default 50)"
}
}
}Status of one bulk job you own: state, attempt count and — when finished — the summary with produced count and per-row failures (row number + reason; failed rows never block the rest). Finished outputs stay downloadable for 7 days via the REST endpoint the response names.
| Argument | Type | Description |
|---|---|---|
| job_id* | string | Job id from bulk_submit |
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"description": "Job id from bulk_submit"
}
}
}Submit a bulk label production job: one ZPL template with {{variable}} placeholders plus data rows (one object per label). Requires an API key whose plan includes bulk jobs. Quota is charged UPFRONT, one operation per row, and failed rows are not refunded; rows per job are capped by plan. Returns the job id — check bulk_status (small jobs usually finish within seconds).
| Argument | Type | Description |
|---|---|---|
| zpl* | string | ZPL template with {{name}} placeholders |
| dpmm | integer | Print density (default 8) |
| rows* | array | One object per label: placeholder name -> value |
| output | string | Output format (default zpl) |
| width_in | number | Label width, inches |
| height_in | number | Label height, inches |
{
"type": "object",
"required": [
"zpl",
"rows"
],
"properties": {
"zpl": {
"type": "string",
"description": "ZPL template with {{name}} placeholders"
},
"dpmm": {
"enum": [
6,
8,
12,
24
],
"type": "integer",
"description": "Print density (default 8)"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"description": "One object per label: placeholder name -> value"
},
"output": {
"enum": [
"zpl",
"png",
"pdf"
],
"type": "string",
"description": "Output format (default zpl)"
},
"width_in": {
"type": "number",
"description": "Label width, inches"
},
"height_in": {
"type": "number",
"description": "Label height, inches"
}
}
}Rescale ZPL between printer resolutions (203/300/600 DPI): coordinates, fonts, barcode module width and label size are scaled. Embedded ^GF/~DG image data is NOT scaled; the response says so instead of silently passing it through.
| Argument | Type | Description |
|---|---|---|
| zpl* | string | Raw ZPL code |
| source_dpi* | integer | Resolution the ZPL was written for, in DPI (not dpmm: 203 DPI = 8 dpmm). |
| target_dpi* | integer | Resolution to rescale to, in DPI. Equal to source_dpi means no scaling. |
{
"type": "object",
"required": [
"zpl",
"source_dpi",
"target_dpi"
],
"properties": {
"zpl": {
"type": "string",
"description": "Raw ZPL code"
},
"source_dpi": {
"enum": [
152,
203,
300,
600
],
"type": "integer",
"description": "Resolution the ZPL was written for, in DPI (not dpmm: 203 DPI = 8 dpmm)."
},
"target_dpi": {
"enum": [
152,
203,
300,
600
],
"type": "integer",
"description": "Resolution to rescale to, in DPI. Equal to source_dpi means no scaling."
}
}
}Render CPCL label code and return a PNG preview. The preview assumes 203 dpi and is an interpretation of the CPCL manual covering a core command subset — no physical printer validation. `labels` in the response is the TOTAL number of labels the stream prints (a stream may contain several, each ended by `PRINT`); pass `index` to render a different one.
| Argument | Type | Description |
|---|---|---|
| cpcl* | string | Raw CPCL code |
| index | integer | Label index in the stream |
{
"type": "object",
"required": [
"cpcl"
],
"properties": {
"cpcl": {
"type": "string",
"description": "Raw CPCL code"
},
"index": {
"type": "integer",
"default": 0,
"description": "Label index in the stream"
}
}
}Lint CPCL label code and return positioned findings with severity as JSON. Checks the command set Labelixa implements from the CPCL manual — a clean result is not a guarantee that a specific printer accepts the job. Run this before cpcl_preview; if you are not sure which language the code is, call language_detect first.
| Argument | Type | Description |
|---|---|---|
| cpcl* | string | Raw CPCL code |
{
"type": "object",
"required": [
"cpcl"
],
"properties": {
"cpcl": {
"type": "string",
"description": "Raw CPCL code"
}
}
}Render EPL/EPL2 label code and return a PNG preview. The preview assumes 203 dpi and is an interpretation of the EPL2 manual covering a core command subset — no physical printer validation. `labels` in the response is the TOTAL number of labels the stream prints (a stream may contain several, each ended by `P`); pass `index` to render a different one.
| Argument | Type | Description |
|---|---|---|
| epl* | string | Raw EPL/EPL2 code |
| index | integer | Label index in the stream |
{
"type": "object",
"required": [
"epl"
],
"properties": {
"epl": {
"type": "string",
"description": "Raw EPL/EPL2 code"
},
"index": {
"type": "integer",
"default": 0,
"description": "Label index in the stream"
}
}
}Lint EPL/EPL2 label code and return positioned findings with severity as JSON. Checks the command set Labelixa implements from the EPL2 manual — a clean result is not a guarantee that a specific printer accepts the job. Run this before epl_preview; if you are not sure which language the code is, call language_detect first.
| Argument | Type | Description |
|---|---|---|
| epl* | string | Raw EPL/EPL2 code |
{
"type": "object",
"required": [
"epl"
],
"properties": {
"epl": {
"type": "string",
"description": "Raw EPL/EPL2 code"
}
}
}Human-readable health REPORT for a finished ZPL label, with a 0-100 score: sectioned findings (syntax, size/DPI, orientation, barcodes, fonts, graphics memory, job behaviour); sections that cannot be assessed say so and are excluded from the score. Use it to review or explain a label to a person; for a quick pass/fail check while editing, use zpl_validate instead.
| Argument | Type | Description |
|---|---|---|
| zpl* | string | Raw ZPL code |
| dpmm | integer | Printer density (8 = 203 dpi). The size/DPI section is scored against it — pass the real value. |
| width_in | number | Label width in inches; fields outside it are reported. |
| height_in | number | Label height in inches; same role as width_in. |
{
"type": "object",
"required": [
"zpl"
],
"properties": {
"zpl": {
"type": "string",
"description": "Raw ZPL code"
},
"dpmm": {
"enum": [
6,
8,
12,
24
],
"type": "integer",
"default": 8,
"description": "Printer density (8 = 203 dpi). The size/DPI section is scored against it — pass the real value."
},
"width_in": {
"type": "number",
"default": 4,
"description": "Label width in inches; fields outside it are reported."
},
"height_in": {
"type": "number",
"default": 6,
"description": "Label height in inches; same role as width_in."
}
}
}Convert an image (PNG, JPEG, BMP or GIF, max 200 KB) to a ZPL ^GF graphic command. Returns the ZPL plus measured dimensions and the physical print size at the chosen density. PDF input is REST-only (/v1/graphics).
| Argument | Type | Description |
|---|---|---|
| dpmm | integer | Target printer density |
| wrap | boolean | Wrap the ^GF in a printable ^XA...^XZ label with ^PW/^LL |
| dither | boolean | Dither instead of hard threshold (photos) |
| image_base64* | string | Base64-encoded image bytes |
{
"type": "object",
"required": [
"image_base64"
],
"properties": {
"dpmm": {
"enum": [
6,
8,
12,
24
],
"type": "integer",
"default": 8,
"description": "Target printer density"
},
"wrap": {
"type": "boolean",
"default": false,
"description": "Wrap the ^GF in a printable ^XA...^XZ label with ^PW/^LL"
},
"dither": {
"type": "boolean",
"default": false,
"description": "Dither instead of hard threshold (photos)"
},
"image_base64": {
"type": "string",
"description": "Base64-encoded image bytes"
}
}
}Detect which printer language raw label code is written in (ZPL, EPL, TSPL or CPCL). Heuristic: returns the language plus a confidence TIER (high/medium/low) and signal codes — not a probability.
| Argument | Type | Description |
|---|---|---|
| code* | string | Raw label code to classify |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Raw label code to classify"
}
}
}Convert a SATO SBPL, Honeywell (Datamax) DPL or Honeywell (Intermec) IPL label stream to ZPL, so it can be checked with zpl_validate and rendered with zpl_preview. You must name the source language: language_detect does not recognise these three. Real control characters and the manuals' readable notation (<STX>, <ESC>) are both accepted. Commands outside the supported subset (printer settings, RFID, job management, some 2D symbologies) are skipped with a warning, never silently: non-empty `warnings` mean the conversion is not 1:1 and `one_to_one` is false — show the warnings to the user. The output follows each manufacturer's command reference and is not verified on physical printers; check a preview and a test print before production.
| Argument | Type | Description |
|---|---|---|
| code* | string | Raw SBPL, DPL or IPL label stream |
| dpmm | integer | Target printer density in dots per mm (8 = 203 dpi) |
| label_length_mm | number | DPL only: label length in mm. DPL measures rows from the bottom edge, ZPL from the top; without it (or <STX>c in the stream) 6 inches is assumed and a warning is added. |
| source_language* | string | Language of `code`: sbpl (SATO), dpl (Datamax / Honeywell) or ipl (Intermec / Honeywell) |
{
"type": "object",
"required": [
"code",
"source_language"
],
"properties": {
"code": {
"type": "string",
"description": "Raw SBPL, DPL or IPL label stream"
},
"dpmm": {
"enum": [
6,
8,
12,
24
],
"type": "integer",
"default": 8,
"description": "Target printer density in dots per mm (8 = 203 dpi)"
},
"label_length_mm": {
"type": "number",
"maximum": 9999,
"description": "DPL only: label length in mm. DPL measures rows from the bottom edge, ZPL from the top; without it (or <STX>c in the stream) 6 inches is assumed and a warning is added.",
"exclusiveMinimum": 0
},
"source_language": {
"enum": [
"sbpl",
"dpl",
"ipl"
],
"type": "string",
"description": "Language of `code`: sbpl (SATO), dpl (Datamax / Honeywell) or ipl (Intermec / Honeywell)"
}
}
}Save a ZPL label to a Labelixa account so it can be edited, versioned and printed later. With an API key the label is saved immediately and the saved label id is returned. Without a key the label is held for 24 hours and a one-time link is returned: the user opens it, signs in (free account is enough) and the label lands in their account. Nothing else is stored for anonymous calls.
| Argument | Type | Description |
|---|---|---|
| zpl* | string | Raw ZPL code |
| dpmm | integer | Print density: 6, 8, 12 or 24 |
| name | string | Label name (default: 'Label from assistant') |
| width_in | number | Label width in inches |
| height_in | number | Label height in inches |
{
"type": "object",
"required": [
"zpl"
],
"properties": {
"zpl": {
"type": "string",
"description": "Raw ZPL code"
},
"dpmm": {
"type": "integer",
"default": 8,
"description": "Print density: 6, 8, 12 or 24"
},
"name": {
"type": "string",
"description": "Label name (default: 'Label from assistant')"
},
"width_in": {
"type": "number",
"default": 4,
"description": "Label width in inches"
},
"height_in": {
"type": "number",
"default": 6,
"description": "Label height in inches"
}
}
}Fetch one catalog template: metadata, preview image URL and — for non-premium templates — the ZPL source, ready for zpl_preview. Premium templates return metadata for everyone; their ZPL source requires an API key whose plan includes the premium-template feature (same rule as the website).
| Argument | Type | Description |
|---|---|---|
| template_id* | string | Template id from template_list |
{
"type": "object",
"required": [
"template_id"
],
"properties": {
"template_id": {
"type": "string",
"description": "Template id from template_list"
}
}
}List Labelixa's first-party label template catalog: id, English name, category, size/density and tags. Read-only product content (no tenant data). Fetch one with template_get; render its ZPL with zpl_preview.
| Argument | Type | Description |
|---|---|---|
| search | string | Substring match on id/tags |
| category | string | Filter by category |
{
"type": "object",
"properties": {
"search": {
"type": "string",
"description": "Substring match on id/tags"
},
"category": {
"enum": [
"shipping",
"product",
"shelf",
"pallet",
"qr"
],
"type": "string",
"description": "Filter by category"
}
}
}Render TSPL/TSPL2 label code and return a PNG preview. The preview assumes 203 dpi and is an interpretation of the TSPL manual covering a core command subset — no physical printer validation. `labels` in the response is the TOTAL number of labels the stream prints (a stream may contain several, each ended by `PRINT`); pass `index` to render a different one.
| Argument | Type | Description |
|---|---|---|
| tspl* | string | Raw TSPL/TSPL2 code |
| index | integer | Label index in the stream |
{
"type": "object",
"required": [
"tspl"
],
"properties": {
"tspl": {
"type": "string",
"description": "Raw TSPL/TSPL2 code"
},
"index": {
"type": "integer",
"default": 0,
"description": "Label index in the stream"
}
}
}Lint TSPL/TSPL2 label code and return positioned findings with severity as JSON. Checks the command set Labelixa implements from the TSPL2 manual — a clean result is not a guarantee that a specific printer accepts the job. Run this before tspl_preview; if you are not sure which language the code is, call language_detect first.
| Argument | Type | Description |
|---|---|---|
| tspl* | string | Raw TSPL/TSPL2 code |
{
"type": "object",
"required": [
"tspl"
],
"properties": {
"tspl": {
"type": "string",
"description": "Raw TSPL/TSPL2 code"
}
}
}Explain a single ZPL command: syntax, parameters with types/ranges/options, a fragment example and whether the Labelixa renderer draws it. Data comes from the same catalog that powers the public command reference pages.
| Argument | Type | Description |
|---|---|---|
| locale | string | Language for the human-readable fields (name and descriptions). Command codes, syntax strings, examples and parameter names never change. |
| command* | string | ZPL command code, e.g. FO, ^BC, ~DG |
{
"type": "object",
"required": [
"command"
],
"properties": {
"locale": {
"enum": [
"en",
"tr",
"de"
],
"type": "string",
"default": "en",
"description": "Language for the human-readable fields (name and descriptions). Command codes, syntax strings, examples and parameter names never change."
},
"command": {
"type": "string",
"description": "ZPL command code, e.g. FO, ^BC, ~DG"
}
}
}Compatibility RISK analysis of ZPL code against a specific printer model, given as manufacturer/model (e.g. 'zebra/zd421'). NOT an emulator and never says 'it works': reports the model's language posture with evidence level and size-rule findings.
| Argument | Type | Description |
|---|---|---|
| zpl* | string | Raw ZPL code |
| model* | string | Printer model slug, manufacturer/model, e.g. zebra/zd421 |
{
"type": "object",
"required": [
"zpl",
"model"
],
"properties": {
"zpl": {
"type": "string",
"description": "Raw ZPL code"
},
"model": {
"type": "string",
"description": "Printer model slug, manufacturer/model, e.g. zebra/zd421"
}
}
}Render ZPL label code and return the label as a PNG image. Use this to SEE what ZPL output looks like — LLMs can write ZPL but cannot otherwise verify the visual result. One call renders one label (use `index` to pick a label from a multi-label stream). The result also carries an 'Open this label in the Labelixa editor' link the user can click to edit, save or share the label.
| Argument | Type | Description |
|---|---|---|
| zpl* | string | ZPL source (^XA...^XZ) |
| dpmm | integer | Printer density (8 = 203 dpi) |
| index | integer | Label index in the stream |
| width_in | number | Label width, inches |
| height_in | number | Label height, inches |
{
"type": "object",
"required": [
"zpl"
],
"properties": {
"zpl": {
"type": "string",
"description": "ZPL source (^XA...^XZ)"
},
"dpmm": {
"enum": [
6,
8,
12,
24
],
"type": "integer",
"default": 8,
"description": "Printer density (8 = 203 dpi)"
},
"index": {
"type": "integer",
"default": 0,
"description": "Label index in the stream"
},
"width_in": {
"type": "number",
"default": 4,
"description": "Label width, inches"
},
"height_in": {
"type": "number",
"default": 6,
"description": "Label height, inches"
}
}
}Pass/fail lint for ZPL — machine-readable diagnostics with line/column, code and severity: unknown commands, missing ^FS, out-of-range parameters, fields outside the label. Fast; run it before zpl_preview whenever you generate or edit ZPL. For a human-readable report with a score, use explain_zpl instead.
| Argument | Type | Description |
|---|---|---|
| zpl* | string | ZPL source |
| dpmm | integer | Printer density (8 = 203 dpi). The boundary check measures against it — pass the real value. |
| width_in | number | Label width in inches. Fields outside it are reported, so a wrong size makes that finding wrong. |
| height_in | number | Label height in inches. Same as width_in: the boundary check depends on it. |
{
"type": "object",
"required": [
"zpl"
],
"properties": {
"zpl": {
"type": "string",
"description": "ZPL source"
},
"dpmm": {
"type": "integer",
"default": 8,
"description": "Printer density (8 = 203 dpi). The boundary check measures against it — pass the real value."
},
"width_in": {
"type": "number",
"default": 4,
"description": "Label width in inches. Fields outside it are reported, so a wrong size makes that finding wrong."
},
"height_in": {
"type": "number",
"default": 6,
"description": "Label height in inches. Same as width_in: the boundary check depends on it."
}
}
}