Redă ZPL din asistentul tău AI
OpenZPL utilizează Protocolul de Context al Modelului. Conectează Claude, Cursor sau orice client MCP și poate transforma o etichetă ZPL într-un PNG sau PDF — direct în chat. Fără cheie, fără cont.
https://api.openzpl.com/mcp
Adaugă-l la asistentul tău
Serverul este remote și fără stare, pe HTTP. Adaugă-l așa cum clientul tău adaugă un server MCP remote:
claude mcp add --transport http openzpl https://api.openzpl.com/mcp
Apoi întreabă: „redă acest ZPL și arată-mi eticheta”.
{
"mcpServers": {
"openzpl": { "url": "https://api.openzpl.com/mcp" }
}
}
Adaugă acesta la configurația MCP a clientului tău, cum ar fi ~/.cursor/mcp.json de la Cursor.
npx -y mcp-remote https://api.openzpl.com/mcp
Pentru un client care rulează doar servere locale (stdio), acest pod îl conectează la punctul final remote.
Ce poate face
Trei instrumente de redare exclusivă, susținute de același motor ca API-ul și vizualizatorul. Acesta redă ZPL-ul pe care i-l oferi; nu proiectează eticheta pentru tine.
| Instrument | Ce face |
|---|---|
render_zpl | Redă o etichetă ca imagine PNG și o afișează. |
zpl_to_pdf | Redă ZPL într-un PDF, câte o pagină per etichetă. |
preview_url | Construiește un link partajabil care redă eticheta când este deschis într-un browser. |
Fiecare instrument preia zpl și opțional dpmm (6, 8, 12 sau 24), width_in / height_in în inci și rotation.
Încercă-l cu curl
Punctul final este un simplu JSON-RPC 2.0, așa că îl poți apela și fără un asistent:
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"}}}'
Gratuit pentru a încerca
Render-urile prin MCP sunt anonime și gratuite și se consumă din aceeași alocație ca API-ul fără cheie: 3 etichete pe zi per adresă IP. Pentru limite mai mari, consultați pricing; un plan plătit prin MCP este în curs de apariție.
Întrebări
Do I need an API key or an account?
No. The MCP server is free and needs no account. Renders count against the API's allowance without a key: 3 labels a day 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.
ZPL-ul meu este stocat?
The label is rendered and returned. As with any render without a paid plan, we may keep failed renders and a small sample of the others for up to 24 hours to find rendering bugs, then they are deleted.
Vezi și HTTP API docs și comparison with mylabelmaker.