MCP-Server

Labelixa

com.labelixa/zpl
Entwicklertools IoT & Hardware Öffentlich und erreichbar MCP 2026-07-28

Was dieses MCP kann

Renders, validates, converts, explains, and checks compatibility for ZPL, EPL, TSPL, and CPCL thermal-printer labels.

barcode_png
Generate barcode PNG
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.
Nur Lesen Idempotent
Eingabeschema
{'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...)'}}}
barcode_verify
Read back barcodes from an image
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['image_base64'], 'properties': {'image_base64': {'type': 'string', 'description': 'Base64-encoded image bytes'}}}
bulk_list
List bulk jobs
List your recent bulk jobs (id, state, error class, timestamps), newest first. Useful to recover a lost job id; details via bulk_status.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {'limit': {'type': 'integer', 'description': 'Max jobs to return (default 50)'}}}
bulk_status
Bulk job status
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['job_id'], 'properties': {'job_id': {'type': 'string', 'description': 'Job id from bulk_submit'}}}
bulk_submit
Submit bulk label job
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).
Eingabeschema
{'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'}}}
convert_zpl_dpi
Convert ZPL DPI
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.
Nur Lesen Idempotent
Eingabeschema
{'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.'}}}
cpcl_preview
Render CPCL label
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['cpcl'], 'properties': {'cpcl': {'type': 'string', 'description': 'Raw CPCL code'}, 'index': {'type': 'integer', 'default': 0, 'description': 'Label index in the stream'}}}
cpcl_validate
Validate CPCL
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['cpcl'], 'properties': {'cpcl': {'type': 'string', 'description': 'Raw CPCL code'}}}
Ausgabeschema
{'type': 'object', 'required': ['diagnostics', 'ozet'], 'properties': {'ozet': {'type': 'object', 'required': ['toplam', 'error', 'warning', 'info'], 'properties': {'info': {'type': 'integer'}, 'error': {'type': 'integer'}, 'toplam': {'type': 'integer'}, 'warning': {'type': 'integer'}}}, 'diagnostics': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'severity', 'line', 'col'], 'properties': {'col': {'type': 'integer'}, 'code': {'type': 'string', 'description': 'Stable diagnostic code, e.g. ZPL0002'}, 'line': {'type': 'integer'}, 'mesaj': {'type': 'string', 'description': 'Human-readable message in the requested language'}, 'end_col': {'type': 'integer'}, 'end_line': {'type': 'integer'}, 'severity': {'enum': ['error', 'warning', 'info'], 'type': 'string'}, 'message_key': {'type': 'string', 'description': 'i18n key for the message'}}}}}}
epl_preview
Render EPL label
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['epl'], 'properties': {'epl': {'type': 'string', 'description': 'Raw EPL/EPL2 code'}, 'index': {'type': 'integer', 'default': 0, 'description': 'Label index in the stream'}}}
epl_validate
Validate EPL
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['epl'], 'properties': {'epl': {'type': 'string', 'description': 'Raw EPL/EPL2 code'}}}
Ausgabeschema
{'type': 'object', 'required': ['diagnostics', 'ozet'], 'properties': {'ozet': {'type': 'object', 'required': ['toplam', 'error', 'warning', 'info'], 'properties': {'info': {'type': 'integer'}, 'error': {'type': 'integer'}, 'toplam': {'type': 'integer'}, 'warning': {'type': 'integer'}}}, 'diagnostics': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'severity', 'line', 'col'], 'properties': {'col': {'type': 'integer'}, 'code': {'type': 'string', 'description': 'Stable diagnostic code, e.g. ZPL0002'}, 'line': {'type': 'integer'}, 'mesaj': {'type': 'string', 'description': 'Human-readable message in the requested language'}, 'end_col': {'type': 'integer'}, 'end_line': {'type': 'integer'}, 'severity': {'enum': ['error', 'warning', 'info'], 'type': 'string'}, 'message_key': {'type': 'string', 'description': 'i18n key for the message'}}}}}}
explain_zpl
Explain ZPL health report
Full health report for a ZPL label: sectioned findings (syntax, size/DPI, orientation, barcodes, fonts, graphics memory, job behaviour) with an honest score — sections that cannot be assessed say so and are excluded from the score.
Nur Lesen Idempotent
Eingabeschema
{'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.'}}}
image_to_zpl
Convert image to ZPL
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).
Nur Lesen Idempotent
Eingabeschema
{'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'}}}
language_detect
Detect printer language
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['code'], 'properties': {'code': {'type': 'string', 'description': 'Raw label code to classify'}}}
Ausgabeschema
{'type': 'object', 'required': ['dil', 'guven', 'puanlar'], 'properties': {'dil': {'type': 'string', 'description': 'Detected printer language'}, 'guven': {'type': 'string', 'description': 'Confidence level'}, 'karma': {'type': 'boolean', 'description': 'True when the input mixes languages'}, 'puanlar': {'type': 'object', 'description': 'Per-language score', 'additionalProperties': {'type': 'integer'}}, 'kanitlar': {'type': 'array', 'items': {'type': 'object', 'properties': {'kod': {'type': 'string'}, 'satir': {'type': 'integer'}}}}}}
template_get
Get label template
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).
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['template_id'], 'properties': {'template_id': {'type': 'string', 'description': 'Template id from template_list'}}}
template_list
List label templates
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'properties': {'search': {'type': 'string', 'description': 'Substring match on id/tags'}, 'category': {'enum': ['kargo', 'urun', 'raf', 'palet', 'qr'], 'type': 'string', 'description': 'Filter by category'}}}
tspl_preview
Render TSPL label
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['tspl'], 'properties': {'tspl': {'type': 'string', 'description': 'Raw TSPL/TSPL2 code'}, 'index': {'type': 'integer', 'default': 0, 'description': 'Label index in the stream'}}}
tspl_validate
Validate TSPL
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.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'required': ['tspl'], 'properties': {'tspl': {'type': 'string', 'description': 'Raw TSPL/TSPL2 code'}}}
Ausgabeschema
{'type': 'object', 'required': ['diagnostics', 'ozet'], 'properties': {'ozet': {'type': 'object', 'required': ['toplam', 'error', 'warning', 'info'], 'properties': {'info': {'type': 'integer'}, 'error': {'type': 'integer'}, 'toplam': {'type': 'integer'}, 'warning': {'type': 'integer'}}}, 'diagnostics': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'severity', 'line', 'col'], 'properties': {'col': {'type': 'integer'}, 'code': {'type': 'string', 'description': 'Stable diagnostic code, e.g. ZPL0002'}, 'line': {'type': 'integer'}, 'mesaj': {'type': 'string', 'description': 'Human-readable message in the requested language'}, 'end_col': {'type': 'integer'}, 'end_line': {'type': 'integer'}, 'severity': {'enum': ['error', 'warning', 'info'], 'type': 'string'}, 'message_key': {'type': 'string', 'description': 'i18n key for the message'}}}}}}
zpl_command_help
ZPL command help
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.
Nur Lesen Idempotent
Eingabeschema
{'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'}}}
zpl_compatibility
Check printer compatibility
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.
Nur Lesen Idempotent
Eingabeschema
{'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'}}}
zpl_preview
Render ZPL label
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.
Nur Lesen Idempotent
Eingabeschema
{'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'}}}
zpl_validate
Validate ZPL
Lint ZPL code and return structured diagnostics: unknown commands, missing ^FS, out-of-range parameters, fields outside the label boundary. Run this before zpl_preview when generating ZPL.
Nur Lesen Idempotent
Eingabeschema
{'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.'}}}
Ausgabeschema
{'type': 'object', 'required': ['diagnostics', 'ozet'], 'properties': {'ozet': {'type': 'object', 'required': ['toplam', 'error', 'warning', 'info'], 'properties': {'info': {'type': 'integer'}, 'error': {'type': 'integer'}, 'toplam': {'type': 'integer'}, 'warning': {'type': 'integer'}}}, 'rfid': {'type': 'array', 'items': {'type': 'object'}}, 'alanlar': {'type': 'array', 'items': {'type': 'object', 'properties': {'x': {'type': 'integer'}, 'y': {'type': 'integer'}, 'line': {'type': 'integer'}}}}, 'diagnostics': {'type': 'array', 'items': {'type': 'object', 'required': ['code', 'severity', 'line', 'col'], 'properties': {'col': {'type': 'integer'}, 'code': {'type': 'string', 'description': 'Stable diagnostic code, e.g. ZPL0002'}, 'line': {'type': 'integer'}, 'mesaj': {'type': 'string', 'description': 'Human-readable message in the requested language'}, 'end_col': {'type': 'integer'}, 'end_line': {'type': 'integer'}, 'severity': {'enum': ['error', 'warning', 'info'], 'type': 'string'}, 'message_key': {'type': 'string', 'description': 'i18n key for the message'}}}}}}
Geändert
zpl_preview
1. October 2026 02:53
Geändert
cpcl_validate
21. September 2026 03:00
Geändert
tspl_validate
21. September 2026 03:00
Geändert
epl_validate
21. September 2026 03:00
Geändert
language_detect
21. September 2026 03:00
Geändert
zpl_validate
21. September 2026 03:00
Geändert
zpl_command_help
19. September 2026 02:51
Hinzugefügt
bulk_list
17. September 2026 12:35
Hinzugefügt
bulk_status
17. September 2026 12:35
Hinzugefügt
bulk_submit
17. September 2026 12:35
Hinzugefügt
zpl_compatibility
17. September 2026 12:35
Hinzugefügt
barcode_verify
17. September 2026 12:35
Hinzugefügt
image_to_zpl
17. September 2026 12:35
Hinzugefügt
cpcl_preview
17. September 2026 12:35
Hinzugefügt
tspl_preview
17. September 2026 12:35
Hinzugefügt
epl_preview
17. September 2026 12:35
Hinzugefügt
template_get
17. September 2026 12:35
Hinzugefügt
template_list
17. September 2026 12:35
Hinzugefügt
convert_zpl_dpi
17. September 2026 12:35
Hinzugefügt
explain_zpl
17. September 2026 12:35
Hinzugefügt
cpcl_validate
17. September 2026 12:35
Hinzugefügt
tspl_validate
17. September 2026 12:35
Hinzugefügt
epl_validate
17. September 2026 12:35
Hinzugefügt
language_detect
17. September 2026 12:35
Hinzugefügt
barcode_png
17. September 2026 12:35
Hinzugefügt
zpl_command_help
17. September 2026 12:35
Hinzugefügt
zpl_validate
17. September 2026 12:35
Hinzugefügt
zpl_preview
17. September 2026 12:35