Goose QR Code Scanner Plugin & MCP

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

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

    Inspect the cloned commit with git -C ~/.agents/plugins/qrcode-barcode-scanner rev-parse HEAD and start Goose.

  3. 3

    Try it. Ask Goose:

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

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

View plugin on GitHub

Use a decoded QR code in a Goose task

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

Verify QR assets in Goose sessions

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

Beat the 10-second handshake

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

Keep shell access switched off

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

Try a QR image in Goose

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

Example result for qr-reference.png.

Goose QR Code Scanner Plugin & MCP questions

Setup routes, 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 on GitHub 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 response, and timeout: 300 does not extend that initial wait. If the first npx download takes 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 set 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 one-session flag exposes scan_image (bytes) only.

Goose has no 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 visits 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.