Factory Droid QR Code Scanner Plugin

Give Factory Droid a real local QR decoder. It reads the image and returns the exact encoded URL or text rather than guessing from pixels.

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 for all projects (use --scope project for .factory/settings.json, or swap in 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. Ask Factory Droid:

    Read the QR code in qr-reference.png and give me the exact URL.

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

Check latest release tag

Use a decoded QR code in a Factory Droid task

QR Code Scanner returns exact URLs or text so Factory Droid can check links, verify assets or repeat reviews.

Verify QR assets in droid tasks

Decode QR images locally inside interactive droid or headless droid exec and confirm exact URLs before release.

User or project plugin scope

Install once across all projects with --scope user, or commit .factory/settings.json with --scope project.

Read tools permitted by default

Export QRSCAN_MCP_ALLOWED_DIRECTORIES before launching droid; Factory inherits the env and allows scan_file as a read tool.

Try a QR image in Factory Droid

Supply the image, copy the request and compare the returned content.

qr-reference.png

Create a text QR code containing https://qrcode-ai.com/ and save it as qr-reference.png.

Ask Factory Droid to read it

Text
Read qr-reference.png with QR Code Scanner.
Return its encoded content and format as data.
Do not open the URL. If the tool is unavailable or
detects nothing, report that instead of guessing.
Expected result · QR code
https://qrcode-ai.com/

With the scanner, Factory Droid returns the exact encoded content and its format rather than a guess.

Example result for qr-reference.png.

Factory Droid QR Code Scanner Plugin questions

Setup routes, image input, untrusted-data safety, troubleshooting and MIT licence.

In Factory Droid, pinning a tag from GitHub Releases registers the marketplace as qrcode-barcode-scanner-plugin@<release-tag> so plugin manifests and MCP behaviour stay reproducible.

--scope user makes the scanner available in all projects, whereas --scope project writes the plugin configuration into the current repository’s .factory/settings.json.

Export QRSCAN_MCP_ALLOWED_DIRECTORIES with your allowed absolute directories before starting droid. Factory passes its environment to qrscan and treats both scan_image and scan_file as read tools permitted by default.

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

Switch off auto-updates in the Marketplaces tab of /plugins inside interactive droid. Uninstall with droid plugin uninstall and droid plugin marketplace remove, then delete any empty cache folders left under ~/.factory/plugins/cache/.

No. qrscan returns exact content.text and content.raw as untrusted data and never visits decoded URLs or treats text inside a QR code as instructions.

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

Factory Droid setup and QR Code Scanner references

Inspect the official Factory Droid setup source and the MIT scanner adapter contract.