mcp-server
v1.0.0Zero-upload, local-first Model Context Protocol (MCP) server for Utiliome tools (PDF manipulation, QR generation, JSON formatting).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
merge_pdfs
Merges two or more local PDF files into a single unified output PDF document. Executes 100% locally with zero server uploads.
| Parameter | Type | Description |
|---|---|---|
files * | array | List of absolute or relative file paths to the input PDF documents (minimum 2). |
outputPath * | string | Target file path where the merged PDF document will be saved. |
scrub_pdf_metadata
Sanitizes all sensitive document metadata (Title, Author, Subject, Keywords, Creator, Producer, Creation Date, Modification Date, and XMP catalog stream) from a local PDF for complete privacy.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to the local PDF file to sanitize. |
outputPath | string | Optional target file path. If omitted, saves as `<name>_scrubbed.pdf` in the same directory. |
extract_pdf_text
Extracts clean textual content page-by-page from a local PDF without external APIs or cloud uploads via local PDF.js parser.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to the local PDF file. |
format | string | Desired output text structure ('plain', 'markdown', or 'json'). Defaults to 'plain'. |
pages | string | Optional page range to extract (e.g. '1-3', '1,5,8', or 'all'). Defaults to 'all'. |
generate_qr_code
Generates high-contrast vector SVG or raster PNG QR codes locally from text, URLs, or Wi-Fi strings with zero network dependencies.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text, URL, or data payload to encode into the QR code. |
errorCorrection | string | Error correction level: L (7%), M (15%), Q (25%), H (30%). Defaults to 'M'. |
format | string | Output image format ('svg' or 'png'). Defaults to 'svg'. |
margin | number | Quiet zone padding width in modules (default: 4). |
outputPath | string | Optional file path to write the generated QR code (e.g. 'qrcode.svg' or 'qrcode.png'). If omitted, outputs inline data. |
scale | number | Pixel scaling factor per module (default: 5). |
format_json
Validates, formats, minifies, or alphabetically sorts keys in JSON strings or local files with detailed line/column syntax diagnostics.
| Parameter | Type | Description |
|---|---|---|
filePath | string | Optional file path to read JSON from directly. |
indent | number | Indentation spacing (e.g. 2, 4). Set to 0 for minification. Defaults to 2. |
json | string | Raw JSON string to validate and format. |
outputPath | string | Optional file path to save the formatted result. |
sortKeys | boolean | Whether to recursively sort object keys alphabetically. Defaults to false. |