GitHub Copilot QR Code Scanner Plugin

Equip GitHub Copilot with a real local QR decoder. It reads the image and returns the exact encoded URL or text without pixel 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 specific 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 exposes scan_image. Set QRSCAN_MCP_ALLOWED_DIRECTORIES in the server environment to enable scan_file.

  3. 3

    Try it out. Ask GitHub Copilot:

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

Installs both the qrcode-barcode-scanner skill and local stdio MCP server. Uninstall at any time with copilot plugin uninstall qrcode-barcode-scanner.

View plugin on GitHub

Use a decoded QR code in your GitHub Copilot workflow

QR Code Scanner returns 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 sessions and confirm exact URLs without vision guesswork.

Stdio MCP with opt-in scan_file

Runs @qrcode-ai-com/qrcode-barcode-scanner-mcp locally with scan_image enabled and scan_file scoped to allowed folders.

Bundled skill guardrails

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

Test a QR image in GitHub Copilot

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 GitHub Copilot 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, 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 options, 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 loads plugin.json, mcp.json and skills/ from qrcode-barcode-scanner-plugin, installing both the qrcode-barcode-scanner skill and the local qrscan stdio MCP server.

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

No. The MCP server downloads its own engine copy through npm at startup, whereas 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 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

Review the official GitHub Copilot setup documentation and the MIT scanner adapter contract.