Verify barcode labels in agent mode
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally inside Continue with exact digits and leading zeros intact.
Barcode Scanner returns exact identifiers and symbologies so Continue can verify labels without guessing digits.
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally inside Continue with exact digits and leading zeros intact.
Place qrscan in ~/.continue/config.yaml for cn CLI or .continue/mcpServers/qrscan.yaml for IDE workspace setups.
Use cn -p with --allow scan_file for repeatable label checks while keeping product lookups in external systems.
Prepare the test image, copy the prompt and compare the returned output.
Generate 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.With the scanner active, Continue returns the exact identifier and its format instead of guessing.
Sample output for barcode-reference.png.
Setup options, barcode formats, leading zeros, local privacy and MIT licence.
No. Continue supports MCP servers without a skill folder, so you configure only the stdio MCP server (@qrcode-ai-com/qrcode-barcode-scanner-mcp) in YAML.
cn CLI loads mcpServers from ~/.continue/config.yaml and ignores workspace .continue/mcpServers/ files. IDE workspaces can store the configuration at .continue/mcpServers/qrscan.yaml.
The first npx launch fetches the MCP package and native decoder from npm, which can exceed Continue’s 20-second default. Setting 60,000 ms gives initial startup a full minute.
It decodes 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, alongside QR codes.
Yes. content.text is always returned as a verbatim string with leading zeros preserved, and EAN-13 reports also parse the 14-digit GS1 GTIN. No external retail, pricing or ISBN catalogue is queried.
Continue invokes MCP tools in agent mode only. For headless cn -p commands, explicitly authorise the tool with --allow scan_file alongside --config ~/.continue/config.yaml.
Remove the qrscan entry from ~/.continue/config.yaml or delete .continue/mcpServers/qrscan.yaml. Decoding runs locally on Node.js 22.19+ or 24+ under the MIT licence via @qrcode-ai-com/qrcode-barcode-scanner-mcp, separate from QR Code AI paid plans.
Review the official Continue setup documentation and the MIT scanner adapter contract.