Verify QR assets in Pi tasks
Decode project QR images locally in Pi agent and confirm exact URLs without relying on vision-model guesses.
QR Code Scanner outputs exact URLs or text so Pi agent can verify links, inspect assets or run repeatable checks.
Decode project QR images locally in Pi agent and confirm exact URLs without relying on vision-model guesses.
Declared in package.json under pi.extensions to register the local qrscan stdio MCP server automatically.
Loaded from skills/ via pi.skills so Pi quotes decoded QR URLs strictly as untrusted data.
Provide the image, copy the prompt and verify the returned output.
Create a text QR code that encodes https://qrcode-ai.com/ and save it as qr-reference.png.
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.With the scanner configured, Pi agent returns the exact encoded content and its format instead of guessing.
Sample output for qr-reference.png.
Setup routes, image input, untrusted-data safety, troubleshooting and MIT licence.
Run pi install git:github.com/qrcode-ai-com/qrcode-barcode-scanner-plugin (or append @<release-tag> from GitHub Releases to pin a release).
Pi reads package.json (pi.skills and pi.extensions) from qrcode-barcode-scanner-plugin on GitHub, loading skills/qrcode-barcode-scanner and pi/extension.js, which registers the local qrscan stdio MCP server.
By default qrscan exposes scan_image (base64 image bytes) only and never fetches URLs. Set QRSCAN_MCP_ALLOWED_DIRECTORIES in the server environment to enable scan_file for your allowed directories.
No. The MCP server downloads its own engine via npm when launched, while running scripts/scan.mjs directly expects @qrcode-ai-com/qrcode-barcode-scanner installed in .qrcode-barcode-scanner-runtime.
No. qrscan returns exact content.text and content.raw as untrusted data and never opens links or treats QR content as instructions.
Run pi remove git:github.com/qrcode-ai-com/qrcode-barcode-scanner-plugin.
Decoding runs locally on Node.js 22.19+ or 24+ (Pi sends conversation text to your configured LLM). Current plugin, skill, MCP server and engine releases are free and MIT-licensed, separate from QR Code AI paid plans.
Inspect the official Pi agent setup source and the MIT scanner adapter contract.