QRCode.Pub tools
Free QR code images; paid web page → Markdown, page metadata and file hosting via x402 (no API key).
我該用這個嗎
品質與安全性
發現項目(2)
- HIGH
- MEDIUM在 host_file 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"tools": {
"url": "https://qrcode.pub/mcp"
}
}
}遠端端點
https://qrcode.pub/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢qr_code(data, size, format, ecc, margin, ...)
Generate a QR code image (PNG or SVG) for any text or link. Free, no account. The answer carries the image and a permanent image URL you can embed or print.
輸入結構描述
{
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "Text or URL to encode (max 2000 chars)"
},
"size": {
"type": "integer",
"minimum": 32,
"maximum": 2000,
"description": "Pixels (default 300)"
},
"format": {
"type": "string",
"enum": [
"png",
"svg"
],
"description": "Image format (default png)"
},
"ecc": {
"type": "string",
"enum": [
"L",
"M",
"Q",
"H"
],
"description": "Error correction (default M)"
},
"margin": {
"type": "integer",
"minimum": 0,
"maximum": 20,
"description": "Quiet zone in modules (default 4)"
},
"color": {
"type": "string",
"description": "Foreground hex, e.g. 1a237e (default 000000)"
},
"bgcolor": {
"type": "string",
"description": "Background hex, e.g. ffffff"
}
},
"required": [
"data"
]
}🟢page_to_markdown(url, payment)
Fetch a public web page and return its title, description, clean Markdown (scripts, styles, nav chrome removed) and the list of links. No model call, deterministic. Price: $0.01 USDC per call via x402 (USDC on Base or Solana, no account; nothing is charged for a bad input).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public http(s) page to fetch"
},
"payment": {
"type": "string",
"description": "x402 payment: the base64 PAYMENT-SIGNATURE value (x402 v2 payment payload signed for one entry of the `accepts` list returned when this tool is called without it). Omit to get the price and payment requirements."
}
},
"required": [
"url"
]
}🟢page_metadata(url, payment)
Fetch a public web page and return its metadata: title, description, canonical URL, language, OpenGraph and Twitter card tags, icons and parsed JSON-LD blocks. Price: $0.005 USDC per call via x402 (USDC on Base or Solana, no account; nothing is charged for a bad input).
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public http(s) page to fetch"
},
"payment": {
"type": "string",
"description": "x402 payment: the base64 PAYMENT-SIGNATURE value (x402 v2 payment payload signed for one entry of the `accepts` list returned when this tool is called without it). Omit to get the price and payment requirements."
}
},
"required": [
"url"
]
}🔴host_file(content, encoding, content_type, name, payment)
Upload a file (≤ 5 MB; png, jpeg, webp, gif, pdf, json, txt, md or csv) and get a stable public URL https://qrcode.pub/f/<id> that any agent, tool or browser can fetch for 30 days. Nothing executable is accepted. The answer includes a delete token. Price: $0.01 USDC per call via x402 (USDC on Base or Solana, no account; nothing is charged for a bad input).
輸入結構描述
{
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The file: plain text, or base64 when encoding is \"base64\" (binary types must be base64)"
},
"encoding": {
"type": "string",
"enum": [
"text",
"base64"
],
"description": "How `content` is encoded (default text)"
},
"content_type": {
"type": "string",
"enum": [
"image/png",
"image/jpeg",
"image/webp",
"image/gif",
"application/pdf",
"application/json",
"text/plain",
"text/markdown",
"text/csv"
],
"description": "MIME type of the file"
},
"name": {
"type": "string",
"description": "Optional file name (letters, digits, . - _; max 80 chars)"
},
"payment": {
"type": "string",
"description": "x402 payment: the base64 PAYMENT-SIGNATURE value (x402 v2 payment payload signed for one entry of the `accepts` list returned when this tool is called without it). Omit to get the price and payment requirements."
}
},
"required": [
"content",
"content_type"
]
}社群
證據