Factory Droid QR Code Scanner Plugin

Equip Factory Droid with a real local QR decoder. It reads the image and returns the exact encoded URL or text without pixel guesswork.

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 QR code in qr-reference.png and return the exact URL.

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 QR code in your Factory Droid workflow

QR Code Scanner returns exact URLs or text so Factory Droid can verify links, inspect assets or run repeatable checks.

Verify QR assets in droid tasks

Decode QR images locally in interactive droid or headless droid exec and confirm exact URLs prior to release.

User or project plugin scope

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

Read tools allowed by default

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

Test a QR image in Factory Droid

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

qr-reference.png

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

Ask Factory Droid to decode 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 output · QR code
https://qrcode-ai.com/

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

Sample output for qr-reference.png.

Factory Droid QR Code Scanner Plugin questions

Setup options, 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 remain reproducible.

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

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

Yes. The droid plugin commands and droid exec work without Factory sign-in when configured with a custom BYOK model and your own API key. Interactive droid may still prompt for browser sign-in.

Toggle auto-updates from the Marketplaces tab of /plugins inside interactive droid. Remove the plugin with droid plugin uninstall and droid plugin marketplace remove, then clear any leftover empty cache folders 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 selected 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

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