Goose QR Code Scanner Plugin & MCP

Give Goose a dedicated local QR decoder. It reads the image and returns the exact encoded URL or text without pixel-based 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 with git -C ~/.agents/plugins/qrcode-barcode-scanner rev-parse HEAD and start Goose.

  3. 3

    Test it out. Ask Goose:

    Read the QR code in qr-reference.png and return 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 outputs 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 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 and node if npx is slow.

Keep shell access turned off

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

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

With the scanner configured, 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 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 via 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 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.