अपने AI सहायक से ZPL को रेंडर करें
OpenZPL मॉडल कंटेक्स्ट प्रोटोकॉल से बात करता है। क्लॉड, कर्सर या किसी भी MCP क्लाइंट को कनेक्ट करें और यह ZPL लेबल को PNG या PDF में बदल सकता है - सीधे चैट में। कोई कुंजी नहीं, कोई खाता नहीं।
https://api.openzpl.com/mcp
अपने सहायक में जोड़ें
सर्वर दूरस्थ और Stateless है, HTTP के ऊपर। इसे उस तरीके से जोड़ें जिस तरह आपका क्लाइंट एक दूरस्थ MCP सर्वर को जोड़ता है:
claude mcp add --transport http openzpl https://api.openzpl.com/mcp
फिर पूछें: “इस ZPL को रेंडर करें और मुझे लेबल दिखाएं”।
{
"mcpServers": {
"openzpl": { "url": "https://api.openzpl.com/mcp" }
}
}
अपने क्लाइंट की MCP कॉन्फ़िग में यह जोड़ें, जैसे कि Cursor का ~/.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 पर रेंडर अनाम और निःशुल्क हैं, और बिना कुंजी के एपीआई के समान राशि में गिने जाते हैं: प्रति आईपी पते पर 3 लेबल प्रति दिन। उच्च सीमाओं के लिए, 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 देखें।