Goose QR Code Scanner Plugin & MCP

Equip Goose with a real local QR decoder. It reads the image and returns the exact encoded URL or text without pixel guesswork.

Install the Goose plugin

Requires Node.js 22.19+ or 24+.

  1. 1

    Run goose plugin install to clone the default branch into ~/.agents/plugins/qrcode-barcode-scanner with the skill and scan_image.

    Shell
    goose plugin install https://github.com/qrcode-ai-com/qrcode-barcode-scanner-plugin.git
  2. 2

    Verify the cloned commit via git -C ~/.agents/plugins/qrcode-barcode-scanner rev-parse HEAD and launch Goose.

  3. 3

    Try it out. Ask Goose:

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

Goose waits roughly 10s for an MCP server’s first reply. If the initial npx download times out, pre-install with npm and launch directly via node.

View plugin on GitHub

Use a decoded QR code in your Goose workflow

QR Code Scanner returns exact URLs or text so Goose can verify links, inspect assets or run repeatable checks.

Verify QR assets in Goose sessions

Decode QR images locally inside Goose and confirm exact destination URLs before sharing or publishing.

Clear the 10-second handshake

Goose drops servers that miss its ~10s initial reply; pre-install the MCP package locally with npm and run via node if npx is slow.

Keep shell access disabled

MCP scanning works with Goose’s built-in developer extension set to enabled: false; only scripts/scan.mjs needs a shell.

Test a QR image in Goose

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 Goose 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, Goose returns the exact encoded content and its format instead of guessing.

Sample output for qr-reference.png.

Goose QR Code Scanner Plugin & MCP questions

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

goose plugin install clones the repo to ~/.agents/plugins/qrcode-barcode-scanner, adding the skill and qrcode-barcode-scanner:qrscan (scan_image only). Copying goose/qrscan-extension.yaml under extensions: in ~/.config/goose/config.yaml lets you add QRSCAN_MCP_ALLOWED_DIRECTORIES for scan_file.

Goose waits about 10 seconds for an MCP server’s first reply, and timeout: 300 does not extend that initial window. If the first npx download runs longer, install @qrcode-ai-com/qrcode-barcode-scanner-mcp locally with npm and launch it directly with node.

Not for MCP. The MCP server needs no shell access, so you can keep enabled: false under developer in ~/.config/goose/config.yaml. Only the portable skill helper (scripts/scan.mjs) requires shell execution.

Yes. Run goose session --with-extension "npx --yes --ignore-scripts @qrcode-ai-com/qrcode-barcode-scanner-mcp". That temporary session flag exposes scan_image (bytes) only.

Goose has no built-in plugin uninstall command. Move ~/.agents/plugins/qrcode-barcode-scanner out of ~/.agents/plugins/, delete its entry under plugins: in ~/.config/goose/config.yaml and remove any custom extensions: entry.

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 Node.js 22.19+ or 24+ (Goose 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.

Goose setup and QR Code Scanner references

Review the official Goose setup documentation and the MIT scanner adapter contract.