# ZPLPDF — ZPL to PDF

> ZPLPDF — ZPL to PDF is a freemium MCP server for files and documents. Validate, preview and convert Zebra ZPL labels to PDF from AI agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, VS Code, Web
- **Website:** https://zplpdf.com/mcp
- **MCP Registry name:** com.zplpdf/zpl-to-pdf
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), barcode labels
- **Listing updated:** 2026-11-27

## About

Developers and operations teams who generate Zebra label code can have their AI assistant check it, render it and export print-ready PDFs without leaving the editor. Validation counts labels, including ^PQ print quantities, flags unbalanced ^XA/^XZ blocks and reports syntax errors, and preview returns PNG images of up to two unique labels so the agent can look at the layout and barcodes.

Conversion is available once an mcp key is added to the connection. Converted files are returned as signed download links that expire after 15 minutes, and retries for the same content, label size, format and day are treated as one job so they do not consume quota twice. Rendering runs through Labelary, the same engine the ZPLPDF web converter uses.

The server connects over streamable HTTP and works with clients such as Claude Code, Cursor, VS Code and Windsurf. Conversions draw from the same monthly quota as the web app, so there is no separate MCP subscription.

## Features

- **Label syntax validation:** Checks ZPL for unbalanced ^XA/^XZ blocks and syntax errors and reports how many labels the code prints.
- **PNG label previews:** Renders up to two unique labels as images so an agent can inspect layout and barcodes.
- **ZPL to PDF conversion:** Converts label code to PDF, with PNG or JPEG ZIP output on higher-tier plans, and returns a signed download link.
- **Idempotent conversion retries:** Repeated requests with the same content, size, format and day are not charged twice.
- **Job status lookup:** Checks the state of an MCP conversion job and issues a fresh download link for it.
- **Quota check:** Shows the current plan, remaining monthly PDFs, labels-per-PDF limit and renewal date.

## Good for

- Check a shipping label template for syntax errors before printing a batch
- Turn generated ZPL from a script or agent into PDFs for a print workflow
- Preview a label visually inside the editor while writing or debugging ZPL
- Confirm remaining monthly conversion quota before starting a large job

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http zpl-to-pdf https://api.zplpdf.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "type": "http",
      "url": "https://api.zplpdf.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.zplpdf.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "url": "https://api.zplpdf.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "type": "http",
      "url": "https://api.zplpdf.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.zplpdf.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add zpl-to-pdf --url https://api.zplpdf.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.zpl-to-pdf]
url = "https://api.zplpdf.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "httpUrl": "https://api.zplpdf.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http zpl-to-pdf https://api.zplpdf.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "serverUrl": "https://api.zplpdf.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "url": "https://api.zplpdf.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "type": "streamableHttp",
      "url": "https://api.zplpdf.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "zpl-to-pdf": {
      "url": "https://api.zplpdf.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "url": "https://api.zplpdf.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "url": "https://api.zplpdf.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "url": "https://api.zplpdf.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.zplpdf.com/mcp
```

Enter a Name (for example "ZPLPDF — ZPL to PDF"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "zpl-to-pdf": {
      "type": "http",
      "url": "https://api.zplpdf.com/mcp"
    }
  }
}
```

## Tools

The server marks 1 of 5 tools as able to change data. From the server's own tool labels and tool names; not verified by us.

- `validate_zpl` (says read-only): Check ZPL syntax and count labels (copies from ^PQ included) without rendering. Free, no API key, no quota.
- `preview_zpl` (says read-only): Render up to 2 unique labels as PNG images to check how they look. No API key needed (rate limited); no quota used.
- `convert_zpl_to_pdf` (says it can change data): Convert ZPL labels to a PDF (or PNG/JPEG on Pro and above) and return a download URL valid for 15 minutes. Needs an API key with the "mcp" scope; uses 1 PDF of the monthly plan quota. Retrying the same ZPL the same day returns the same file without charging again. If it takes longer than ~25 s, returns a jobId to poll with get_conversion.
- `get_conversion` (says read-only): Status of a conversion started with convert_zpl_to_pdf, and a fresh download URL when it is completed. Needs an API key.
- `get_account_usage` (says read-only): Plan, PDFs left this billing period, labels allowed per PDF and renewal date of the account that owns the API key.

## FAQ

### Do I need an API key to use ZPLPDF — ZPL to PDF?

Validation and preview work without a key. Converting to PDF requires an mcp key added to the connection header.

### How long do download links last?

Signed PDF download URLs expire automatically after 15 minutes.

### Does the server store my label content?

The backend states that it does not log ZPL content or the Authorization key.

### Which MCP clients are supported?

Any MCP client that supports Streamable HTTP and the Authorization header, with setup examples given for Claude Code.

### Is ZPLPDF — ZPL to PDF free?

ZPLPDF — ZPL to PDF has a free plan, with paid plans for more usage or features.

### How do I add ZPLPDF — ZPL to PDF to Claude Code?

Run this command in your terminal: claude mcp add --transport http zpl-to-pdf https://api.zplpdf.com/mcp

### What are the best alternatives to ZPLPDF — ZPL to PDF?

The closest alternatives to ZPLPDF — ZPL to PDF are Cleverence Label, Cloudlabels, Ezpzfile, Pagepail: Image to PDF & PDF to Image Converter API and PodPDF.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Cleverence Label](https://ai-powered.com/mcp/cleverence-label): Cleverence Label is a freemium MCP server for 3d printing.
- [Cloudlabels](https://ai-powered.com/mcp/cloudlabels): Cloudlabels is a freemium MCP server for productivity.
- [Ezpzfile](https://ai-powered.com/mcp/ezpzfile): Ezpzfile is an open-source MCP server for files and documents.
- [Pagepail: Image to PDF & PDF to Image Converter API](https://ai-powered.com/mcp/pagepail-image-to-pdf-and-pdf-to-image-converter-api): Pagepail: Image to PDF & PDF to Image Converter API is a paid MCP server for files and documents.
- [PodPDF](https://ai-powered.com/mcp/podpdf): PodPDF is a freemium MCP server for files and documents.
- [PDF.dk](https://ai-powered.com/mcp/pdf-dk): PDF.dk is an MCP server for files and documents.
- [Promptready MCP](https://ai-powered.com/mcp/promptready-mcp): Promptready MCP is a freemium MCP server for files and documents.
- [pdfzen](https://ai-powered.com/mcp/pdfzen): pdfzen is a paid MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/zplpdf-zpl-to-pdf
