qrvault-mcp
# qrvault-mcp
[](https://glama.ai/mcp/servers/z121245017-ai/qrvault-mcp)
[](./LICENSE)
Zero-dependency **14-Day Ransom-QR Trap Detector**, **Quishing / Homoglyph URL Auditor**, **Pre-Press WCAG & Polarity Verifier**, and **Permanent ISO/IEC 18004 Vector SVG + 300-DPI A4 Print Sheet Compiler** exposed as a **Model Context Protocol (`MCP`) stdio server**, **CLI**, and **GitHub Action (`@v1`)**.
`qrvault-mcp` compiles static QR matrices directly from `GF(256)` Reed-Solomon math (`Versions 1–20`, `EC Levels L / M / Q / H`, all `8` masks) with zero external API calls:
- **14-Day Ransom Redirect & Shortener Detection**: Flags 60+ expiring dynamic-QR SaaS domains (`qrco.de`, `qr.codes`, `scanova.io`, `me-qr.com`, etc.) and opaque link shorteners (`bit.ly`, `tinyurl.com`) before menus, signage, or packaging go to print.
- **Homoglyph & Tracking Diet**: Catches `xn--` punycode lookalike domains and mixed-script Cyrillic/Greek confusables, and strips `utm_*`, `fbclid`, `gclid`, and `spm` clutter to shrink QR version density.
- **Pre-Press Contrast, Dark-Background Polarity & `EC Level H` Logo Budget**: Enforces `WCAG >= 4.5:1`, warns against inverted light-on-dark QR polarity (`L_bg <= L_fg`), and calculates Reed-Solomon codeword budgets for center monograms.
- **Permanent Vector SVG, 300-DPI Binary PNG & A4 Batch Print Sheets**: Compiles direct URLs, `WIFI:T:WPA;...`, `BEGIN:VCARD` 3.0, `mailto:`, `tel:`, and CSV sticker tables into permanent print-ready assets.
More offline privacy and DevSecOps tools: [https://z121245017-ai.github.io/](https://z121245017-ai.github.io/)
## MCP Tools
1. `audit_qr_url_and_prepress` — Audits a URL or QR payload for 60+ expiring dynamic-QR trap hosts, link shorteners, `xn--` homoglyphs, WCAG contrast, inverted dark-background polarity, and `EC Level H` center-logo Reed-Solomon budget.
2. `compile_permanent_qr_asset` — Compiles a direct URL, Wi-Fi WPA credential, vCard 3.0 contact, `mailto:`, `tel:`, or raw text into a permanent ISO/IEC 18004 vector `<svg>` and optional 300-DPI binary `.png`.
3. `compile_a4_batch_sticker_sheet` — Audits multi-row CSV sticker entries (`label,payload,sublabel`) and compiles a crop-marked `210 × 297 mm` (300-DPI) A4 vector `<svg>` label print sheet.
4. `clean_qr_tracking_url` — Strips 25+ tracking parameters (`utm_*`, `fbclid`, `gclid`, `spm`) and computes exact UTF-8 byte savings and ISO QR version reduction.
## MCP Configuration
```json
{
"mcpServers": {
"qrvault": {
"command": "npx",
"args": ["-y", "github:z121245017-ai/qrvault-mcp"]
}
}
}
```
## GitHub Action (`@v1`)
```yaml
- uses: z121245017-ai/qrvault-mcp@v1
with:
paths: 'docs/ marketing/ README.md'
fail-on-ransom: 'true'
fail-on-homoglyphs: 'true'
```
## License
MIT
TDQS
Scored across 4 tools
The tools have mostly distinct purposes: auditing, cleaning, single-asset compilation, and batch-sheet compilation. Some overlap remains between audit_qr_url_and_prepress and clean_qr_tracking_url, and between single and batch compilation, but the descriptions clarify the boundaries.
All tool names use snake_case with a clear verb-first pattern: compile_*, audit_*, clean_*. Although the names are long, the convention is consistent and predictable.
Four tools is a well-scoped set for a focused QR auditing and permanent-asset-generation server. Each tool covers a distinct workflow without unnecessary surface area.
The surface covers auditing, URL cleaning, single QR generation, and batch sticker-sheet generation, which are the core workflows for this domain. Minor gaps exist, such as no tool for decoding or auditing an existing QR image file, but agents can work around them.