Factory Droid QR Code Scanner Plugin

Give Factory Droid a dedicated local QR decoder. It reads the image and returns the exact encoded URL or text without pixel-based 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 (use --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

    Test it out. Ask Factory Droid:

    Read 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 a Factory Droid task

QR Code Scanner outputs 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 inside interactive droid or headless droid exec and confirm exact URLs before deployment.

User or project plugin scope

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

Read tools allowed by default

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

Test a QR image in Factory Droid

Provide the image, copy the prompt and verify the returned output.

qr-reference.png

Create a text QR code that encodes 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 output · QR code
https://qrcode-ai.com/

With the scanner configured, 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 routes, image input, untrusted-data safety, troubleshooting and MIT licence.

In Factory Droid, pinning a tag from plugin releases on GitHub 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 current repository’s .factory/settings.json.

Export QRSCAN_MCP_ALLOWED_DIRECTORIES with your allowed absolute directories before starting droid. Factory forwards 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 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.

Toggle auto-update in the Marketplaces tab of /plugins inside interactive droid. Uninstall using 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 opens 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.