Rendi ZPL dal tuo assistente AI
OpenZPL parla il Protocollo di Contesto del Modello. Collega Claude, Cursor o qualsiasi client MCP e può trasformare un'etichetta ZPL in un PNG o un PDF — direttamente nella chat. Nessuna chiave, nessun account.
https://api.openzpl.com/mcp
Aggiungilo al tuo assistente
Il server è remoto e privo di stato, tramite HTTP. Aggiungilo come il tuo cliente aggiunge un server MCP remoto:
claude mcp add --transport http openzpl https://api.openzpl.com/mcp
Poi chiedi: “renderizza questo ZPL e mostrami l'etichetta”.
{
"mcpServers": {
"openzpl": { "url": "https://api.openzpl.com/mcp" }
}
}
Aggiungi questo alla configurazione MCP del tuo cliente, come quella di Cursor ~/.cursor/mcp.json.
npx -y mcp-remote https://api.openzpl.com/mcp
Per un cliente che esegue solo server locali (stdio), questo ponte lo collega all'endpoint remoto.
Cosa può fare
Tre strumenti di sola renderizzazione, supportati dallo stesso motore dell'API e del visualizzatore. Rende il ZPL che fornisci; non progetta l'etichetta per te.
| Strumento | Cosa fa |
|---|---|
render_zpl | Rende un'etichetta in un'immagine PNG e la mostra. |
zpl_to_pdf | Rende il ZPL in un PDF, una pagina per etichetta. |
preview_url | Crea un collegamento condivisibile che visualizza l'etichetta quando aperto in un browser. |
Ogni strumento prende il zpl, e dpmm opzionale (6, 8, 12 o 24), width_in / height_in in pollici e rotation.
Provalo con curl
L'endpoint è un semplice JSON-RPC 2.0, quindi puoi chiamarlo senza assistente:
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"}}}'
Gratuito, con un watermark
Le renderizzazioni su MCP sono anonime e gratuite, quindi ognuna porta una piccola casella openzpl.com · free plan in un angolo e conta contro lo stesso limite giornaliero dell'API, per indirizzo IP. Per renderizzazioni pulite e limiti più alti, vedi pricing; un piano a pagamento su MCP è in arrivo.
Domande
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.
Il mio ZPL è salvato?
No. The label is rendered and returned; the server doesn't keep the ZPL.
Vedi anche HTTP API docs e comparison with mylabelmaker.