UNPKG

universal-document-mcp

Version:

Universal Document Converter MCP Server - AI-powered markdown to PDF conversion with Mermaid diagram support for Claude Desktop, Cline, and other MCP clients

868 lines 29.5 kB
{ "timestamp": "2025-06-22T17:52:34.699821", "total_files": 28, "files_analyzed": 28, "files_with_issues": 12, "files_with_pdfs": 25, "total_page_markers": 62, "total_phase_headings": 16, "file_analyses": [ { "file": "architectural-vision-enhanced-final.md", "page_break_markers": [ { "line_number": 30, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 101, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 134, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" }, { "line_number": 164, "content": "-------------------------------------------------------------------------------- Page 6", "type": "page_marker" }, { "line_number": 218, "content": "-------------------------------------------------------------------------------- Page 8", "type": "page_marker" }, { "line_number": 257, "content": "-------------------------------------------------------------------------------- Page 9", "type": "page_marker" }, { "line_number": 274, "content": "-------------------------------------------------------------------------------- Page 10", "type": "page_marker" }, { "line_number": 307, "content": "-------------------------------------------------------------------------------- Page 11", "type": "page_marker" }, { "line_number": 349, "content": "-------------------------------------------------------------------------------- Page 15", "type": "page_marker" }, { "line_number": 377, "content": "-------------------------------------------------------------------------------- Page 16", "type": "page_marker" }, { "line_number": 412, "content": "-------------------------------------------------------------------------------- Page 17", "type": "page_marker" }, { "line_number": 436, "content": "-------------------------------------------------------------------------------- Page 18", "type": "page_marker" } ], "phase_headings": [ { "line_number": 279, "content": "## Phase 1: Foundation Development (Months 1-6)", "phase": "## Phase 1: Foundation Development (Months 1-6)" }, { "line_number": 310, "content": "## Phase 2: Core Integration", "phase": "## Phase 2: Core Integration" }, { "line_number": 313, "content": "## Phase 3: Advanced Features", "phase": "## Phase 3: Advanced Features" }, { "line_number": 316, "content": "## Phase 4: Production Deployment (Months 19-24)", "phase": "## Phase 4: Production Deployment (Months 19-24)" } ], "issues_found": [ { "type": "visible_page_markers", "count": 12, "description": "Page break markers found that should be hidden in PDF" }, { "type": "phase_spacing", "count": 2, "description": "Phase headings may not have proper page breaks" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output", "Apply enhanced page break processing for proper phase separation" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "architectural-vision-enhanced-final.pdf", "size_kb": 336.1, "last_modified": "2025-06-22T17:17:05.627539" }, { "file": "blueprint-ceo.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-ceo.pdf", "size_kb": 66.2, "last_modified": "2025-06-22T16:42:44.944408" }, { "file": "blueprint-ceo_with_page_breaks.md", "page_break_markers": [ { "line_number": 45, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" } ], "phase_headings": [], "issues_found": [ { "type": "visible_page_markers", "count": 1, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-ceo_with_page_breaks.pdf", "size_kb": 66.3, "last_modified": "2025-06-22T17:00:39.795771" }, { "file": "blueprint-complete-with-diagrams.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-complete-with-diagrams.pdf", "size_kb": 884.3, "last_modified": "2025-06-22T16:42:54.491537" }, { "file": "blueprint-complete-with-diagrams_with_page_breaks.md", "page_break_markers": [ { "line_number": 31, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 81, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 111, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" }, { "line_number": 164, "content": "-------------------------------------------------------------------------------- Page 5", "type": "page_marker" }, { "line_number": 194, "content": "-------------------------------------------------------------------------------- Page 6", "type": "page_marker" }, { "line_number": 231, "content": "-------------------------------------------------------------------------------- Page 7", "type": "page_marker" } ], "phase_headings": [], "issues_found": [ { "type": "visible_page_markers", "count": 6, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-complete-with-diagrams_with_page_breaks.pdf", "size_kb": 212.8, "last_modified": "2025-06-22T17:00:47.536659" }, { "file": "blueprint-new-with-diagrams.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-new-with-diagrams.pdf", "size_kb": 1289.9, "last_modified": "2025-06-22T16:43:04.742700" }, { "file": "blueprint-new-with-diagrams_with_page_breaks.md", "page_break_markers": [ { "line_number": 27, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 92, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 118, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" }, { "line_number": 167, "content": "-------------------------------------------------------------------------------- Page 5", "type": "page_marker" }, { "line_number": 240, "content": "-------------------------------------------------------------------------------- Page 6", "type": "page_marker" }, { "line_number": 267, "content": "-------------------------------------------------------------------------------- Page 7", "type": "page_marker" } ], "phase_headings": [], "issues_found": [ { "type": "visible_page_markers", "count": 6, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-new-with-diagrams_with_page_breaks.pdf", "size_kb": 227.4, "last_modified": "2025-06-22T17:00:55.297116" }, { "file": "blueprint-new.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-new.pdf", "size_kb": 1401.5, "last_modified": "2025-06-22T16:43:15.444270" }, { "file": "blueprint-new_with_page_breaks.md", "page_break_markers": [ { "line_number": 92, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 168, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 241, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" }, { "line_number": 271, "content": "-------------------------------------------------------------------------------- Page 5", "type": "page_marker" } ], "phase_headings": [], "issues_found": [ { "type": "visible_page_markers", "count": 4, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-new_with_page_breaks.pdf", "size_kb": 762.3, "last_modified": "2025-06-22T17:01:03.454840" }, { "file": "blueprint-with-diagrams.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-with-diagrams.pdf", "size_kb": 1007.8, "last_modified": "2025-06-22T16:43:24.222657" }, { "file": "blueprint-with-diagrams_with_page_breaks.md", "page_break_markers": [ { "line_number": 29, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 75, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 103, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" }, { "line_number": 142, "content": "-------------------------------------------------------------------------------- Page 5", "type": "page_marker" }, { "line_number": 171, "content": "-------------------------------------------------------------------------------- Page 6", "type": "page_marker" } ], "phase_headings": [], "issues_found": [ { "type": "visible_page_markers", "count": 5, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "blueprint-with-diagrams_with_page_breaks.pdf", "size_kb": 962.2, "last_modified": "2025-06-22T17:01:10.655922" }, { "file": "DOCUMENT_FORMATTING_FIXES_SUMMARY.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "DOCUMENT_FORMATTING_FIXES_SUMMARY.pdf", "size_kb": 543.7, "last_modified": "2025-06-22T17:27:34.924108" }, { "file": "document_validation_report_20250622_173118.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": false, "pdf_file": "document_validation_report_20250622_173118.pdf", "size_kb": 0, "last_modified": null }, { "file": "executive-brief-enhanced-final.md", "page_break_markers": [], "phase_headings": [ { "line_number": 204, "content": "### Phase 1: Foundation", "phase": "### Phase 1: Foundation" }, { "line_number": 212, "content": "### Phase 2: Market Entry", "phase": "### Phase 2: Market Entry" }, { "line_number": 220, "content": "### Phase 3: Scale (Months", "phase": "### Phase 3: Scale (Months" } ], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "executive-brief-enhanced-final.pdf", "size_kb": 117.7, "last_modified": "2025-06-22T17:16:48.161733" }, { "file": "executive-brief-enhanced-final_with_page_breaks.md", "page_break_markers": [ { "line_number": 30, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 105, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 143, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" }, { "line_number": 190, "content": "-------------------------------------------------------------------------------- Page 5", "type": "page_marker" }, { "line_number": 215, "content": "-------------------------------------------------------------------------------- Page 6", "type": "page_marker" }, { "line_number": 242, "content": "-------------------------------------------------------------------------------- Page 7", "type": "page_marker" }, { "line_number": 326, "content": "-------------------------------------------------------------------------------- Page 8", "type": "page_marker" } ], "phase_headings": [ { "line_number": 251, "content": "### Phase 1: Foundation", "phase": "### Phase 1: Foundation" }, { "line_number": 259, "content": "### Phase 2: Market Entry", "phase": "### Phase 2: Market Entry" }, { "line_number": 267, "content": "### Phase 3: Scale (Months", "phase": "### Phase 3: Scale (Months" } ], "issues_found": [ { "type": "visible_page_markers", "count": 7, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "executive-brief-enhanced-final_with_page_breaks.pdf", "size_kb": 197.0, "last_modified": "2025-06-22T17:01:18.025174" }, { "file": "INTELLIGENT_DOCUMENT_VALIDATOR_SUMMARY.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": false, "pdf_file": "INTELLIGENT_DOCUMENT_VALIDATOR_SUMMARY.pdf", "size_kb": 0, "last_modified": null }, { "file": "mermaid-diagrams-ceo-raw.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "mermaid-diagrams-ceo-raw.pdf", "size_kb": 1137.9, "last_modified": "2025-06-22T16:43:34.259834" }, { "file": "mermaid-diagrams-ceo-raw_with_page_breaks.md", "page_break_markers": [ { "line_number": 51, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 105, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 139, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" }, { "line_number": 165, "content": "-------------------------------------------------------------------------------- Page 5", "type": "page_marker" } ], "phase_headings": [], "issues_found": [ { "type": "visible_page_markers", "count": 4, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "mermaid-diagrams-ceo-raw_with_page_breaks.pdf", "size_kb": 708.4, "last_modified": "2025-06-22T17:01:25.209805" }, { "file": "mermaid-diagrams-new-raw.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "mermaid-diagrams-new-raw.pdf", "size_kb": 1278.9, "last_modified": "2025-06-22T16:43:50.864554" }, { "file": "mermaid-diagrams-new-raw_with_page_breaks.md", "page_break_markers": [ { "line_number": 69, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 121, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 179, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" }, { "line_number": 217, "content": "-------------------------------------------------------------------------------- Page 5", "type": "page_marker" }, { "line_number": 249, "content": "-------------------------------------------------------------------------------- Page 6", "type": "page_marker" } ], "phase_headings": [], "issues_found": [ { "type": "visible_page_markers", "count": 5, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "mermaid-diagrams-new-raw_with_page_breaks.pdf", "size_kb": 581.3, "last_modified": "2025-06-22T17:01:32.403122" }, { "file": "mermaid-diagrams-raw.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "mermaid-diagrams-raw.pdf", "size_kb": 860.6, "last_modified": "2025-06-22T16:43:58.884141" }, { "file": "mermaid-diagrams-raw_with_page_breaks.md", "page_break_markers": [ { "line_number": 54, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 110, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 143, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" } ], "phase_headings": [], "issues_found": [ { "type": "visible_page_markers", "count": 3, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "mermaid-diagrams-raw_with_page_breaks.pdf", "size_kb": 532.4, "last_modified": "2025-06-22T17:01:39.314829" }, { "file": "PAGE_BREAK_FIXES_SUMMARY.md", "page_break_markers": [ { "line_number": 6, "content": "**Problem**: Page break lines with format `-------------------------------------------------------------------------------- Page X` were visible in the final PDF output, appearing as red-colored text that should be invisible.", "type": "page_marker" } ], "phase_headings": [], "issues_found": [ { "type": "visible_page_markers", "count": 1, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": false, "pdf_file": "PAGE_BREAK_FIXES_SUMMARY.pdf", "size_kb": 0, "last_modified": null }, { "file": "pre_conversion_validation.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "pre_conversion_validation.pdf", "size_kb": 29.5, "last_modified": "2025-06-22T17:27:40.381485" }, { "file": "research-proposal-enhanced-final.md", "page_break_markers": [], "phase_headings": [ { "line_number": 199, "content": "## Phase 1:", "phase": "## Phase 1:" }, { "line_number": 206, "content": "## Phase 2: Core", "phase": "## Phase 2: Core" }, { "line_number": 213, "content": "## Phase 3:", "phase": "## Phase 3:" } ], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "research-proposal-enhanced-final.pdf", "size_kb": 106.6, "last_modified": "2025-06-22T17:16:57.439761" }, { "file": "research-proposal-enhanced-final_with_page_breaks.md", "page_break_markers": [ { "line_number": 32, "content": "-------------------------------------------------------------------------------- Page 2", "type": "page_marker" }, { "line_number": 60, "content": "-------------------------------------------------------------------------------- Page 3", "type": "page_marker" }, { "line_number": 90, "content": "-------------------------------------------------------------------------------- Page 4", "type": "page_marker" }, { "line_number": 118, "content": "-------------------------------------------------------------------------------- Page 5", "type": "page_marker" }, { "line_number": 156, "content": "-------------------------------------------------------------------------------- Page 6", "type": "page_marker" }, { "line_number": 185, "content": "-------------------------------------------------------------------------------- Page 7", "type": "page_marker" }, { "line_number": 217, "content": "-------------------------------------------------------------------------------- Page 8", "type": "page_marker" }, { "line_number": 243, "content": "-------------------------------------------------------------------------------- Page 9", "type": "page_marker" } ], "phase_headings": [ { "line_number": 227, "content": "## Phase 1:", "phase": "## Phase 1:" }, { "line_number": 234, "content": "## Phase 2: Core", "phase": "## Phase 2: Core" }, { "line_number": 245, "content": "## Phase 3:", "phase": "## Phase 3:" } ], "issues_found": [ { "type": "visible_page_markers", "count": 8, "description": "Page break markers found that should be hidden in PDF" } ], "recommendations": [ "Apply page break fixes to hide page markers in PDF output" ], "status": "analyzed", "pdf_exists": true, "pdf_file": "research-proposal-enhanced-final_with_page_breaks.pdf", "size_kb": 123.0, "last_modified": "2025-06-22T17:01:47.152846" }, { "file": "TASK_COMPLETION_SUMMARY.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "TASK_COMPLETION_SUMMARY.pdf", "size_kb": 149.3, "last_modified": "2025-06-22T17:01:53.930837" }, { "file": "validation_report.md", "page_break_markers": [], "phase_headings": [], "issues_found": [], "recommendations": [], "status": "analyzed", "pdf_exists": true, "pdf_file": "validation_report.pdf", "size_kb": 29.6, "last_modified": "2025-06-22T17:27:51.709753" } ], "summary": { "files_needing_fixes": 12, "files_without_pdfs": 3, "total_issues": 13, "fix_success_rate": 57.1 }, "recommendations": [ "Apply page break fixes to 12 files with issues", "Use the enhanced MCP conversion tools to regenerate PDFs", "Run apply_page_break_fixes.py to fix all documents at once", "Generate PDFs for 3 markdown files" ] }