GitHub Copilot QR Code Scanner Plugin

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

Install the GitHub Copilot CLI plugin

Requires Node.js 22.19+ or 24+.

  1. 1

    Run both commands in GitHub Copilot CLI (append #<release-tag> to the first command to pin a tag from GitHub Releases).

    Shell
    copilot plugin marketplace add qrcode-ai-com/qrcode-barcode-scanner-plugin
    copilot plugin install qrcode-barcode-scanner@qrcode-ai-com
  2. 2

    Start a session and check that qrscan lists scan_image. Set QRSCAN_MCP_ALLOWED_DIRECTORIES in the server env for scan_file.

  3. 3

    Try it. Ask GitHub Copilot:

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

Installs both the qrcode-barcode-scanner skill and local stdio MCP server. Remove with copilot plugin uninstall qrcode-barcode-scanner.

View plugin on GitHub

Use a decoded QR code in a GitHub Copilot task

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

Verify QR images in Copilot CLI

Decode project QR assets locally during terminal coding tasks and confirm exact URLs without vision guesses.

Stdio MCP with opt-in scan_file

Runs @qrcode-ai-com/qrcode-barcode-scanner-mcp locally with scan_image active and scan_file gated by allowed folders.

Skill guardrails bundled

Ships SKILL.md alongside mcp.json so Copilot quotes decoded URLs as untrusted data and reports empty scans accurately.

Try a QR image in GitHub Copilot

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 GitHub Copilot 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, GitHub Copilot returns the exact encoded content and its format rather than a guess.

Example result for qr-reference.png.

GitHub Copilot QR Code Scanner Plugin questions

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

Run copilot plugin marketplace add qrcode-ai-com/qrcode-barcode-scanner-plugin followed by copilot plugin install qrcode-barcode-scanner@qrcode-ai-com. Append #<release-tag> from GitHub Releases to pin a release.

Copilot CLI reads plugin.json, mcp.json and skills/ from qrcode-barcode-scanner-plugin on GitHub, delivering both the qrcode-barcode-scanner skill and the local qrscan stdio MCP server.

Only after you opt in. qrscan exposes scan_image (base64 image bytes) by default and never fetches URLs. Add QRSCAN_MCP_ALLOWED_DIRECTORIES to the server env and restart Copilot CLI to enable scan_file.

No. The MCP server downloads its own engine copy through npm when started, whereas invoking 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 visits decoded URLs or treats QR text as instructions.

Run copilot plugin uninstall qrcode-barcode-scanner followed by copilot plugin marketplace remove qrcode-ai-com.

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

GitHub Copilot setup and QR Code Scanner references

Inspect the official GitHub Copilot setup source and the MIT scanner adapter contract.