আপনার এআই সহায়ক থেকে ZPL রেন্ডার করুন
OpenZPL মডেল কনটেক্সট প্রোটোকল কথা বলে। Claude, Cursor বা যেকোনো 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-এর ~/.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 (৬, ৮, ১২ বা ২৪), ইঞ্চিতে 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"}}}'
চেষ্টা করার জন্য মুক্ত
এমসিপির মাধ্যমে সম্পাদনা গ anonymous ত এবং মুক্ত, এবং এটি একটি কীগুলি ছাড়াই এপিআইয়ের মতো একই সীমার বিরুদ্ধে গণনা করে: প্রতি আইপি ঠিকানায় প্রতিদিন 3 লেবেল। উচ্চ সীমাগুলোর জন্য, pricing দেখুন; এমসিপির উপর একটি পেইড পরিকল্পনা আসছে।
প্রশ্ন
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।