# Labelixa [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/Labelixa/labelixa-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 851  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/labelixa-2

## Description
Thermal label MCP server: render, validate, debug and convert ZPL, EPL, TSPL and CPCL labels.

## Tools
Capabilities this server exposes over MCP:

- **zpl_preview** — Render ZPL label code to a PNG image via the Labelixa API. This is a SERVER-SIDE render for inspection — it is not a guarantee of how a specific physical printer will output the label.
- **zpl_validate** — Pass/fail lint for ZPL: machine-readable diagnostics with line/column, code and severity (unknown commands, parameter range errors, layout overflow). Fast; run it before zpl_preview whenever you generate or edit ZPL. For a human-readable report with a score use explain_zpl instead. Pass the real label size — checks depend on it.
- **barcode_generate** — Generate a standalone barcode (SVG text or PNG image). Supported types include code128, code39, ean13, upca, upce, itf14, msi, qrcode, datamatrix, pdf417.
- **language_detect** — 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.
- **epl_validate** — Lint/validate EPL/EPL2 label code and return the structured diagnostics report (findings with positions and severity) as JSON.
- **tspl_validate** — Lint/validate TSPL/TSPL2 label code and return the structured diagnostics report (findings with positions and severity) as JSON.
- **cpcl_validate** — Lint/validate CPCL label code and return the structured diagnostics report (findings with positions and severity) as JSON.
- **zpl_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, size-rule findings and the scope of our preview.
- **zpl_command_help** — Look up one ZPL command in the maintained catalog: name, syntax, parameters (types, ranges, defaults) and whether the preview engine actually renders it — printer-side commands are honestly marked as not rendered.
- **convert_zpl_dpi** — Rescale ZPL coordinates between printer resolutions (203/300/600 dpi). Embedded ^GF/~DG bitmap data is NOT rescaled — when present, a Warnings block precedes the output instead of silently passing.
- **explain_zpl** — Human-readable health REPORT for a finished ZPL label with a 0-100 score, sectioned (syntax, size/DPI, orientation, barcodes, fonts, memory): only assessable sections count, the rest say 'not assessed'. Use it to review or explain a label to a person; for a quick pass/fail check while editing use zpl_validate. Pass the real label size — findings depend on it.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "labelixa": {
    "command": "npx",
    "args": ["-y","labelixa-mcp"],
    "env": {
      "LABELIXA_API_KEY": "",
      "LABELIXA_BASE_URL": ""
    }
  }
}
```

**Requires environment variables:** `LABELIXA_API_KEY`, `LABELIXA_BASE_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Labelixa MCP server does

Labelixa MCP server provides MCP access to tools for developing and checking thermal-printer labels. The local package covers four printer languages: ZPL, EPL, TSPL, and CPCL. Its capabilities include ZPL image rendering, structured linting, language detection, barcode generation, command reference lookup, printer compatibility analysis, DPI conversion, and human-readable ZPL health reports.

The package sends tool requests to the Labelixa REST API. It is intended for use from an MCP-compatible developer tool or assistant that needs to create, review, or troubleshoot raw printer-language code. The remote endpoint exposes a larger set of features, including additional rendering, templates, bulk jobs, image conversion, barcode reading, and language conversion tools.

## How it works

The package runs as a local stdio process, launched directly with npm or through `npx`. A remote alternative is available at `https://api.labelixa.com/mcp` over stateless Streamable HTTP. Anonymous requests can use the service's rate-limited quota; an `lbx_` API key uses the associated account quota.

For ZPL, `zpl_validate` returns machine-readable findings such as unknown commands, invalid parameter ranges, and layout overflow. `explain_zpl` instead produces a scored, sectioned report covering areas such as syntax, size and DPI, orientation, barcodes, fonts, and memory. Both validation approaches depend on the actual label dimensions.

`zpl_preview` produces a PNG through server-side rendering. It should be treated as an inspection image, not as a prediction of physical output under every printer, media, or darkness setting. Compatibility analysis similarly reports risk and evidence for a named manufacturer and model; it is not printer emulation.

## Setup and configuration

Install globally with:

```sh
npm install -g labelixa-mcp
```

Alternatively, configure an MCP client to run `npx -y labelixa-mcp`, optionally supplying the API key through the environment. The remote endpoint requires no package installation and can be configured with a URL and optional authorization header.

Configuration variables:

- `LABELIXA_API_KEY`: Optional `lbx_` key. Without it, anonymous quota rules apply.
- `LABELIXA_BASE_URL`: Optional API base URL, defaulting to `https://api.labelixa.com`.

The package rejects invalid numeric inputs before making a request. Supported `dpmm` values are 6, 8, 12, and 24; label dimensions must be finite, greater than zero, and no more than 15 inches. Accepted DPI values are 152, 203, 300, and 600.

## Tools and capabilities

- Render ZPL as PNG for visual inspection.
- Validate ZPL, EPL/EPL2, TSPL/TSPL2, and CPCL with positioned severity findings.
- Generate standalone SVG or PNG barcodes, including Code 128, Code 39, EAN-13, UPC variants, ITF-14, MSI, QR Code, Data Matrix, and PDF417.
- Detect ZPL, EPL, TSPL, or CPCL using a confidence tier and signal codes.
- Look up ZPL syntax, parameter constraints, defaults, and preview support; command help can translate descriptions into English, Turkish, or German.
- Analyze ZPL against a specified printer model and rescale coordinates between 203, 300, and 600 DPI.

## Limitations and notes

The local package does not provide the remote server's extra EPL, TSPL, or CPCL preview functions, label templates, bulk generation, image-to-ZPL conversion, barcode reading from photos, or SBPL, DPL, and IPL conversion to ZPL. DPI conversion does not rescale embedded `^GF` or `~DG` bitmap data; it reports a warning when such data is present. Printer compatibility results describe risk and language posture rather than confirming that a label will print successfully. The package is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/labelixa-2/readme_

