Renderoi ZPL:ää tekoälyavustajaltasi
OpenZPL puhuu Mallin Kontekstiprotokollasta. Yhdistä Claude, Cursor tai mikä tahansa MCP-asiakas, ja se voi muuttaa ZPL-etiketin PNG:ksi tai PDF:ksi — suoraan keskustelussa. Ei avainta, ei tiliä.
https://api.openzpl.com/mcp
Lisää se avustajaasi
Palvelin on etäinen ja tilaton, HTTP:n yli. Lisää se samalla tavalla kuin asiakkaasi lisää etäisen MCP-palvelimen:
claude mcp add --transport http openzpl https://api.openzpl.com/mcp
Kysy sitten: 'renderoi tämä ZPL ja näytä minulle etiketti'.
{
"mcpServers": {
"openzpl": { "url": "https://api.openzpl.com/mcp" }
}
}
Lisää tämä asiakkaasi MCP-konfiguraatioon, kuten Cursorin ~/.cursor/mcp.json.
npx -y mcp-remote https://api.openzpl.com/mcp
Paikallisia (stdio) palvelimia käyttävälle asiakkaalle tämä silta yhdistää sen etäpäähän.
Mitä se voi tehdä
Kolme vain renderöintiin tarkoitettua työkalua, joita tukee sama moottori kuin API:lla ja katselijalla. Se renderoi antamasi ZPL:n; se ei suunnittele etikettiä puolestasi.
| Työkalu | Mitä se tekee |
|---|---|
render_zpl | Renderoi etiketti PNG-kuvaksi ja näyttää sen. |
zpl_to_pdf | Renderoi ZPL:n PDF:ksi, yksi sivu per etiketti. |
preview_url | Laatii jaettavan linkin, joka renderöi etikettiä, kun se avataan selaimessa. |
Jokainen työkalu ottaa zpl, ja valinnaisen dpmm (6, 8, 12 tai 24), width_in / height_in tuumina ja rotation.
Kokeile sitä curl:n kanssa
Päätepiste on tavallinen JSON-RPC 2.0, joten voit kutsua sitä myös ilman avustajaa:
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"}}}'
Ilmainen kokeiltavaksi
Renderoinnit MCP:n yli ovat nimettömiä ja ilmaisia, ja ne lasketaan samaan käyttörajaan kuin API ilman avainta: 3 etikettiä päivässä IP-osoitetta kohden. Korkeampia rajoja varten, katso pricing; maksullinen suunnitelma MCP:n yli on tulossa.
Kysymykset
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.
Onko ZPL:ni tallennettu?
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.
Katso myös HTTP API docs ja comparison with mylabelmaker.