QRMint by Harlo
Static QR codes and 1-D barcodes (Code 128, EAN-13, UPC-A, EAN-8) as SVG, PNG or data URL.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"qrmint": {
"url": "https://qrmint.mike-tusa.workers.dev/mcp"
}
}
}远程端点
https://qrmint.mike-tusa.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢qr_generate(data, payload, ecc, format, size, ...)
Generate a static QR code as SVG (default, up to 2000 px), PNG base64 or data URL (up to 1024 px) from data or a payload object. Bulk (/v1/qr/bulk, ≤50) is SVG-only, ≤256 bytes per item. Static codes only: no redirects, no dynamic/editable codes, no scan analytics. EAN/UPC output is format-valid (check digit) and is NOT GS1 registration. Scannability is not guaranteed (contrast, print size, quiet zone and reader all matter).
输入模式
{
"type": "object",
"properties": {
"data": {
"type": "string"
},
"payload": {
"type": "object"
},
"ecc": {
"type": "string",
"enum": [
"L",
"M",
"Q",
"H"
]
},
"format": {
"type": "string",
"enum": [
"svg",
"png",
"dataurl"
]
},
"size": {
"type": "integer",
"minimum": 64,
"maximum": 2000
},
"margin": {
"type": "integer"
},
"fg": {
"type": "string"
},
"bg": {
"type": "string"
}
}
}🟢qr_inspect(data, payload, ecc, margin)
Return QR version, ECC, module count, capacity used % and quiet-zone/density warnings for data. No image.
输入模式
{
"type": "object",
"properties": {
"data": {
"type": "string"
},
"payload": {
"type": "object"
},
"ecc": {
"type": "string",
"enum": [
"L",
"M",
"Q",
"H"
]
},
"margin": {
"type": "integer"
}
}
}🟢barcode_generate(symbology, data, height, format, size, ...)
Code 128, EAN-13, UPC-A or EAN-8 as SVG/PNG/data URL. EAN/UPC: pass digits without check digit to have it added, or with it to verify. Static codes only: no redirects, no dynamic/editable codes, no scan analytics. EAN/UPC output is format-valid (check digit) and is NOT GS1 registration. Scannability is not guaranteed (contrast, print size, quiet zone and reader all matter).
输入模式
{
"type": "object",
"properties": {
"symbology": {
"type": "string",
"enum": [
"code128",
"ean13",
"upca",
"ean8"
]
},
"data": {
"type": "string"
},
"height": {
"type": "integer"
},
"format": {
"type": "string",
"enum": [
"svg",
"png",
"dataurl"
]
},
"size": {
"type": "integer",
"minimum": 64,
"maximum": 2000
},
"margin": {
"type": "integer"
},
"fg": {
"type": "string"
},
"bg": {
"type": "string"
}
},
"required": [
"symbology",
"data"
]
}🟢qr_payload_build(payload)
Build and validate a QR payload string for type text/url/wifi/vcard/mailto/tel/sms/geo (e.g. {"type":"wifi","ssid":"Cafe","password":"..."}). Returns the string only.
输入模式
{
"type": "object",
"properties": {
"payload": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"text",
"url",
"wifi",
"vcard",
"mailto",
"tel",
"sms",
"geo"
]
}
},
"required": [
"type"
]
}
},
"required": [
"payload"
]
}社区
证据