Factory Droid Barcode Scanner Plugin

Equip Factory Droid with a real local barcode decoder. It reads 16 1D and 2D barcode formats and returns exact identifiers with leading zeros intact.

Install the Factory Droid plugin

Requires Node.js 22.19+ or 24+.

  1. 1

    Run both commands to install the pinned plugin release v0.3.4 across all projects (pass --scope project for .factory/settings.json, or substitute a newer tag from GitHub Releases).

    Shell
    droid plugin marketplace add 'qrcode-ai-com/qrcode-barcode-scanner-plugin#v0.3.4'
    droid plugin install qrcode-barcode-scanner@qrcode-barcode-scanner-plugin@v0.3.4 --scope user
  2. 2

    Optionally export QRSCAN_MCP_ALLOWED_DIRECTORIES=/absolute/path/to/images before launching droid to enable scan_file.

  3. 3

    Try it out. Ask Factory Droid:

    Decode the Code 128 barcode in barcode-reference.png and return the exact value with leading zeros intact.

Installs both the scanner skill and stdio MCP server. Factory treats scan_image and scan_file as read tools allowed by default.

Check latest release tag

Use a decoded barcode in your Factory Droid workflow

Barcode Scanner returns exact identifiers and symbologies so Factory Droid can verify labels without guessing digits.

Verify barcode fixtures in droid

Decode Code 128, EAN-13, UPC-A and 2D label images locally in droid with exact digits and leading zeros preserved.

User or project plugin scope

Install globally with --scope user, or scope the plugin to a single repo’s .factory/settings.json via --scope project.

Headless BYOK droid exec

Run droid exec with your own model key and keep barcode decoding decoupled from external product or inventory lookups.

Test a barcode image in Factory Droid

Prepare the test image, copy the prompt and compare the returned output.

barcode-reference.png

Generate a Code 128 barcode encoding STOCK-4827 and save it as barcode-reference.png.

Ask Factory Droid to decode it

Text
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.
Expected output · Code 128
STOCK-4827

With the scanner active, Factory Droid returns the exact identifier and its format instead of guessing.

Sample output for barcode-reference.png.

Factory Droid Barcode Scanner Plugin questions

Setup options, barcode formats, leading zeros, local privacy and MIT licence.

Check the latest tag on GitHub Releases, then run droid plugin marketplace add and droid plugin install with --scope user or --scope project (.factory/settings.json).

Export QRSCAN_MCP_ALLOWED_DIRECTORIES with your permitted label directories before launching droid. Factory forwards its environment to qrscan and allows both scan_image and scan_file as read tools.

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 intact, and EAN-13 reports also parse the 14-digit GS1 GTIN. No external retail, pricing or ISBN catalogue is queried.

Yes. droid plugin commands and droid exec need no Factory sign-in when configured with a custom BYOK model and your own API key.

Manage marketplace auto-updates in /plugins inside interactive droid. Uninstall via droid plugin uninstall and droid plugin marketplace remove, then clear empty cache directories under ~/.factory/plugins/cache/.

Decoding runs locally on Node.js 22.19+ or 24+ (Factory sends conversation text to your chosen LLM). Current plugin, skill, MCP server and engine releases are free and MIT-licensed, separate from QR Code AI paid plans.

Factory Droid setup and Barcode Scanner references

Review the official Factory Droid setup documentation and the MIT scanner adapter contract.