pdf-suite
20 PDF MCP tools: repair, audit, merge, split, rotate, watermark, redact, forms, compress.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (8)
- LOWen pdf_merge
- LOWen pdf_split
- LOWen pdf_extract_pages
- LOWen pdf_add_page_numbers
- LOWen pdf_add_watermark
- LOWen pdf_crop_margins
- LOWen pdf_to_markdown
- LOWen pdf_from_images
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"pdf-suite": {
"url": "https://api.quickcoderhub.com/mcp/pdf-suite"
}
}
}Puntos de conexión remotos
https://api.quickcoderhub.com/mcp/pdf-suitestreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (20)
⚪pdf_repair(inputPath, outputPath, base64Data)
Scan damaged PDF binary objects and reconstruct broken/truncated XRef tables and trailers via pdf-lib.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}⚪pdf_compliance_audit(filePath, outputPath, base64Data, filename, generateCertificatePdf)
Audit a PDF for hidden 3-Tr invisible text operators, OCG layers, active /JS, annotations, and metadata leaks, and optionally issue a SHA-256 Compliance Certificate PDF.
Esquema de entrada
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"outputPath": {
"type": "string",
"description": "Optional local output path for SHA-256 Compliance Certificate PDF."
},
"base64Data": {
"type": "string"
},
"filename": {
"type": "string",
"default": "document.pdf"
},
"generateCertificatePdf": {
"type": "boolean",
"default": false
}
}
}⚪pdf_merge(base64Data, documentsBase64, outputPath)
Merge multiple base64-encoded PDF documents cleanly in exact page order via pdf-lib.
Esquema de entrada
{
"type": "object",
"properties": {
"base64Data": {
"type": "string",
"description": "Primary PDF base64 (used if documentsBase64 omitted)."
},
"documentsBase64": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of base64 PDFs to concatenate."
},
"outputPath": {
"type": "string"
}
}
}⚪pdf_split(inputPath, outputPath, base64Data, pages)
Split a PDF by page range or page chunk size into an extracted PDF slice plus per-range metadata.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"pages": {
"type": "string",
"default": "1",
"description": "1-based page range, e.g. \"1-2\"."
}
}
}🔴pdf_remove_pages(inputPath, outputPath, base64Data, removePages)
Delete specified 1-based page numbers or ranges from a PDF document.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"removePages": {
"type": "string",
"description": "Pages to delete e.g. \"2,4-5\"."
}
}
}🟢pdf_extract_pages(inputPath, outputPath, base64Data, pages)
Extract and reorder specific 1-based pages from a PDF into a new PDF file.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"pages": {
"type": "string",
"default": "1",
"description": "Pages/order to extract e.g. \"1,3-4\"."
}
}
}⚪pdf_rotate(inputPath, outputPath, base64Data, angle, pages)
Permanently rotate all or selected pages of a PDF by 90, 180, or 270 degrees clockwise.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"angle": {
"type": "integer",
"enum": [
90,
180,
270
],
"default": 90
},
"pages": {
"type": "string",
"description": "Optional 1-based page filter (defaults to all pages)."
}
}
}🟡pdf_add_page_numbers(inputPath, outputPath, base64Data, prefix, startNumber)
Stamp vector pagination or Bates numbers (e.g. "Page X of Y") onto every PDF page.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"prefix": {
"type": "string",
"default": "Page "
},
"startNumber": {
"type": "integer",
"default": 1
}
}
}🟡pdf_add_watermark(inputPath, outputPath, base64Data, watermarkText, opacity)
Overlay a diagonal translucent vector text watermark (e.g. CONFIDENTIAL) across all pages of a PDF.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"watermarkText": {
"type": "string",
"default": "CONFIDENTIAL"
},
"opacity": {
"type": "number",
"default": 0.25
}
}
}⚪pdf_crop_margins(inputPath, outputPath, base64Data, marginPt)
Trim uniform PDF CropBox margins (in points) across all pages while preserving vector content.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"marginPt": {
"type": "number",
"default": 24
}
}
}⚪pdf_protect_metadata(inputPath, outputPath, base64Data, ownerLabel)
Audit PDF encryption state, scrub identifying Creator/Producer/Author metadata, and stamp deterministic integrity protection headers.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"ownerLabel": {
"type": "string",
"default": "Protected Document"
}
}
}⚪pdf_unlock_strip_restrictions(inputPath, outputPath, base64Data)
Load owner-restricted PDFs (ignoreEncryption) and re-serialize clean unlocked pages without permission locks.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}🔴pdf_redact_terms(inputPath, outputPath, base64Data, redactTerms)
Scan PDF text streams for target terms or PII patterns (emails, SSNs, cards) and purge matching raw stream literals + metadata before re-saving.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"redactTerms": {
"type": "array",
"items": {
"type": "string"
}
}
}
}🟢pdf_forms_inspect_and_fill(inputPath, outputPath, base64Data, fieldValues, flatten)
Inspect all interactive AcroForm fields in a PDF, optionally fill text/checkbox fields from JSON, and flatten form widgets.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
},
"fieldValues": {
"type": "object",
"description": "Map of fieldName -> string value to fill."
},
"flatten": {
"type": "boolean",
"default": false
}
}
}🟢pdf_to_markdown(filePath, base64Data)
Extract uncompressed PDF text operators (Tj/TJ) and document metadata into clean Markdown.
Esquema de entrada
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}⚪pdf_to_pdfa_archival(inputPath, outputPath, base64Data)
Normalize a PDF for long-term ISO-19005 PDF/A-like archival consistency by flattening forms, embedding standard fonts, and setting XMP/catalog timestamps.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}⚪pdf_compare(base64Data, secondBase64Data)
Structurally compare two PDFs (page count, page dimensions, metadata, SHA-256, and extracted text tokens) to pinpoint differences.
Esquema de entrada
{
"type": "object",
"properties": {
"base64Data": {
"type": "string",
"description": "First PDF base64."
},
"secondBase64Data": {
"type": "string",
"description": "Second PDF base64 (defaults to self-comparison if omitted)."
}
}
}⚪pdf_compress(inputPath, outputPath, base64Data)
Compact a PDF structurally by stripping unused objects, clearing XMP/metadata bloat, and enabling PDF 1.5 compressed Object Streams.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string"
}
}
}⚪pdf_from_images(inputPath, outputPath, base64Data, imagesBase64)
Wrap one or more JPEG/PNG images (or fall back to an annotated vector page) into a clean PDF document.
Esquema de entrada
{
"type": "object",
"properties": {
"inputPath": {
"type": "string"
},
"outputPath": {
"type": "string"
},
"base64Data": {
"type": "string",
"description": "JPEG or PNG image bytes."
},
"imagesBase64": {
"type": "array",
"items": {
"type": "string"
}
}
}
}⚪pdf_from_html_text(outputPath, text, title)
Render HTML or plain text into a paginated vector PDF document using pdf-lib.
Esquema de entrada
{
"type": "object",
"properties": {
"outputPath": {
"type": "string"
},
"text": {
"type": "string",
"description": "HTML markup or plain text to render to PDF."
},
"title": {
"type": "string",
"default": "QuickCoderHub Document"
}
}
}Comunidad
Evidencia