דלג לתוכן

הצג ZPL מעוזר הבינה המלאכותית שלך

OpenZPL מדבר את פרוטוקול הקשר של המודל. חבר את קלוד, קורסור או כל לקוח MCP והוא יכול להפוך תווית ZPL ל-PNG או PDF — ישירות בשיחה. ללא מפתח, ללא חשבון.

https://api.openzpl.com/mcp

הוסף אותו לעוזר שלך

השרת הוא מרוחק וללא מצב, על גבי HTTP. הוסף אותו כפי שהלקוח שלך מוסיף שרת MCP מרוחק:

claude mcp add --transport http openzpl https://api.openzpl.com/mcp

ואז שאל: "הצג את ה-ZPL הזה והראה לי את התווית".

{
  "mcpServers": {
    "openzpl": { "url": "https://api.openzpl.com/mcp" }
  }
}

הוסף את זה לקונפיגורציית MCP של הלקוח שלך, כמו של ~/.cursor/mcp.json.

npx -y mcp-remote https://api.openzpl.com/mcp

ללקוח שמריץ רק שרתי לוקאליים (stdio), הגשר הזה מחבר אותו לנקודת הקצה המרוחקת.

מה שהוא יכול לעשות

שלושה כלים רק להצגה, הנתמכים על ידי אותו מנוע כמו ה-API והצופה. הוא מציג את ה-ZPL שאתה נותן לו; הוא לא מעצב את התווית בשבילך.

כלימה זה עושה
render_zplמציג תווית כבתמונה בפורמט PNG ומציג אותה.
zpl_to_pdfמייצר את ה-ZPL ל-PDF, עמוד אחד לכל תווית.
preview_urlבונה קישור שניתן לשתף שמציג את התווית כאשר פותחים אותו בדפדפן.

כל כלי לוקח את zpl, ואת dpmm האופציונלי (6, 8, 12 או 24), width_in / height_in באינצ'ים ו-rotation.

נסה זאת עם cURL

נקודת הקצה היא JSON-RPC 2.0 פשוט, כך שתוכל לקרוא לה ללא עוזר גם כן:

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"}}}'

חינם לנסות

ההנפשה על פני MCP היא אנונימית וחינמית, ונחשבת נגד אותה הקצבה כמו ה-API ללא מפתח: 3 תוויות ביום לכל כתובת IP. למגבלות גבוהות יותר, ראה pricing; תכנית בתשלום עבור MCP בדרך.

שאלות

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 שלי שמור?

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.

ראה גם את HTTP API docs ו-comparison with mylabelmaker.

משוב