GitHub Copilot QR Code Scanner Plugin

Give GitHub Copilot a dedicated local QR decoder. It reads the image and returns the exact encoded URL or text without pixel-based guesswork.

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 verify that qrscan lists scan_image. Set QRSCAN_MCP_ALLOWED_DIRECTORIES in the server env to enable scan_file.

  3. 3

    Test it out. Ask GitHub Copilot:

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

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

View plugin on GitHub

Use a decoded QR code in a GitHub Copilot task

QR Code Scanner outputs exact URLs or text so GitHub Copilot can verify links, inspect assets or run repeatable checks.

Verify QR images in Copilot CLI

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

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

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

Test a QR image in GitHub Copilot

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 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 output · QR code
https://qrcode-ai.com/

With the scanner configured, GitHub Copilot returns the exact encoded content and its format instead of guessing.

Sample output 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 launched, while 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 opens 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.