mcp-server

v1.0.0
@utiliome/mcp-server Checked 1 day ago Published 1 month ago

Zero-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.

ParameterTypeDescription
files *arrayList of absolute or relative file paths to the input PDF documents (minimum 2).
outputPath *stringTarget 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.

ParameterTypeDescription
filePath *stringPath to the local PDF file to sanitize.
outputPathstringOptional 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.

ParameterTypeDescription
filePath *stringPath to the local PDF file.
formatstringDesired output text structure ('plain', 'markdown', or 'json'). Defaults to 'plain'.
pagesstringOptional 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.

ParameterTypeDescription
text *stringText, URL, or data payload to encode into the QR code.
errorCorrectionstringError correction level: L (7%), M (15%), Q (25%), H (30%). Defaults to 'M'.
formatstringOutput image format ('svg' or 'png'). Defaults to 'svg'.
marginnumberQuiet zone padding width in modules (default: 4).
outputPathstringOptional file path to write the generated QR code (e.g. 'qrcode.svg' or 'qrcode.png'). If omitted, outputs inline data.
scalenumberPixel 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.

ParameterTypeDescription
filePathstringOptional file path to read JSON from directly.
indentnumberIndentation spacing (e.g. 2, 4). Set to 0 for minification. Defaults to 2.
jsonstringRaw JSON string to validate and format.
outputPathstringOptional file path to save the formatted result.
sortKeysbooleanWhether to recursively sort object keys alphabetically. Defaults to false.