Verify barcode test fixtures
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally inside Cursor with exact digits and leading zeros kept intact.
Barcode Scanner hands back exact identifiers and symbologies so Cursor can verify labels without guessing digits.
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally inside Cursor with exact digits and leading zeros kept intact.
Keep scan_image bytes-only by default, or allow fixture directories explicitly via QRSCAN_MCP_ALLOWED_DIRECTORIES.
Clone the local plugin bundle to pair qrscan MCP with SKILL.md guardrails that keep product lookups separate.
Provide the image, copy the prompt and check the decoded content against the original.
Create a Code 128 barcode holding STOCK-4827 and save it as barcode-reference.png.
Read barcode-reference.png with Barcode Scanner.
Return the complete identifier as text and its format.
Preserve leading zeros. Do not run external lookups.
If the tool is unavailable or detects nothing, report that
instead of guessing.Using the scanner, Cursor outputs the exact identifier and symbology instead of guessing.
Sample output for barcode-reference.png.
Setup routes, barcode formats, leading zeros, local privacy and MIT licence.
Add the mcpServers.qrscan entry to your Cursor mcp.json, click Cursor's official MCP install link in the setup panel above, or clone qrcode-barcode-scanner-plugin into ~/.cursor/plugins/local/qrcode-barcode-scanner and reload.
qrscan exposes scan_image (base64 bytes) by default and never downloads URLs. Add "env": { "QRSCAN_MCP_ALLOWED_DIRECTORIES": "/absolute/path/to/labels" } to your qrscan entry and reload Cursor to turn on scan_file.
It reads 16 barcode symbologies: Code 128, Code 39, Code 93, EAN-13 (including ISBN), EAN-8, UPC-A, UPC-E, ITF, Codabar, Telepen, GS1 DataBar, GS1 DataBar Expanded, Data Matrix, PDF417, Aztec and MaxiCode, plus QR codes.
Yes. content.text is always returned as an exact text string so leading zeros stay intact, and EAN-13 reports also include the 14-digit GS1 GTIN. Zero external retail, pricing or ISBN databases are queried.
Every detected symbol returns together inside detections, each with its symbology and content.text. Check each entry's symbology rather than assuming index 0 is the barcode.
Delete the qrscan block from mcp.json. If you cloned the local plugin, remove ~/.cursor/plugins/local/qrcode-barcode-scanner and reload the Cursor window.
Decoding runs locally on your machine using Node.js 22.19+ or 24+ (Cursor still sends conversation text to your configured LLM). Current releases are free under the MIT licence, independent of QR Code AI paid plans.
Check the official Cursor setup source and the MIT scanner adapter specification.