Rendern Sie ZPL von Ihrem KI-Assistenten
OpenZPL spricht das Model Context Protocol. Verbinden Sie Claude, Cursor oder einen beliebigen MCP-Client und er kann ein ZPL-Etikett in ein PNG oder ein PDF umwandeln – direkt im Chat. Kein Schlüssel, kein Konto.
https://api.openzpl.com/mcp
Fügen Sie es Ihrem Assistenten hinzu
Der Server ist remote und zustandslos, über HTTP. Fügen Sie ihn so hinzu, wie Ihr Client einen Remote-MCP-Server hinzufügt:
claude mcp add --transport http openzpl https://api.openzpl.com/mcp
Dann fragen Sie: „Rendern Sie dieses ZPL und zeigen Sie mir das Etikett“.
{
"mcpServers": {
"openzpl": { "url": "https://api.openzpl.com/mcp" }
}
}
Fügen Sie dies zur MCP-Konfiguration Ihres Clients hinzu, wie bei Cursor's ~/.cursor/mcp.json.
npx -y mcp-remote https://api.openzpl.com/mcp
Für einen Client, der nur lokale (stdio) Server ausführt, verbindet diese Brücke ihn mit dem Remote-Endpunkt.
Was es tun kann
Drei rein rendernde Tools, unterstützt von der gleichen Engine wie die API und der Viewer. Es rendert das ZPL, das Sie ihm geben; es gestaltet das Etikett nicht für Sie.
| Werkzeug | Was es tut |
|---|---|
render_zpl | Rendert ein Etikett als PNG-Bild und zeigt es an. |
zpl_to_pdf | Rendert das ZPL zu einem PDF, eine Seite pro Etikett. |
preview_url | Erstellt einen teilbaren Link, der das Etikett anzeigt, wenn es in einem Browser geöffnet wird. |
Jedes Tool benötigt das zpl, sowie optional dpmm (6, 8, 12 oder 24), width_in / height_in in Zoll und rotation.
Probieren Sie es mit cURL
Der Endpunkt ist einfaches JSON-RPC 2.0, so dass Sie ihn auch ohne Assistenten aufrufen können:
curl -s https://api.openzpl.com/mcp -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"render_zpl",
"arguments":{"zpl":"^XA^FO50,50^ADN,36,20^FDHi^FS^XZ"}}}'
Kostenlos, mit Wasserzeichen
Renders über MCP sind anonym und kostenlos, daher trägt jeder eine kleine openzpl.com · free plan Box in einer Ecke und zählt gegen das gleiche tägliche Kontingent wie die API, pro IP-Adresse. Für saubere Renderings und höhere Limits siehe pricing; ein kostenpflichtiger Plan über MCP kommt.
Fragen
Do I need an API key or an account?
No. The MCP server is free and needs no account. Renders use the free plan, so they carry a small openzpl.com mark and count against the same daily allowance as the API, per IP address.
Which assistants can use it?
Any client that speaks the Model Context Protocol over HTTP, such as Claude or Cursor. Point it at https://api.openzpl.com/mcp; for a client that only runs local servers, bridge it with npx mcp-remote https://api.openzpl.com/mcp.
What can it do?
Three tools: render a label to a PNG image, render it to a PDF, or build a shareable preview link. It renders the ZPL you give it; it doesn't design the label for you.
Ist mein ZPL gespeichert?
No. The label is rendered and returned; the server doesn't keep the ZPL.
Siehe auch HTTP API docs und comparison with mylabelmaker.