Verify barcode labels in Copilot CLI
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally with exact digits and leading zeros preserved.
Barcode Scanner returns exact identifiers and symbologies so GitHub Copilot can check labels without guessing digits.
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally with exact digits and leading zeros preserved.
Exposes scan_image (bytes) by default and enables scan_file only inside QRSCAN_MCP_ALLOWED_DIRECTORIES.
Pairs MCP with SKILL.md so identifiers stay verbatim strings without external retail or stock API calls.
Supply the image, copy the request and compare the returned content.
Create a Code 128 barcode containing 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.With the scanner, GitHub Copilot returns the exact identifier and its format rather than a guess.
Example result for barcode-reference.png.
Setup routes, barcode formats, leading zeros, local privacy and MIT licence.
Run copilot plugin marketplace add qrcode-ai-com/qrcode-barcode-scanner-plugin followed by copilot plugin install qrcode-barcode-scanner@qrcode-ai-com.
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 a verbatim string so leading zeros stay intact, and EAN-13 reports also parse the 14-digit GS1 GTIN. No external retail, pricing or ISBN database is queried.
By default qrscan exposes scan_image (base64 bytes) only. Set QRSCAN_MCP_ALLOWED_DIRECTORIES in the server env and restart Copilot CLI to enable scan_file for your allowed directories.
Both detections come back in one JSON report, each labelled with its symbology and exact content.text. Check each detection’s symbology rather than assuming index 0 is the barcode.
Run copilot plugin uninstall qrcode-barcode-scanner followed by copilot plugin marketplace remove qrcode-ai-com.
Decoding runs locally on Node.js 22.19+ or 24+ (Copilot sends conversation text to your configured model). Current releases of qrcode-barcode-scanner-plugin on GitHub and its engine are free and MIT-licensed.
Inspect the official GitHub Copilot setup source and the MIT scanner adapter contract.