Barcode Scanner

io.github.domdomegg由 GitHub 帳號 domdomegg 發布v1.2.0更新於 Nov 3, 2026

Scan and generate barcodes and QR codes.

已驗證STDIO僅桌面開發者工具媒體與設計

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理從圖片解碼條碼與 QR 碼,並產生 QR 碼或條碼 PNG 圖片。

可以做什麼
  • 從圖片檔案或 base64 資料解碼條碼或 QR 碼,回傳解碼文字與辨識出的格式
  • 依文字或網址產生 QR 碼 PNG,可設定錯誤更正等級
  • 產生 25 種以上格式的條碼 PNG,例如 Code 128、EAN-13、UPC-A
適用情境
適合讓助理讀取照片中的條碼或 QR 碼、為連結產生 QR 碼、為出貨標籤或追蹤號碼產生條碼圖片,或在查詢前驗證已列印的條碼。
執行需求
透過 npx 以本機程序方式執行 npm 套件 barcode-scanner-mcp,使用 stdio 傳輸;需設定環境變數 MCP_TRANSPORT。未宣告任何驗證機制。僅支援桌面端,不提供網頁可執行版本。
安裝前請注意
傳入的圖片與 base64 資料由本機伺服器處理,請避免送出不希望被解碼的敏感檔案或條碼。產出為 PNG 圖片,請留意檔案儲存位置。不涉及憑證或付費。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Barcode Scanner,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

barcode-scanner-mcp

MCP server for scanning and generating barcodes and QR codes.

Use Cases

Decode a barcode from a photo: "What does this barcode say?" → reads the image, detects the barcode format, and returns the decoded text.

Generate a QR code: "Create a QR code for https://example.com" → generates a PNG QR code image with configurable error correction.

Create shipping labels: "Generate a Code 128 barcode for tracking number 1Z999AA10123456784" → produces a barcode image in the specified format.

Verify printed barcodes: "Scan this product barcode and look up the item" → decodes the barcode and returns the text for further lookup.

Setup

Follow the instructions on install-mcp, which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more).

Tools

ToolDescription
decode_imageDecode a barcode or QR code from an image file or base64 data
generate_qrGenerate a QR code PNG from text or a URL
generate_barcodeGenerate a barcode PNG in 25+ formats (Code 128, EAN-13, UPC-A, etc.)

Contributing

Pull requests are welcomed on GitHub! To get started:

  1. Install Git and Node.js
  2. Clone the repository
  3. Install dependencies with npm install
  4. Run npm run test to run tests
  5. Build with npm run build

Releases

Versions follow the semantic versioning spec.

To release:

  1. Use npm version <major | minor | patch> to bump the version
  2. Run git push --follow-tags to push with tags
  3. Wait for GitHub Actions to publish to the NPM registry.

來源:README.md,提交 7470365

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分