Verify barcode test fixtures
Read Code 128, EAN-13, UPC-A and 2D fixtures locally inside Cursor with exact digits and leading zeros kept intact.
Barcode Scanner outputs exact identifiers and symbologies so Cursor can verify labels without guessing digits.
Read Code 128, EAN-13, UPC-A and 2D fixtures locally inside Cursor with exact digits and leading zeros kept intact.
Leave scan_image bytes-only by default, or allow fixture folders explicitly under QRSCAN_MCP_ALLOWED_DIRECTORIES.
Clone the local plugin bundle to pair qrscan MCP with SKILL.md safeguards that keep product lookups separate.
Provide the reference image, copy the prompt and verify the decoded output.
Create a Code 128 barcode encoding 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 rather than guessing.
Sample result for barcode-reference.png.
Install paths, barcode symbologies, leading zeros, local privacy and MIT licence.
Paste the mcpServers.qrscan block into your Cursor mcp.json file, click Cursor's official MCP install link inside the setup panel, or clone qrcode-barcode-scanner-plugin into ~/.cursor/plugins/local/qrcode-barcode-scanner and reload.
Out of the box, qrscan exposes scan_image (base64 bytes) and never fetches URLs. Add "env": { "QRSCAN_MCP_ALLOWED_DIRECTORIES": "/absolute/path/to/labels" } inside the qrscan config 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, along with QR codes.
Yes. content.text is always emitted as an exact text string so leading zeros stay intact, and EAN-13 outputs also include the 14-digit GS1 GTIN. Zero external retail, pricing or ISBN databases are queried.
Every detected symbol appears together inside detections, each carrying its symbology and content.text. Check each item's symbology rather than assuming index 0 holds the barcode.
Remove the qrscan entry from mcp.json. If you cloned the local plugin, delete ~/.cursor/plugins/local/qrcode-barcode-scanner and reload the Cursor window.
Image decoding runs locally on your machine under Node.js 22.19+ or 24+ (Cursor still sends conversation text to your chosen LLM). Current releases are free and open-source under the MIT licence, separate from QR Code AI paid plans.
Review the official Cursor setup repository and the MIT scanner adapter specification.