mcp-scan-qr
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-scan-qrExtract the data from this QR code image: https://example.com/code.png"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-scan-qr
这是一个基于 FastMCP 框架构建的 MCP (Model Context Protocol) 工具包,用于从图像中扫描二维码。
功能
当前实现了以下二维码扫描工具:
scanQRCode: 从单个图片URL扫描二维码scanQRCodeBatch: 从多个图片URL批量扫描二维码
Related MCP server: EasyOCR MCP Server
安装依赖
bun install运行项目
bun run dev调试项目
bun run inspect构建项目
bun run build部署 MCP
{
"mcpServers": {
"mcp-scan-qr": {
"args": ["-y","@pidanmoe/mcp-scan-qr"],
"command": "npx",
"env": {
// 环境变量
}
}
}
}项目结构
src/index.ts: 主入口文件,初始化并启动 FastMCP 服务器
src/tools/scanQRCode.ts: 实现了
scanQRCode工具,支持从单个图片URL扫描二维码src/tools/scanQRCodeBatch.ts: 实现了
scanQRCodeBatch工具,支持从多个图片URL批量扫描二维码src/utils/logger.ts: 日志工具模块
使用说明
该工具包提供了两个MCP工具:
scanQRCode
从单个HTTPS图片URL扫描二维码:
{
"name": "scanQRCode",
"arguments": {
"imageUrl": "https://example.com/qrcode.png"
}
}scanQRCodeBatch
从多个HTTPS图片URL批量扫描二维码(最多10个):
{
"name": "scanQRCodeBatch",
"arguments": {
"imageUrls": [
"https://example.com/qrcode1.png",
"https://example.com/qrcode2.png"
]
}
}两个工具都会返回包含扫描结果的JSON字符串。成功时返回二维码内容,失败时返回错误信息。
技术栈
Bun - JavaScript/TypeScript 运行时
FastMCP - MCP 框架
Zod - TypeScript-first schema declaration and validation library
jsQR - JavaScript QR code reader
Sharp - High performance Node.js image processing
Axios - Promise based HTTP client
此项目使用 bun v1.2.19 创建。Bun 是一个快速的一体化 JavaScript 运行时。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceConverts URLs into scannable QR codes with customizable options like error correction levels and image sizes. Provides downloadable links for generated QR codes through a simple MCP tool interface.234Apache 2.0
- Alicense-qualityDmaintenanceAn MCP server that provides OCR capabilities using the EasyOCR library, supporting over 80 languages and GPU acceleration. It enables processing images from base64 strings, local files, or URLs with options for text-only or detailed coordinate and confidence output.2Apache 2.0
- Flicense-qualityDmaintenanceAn advanced MCP server for generating styled QR codes with logos, batch processing, and specialized formats like WiFi or vCards. It also provides tools to decode existing QR code images and analyze their quality or content.
- Flicense-qualityCmaintenanceMCP server for creating and managing trackable QR codes. 6 tools, 12 QR types, scan analytics.
Related MCP Connectors
MCP server for ScanMalware.com URL scanning, malware detection, and analysis.
QR Code MCP — wraps api.qrserver.com (free, no auth)
Official in.bio MCP server: shorten URLs, styled QR codes, and click analytics. No API key needed.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pidanmeng/mcp-scan-qr'
If you have feedback or need assistance with the MCP directory API, please join our Discord server