{"id":"com.kdandoc.mcp/kdan-pdf-mcp","slug":"com-kdandoc-mcp-kdan-pdf-mcp","title":"KDAN PDF","description":"Upload, edit, compress, protect, redact, and compare PDFs with KDAN PDF in Claude and ChatGPT.","version":"1.0.0","publisher":{"kind":"domain","id":"mcp.kdandoc.com","label":"mcp.kdandoc.com","url":"https://mcp.kdandoc.com"},"website":"https://pdf-reader.kdandoc.com/products/mcp/claude","repository":"https://github.com/KDAN-PDF/KDAN-PDF-MCP","remotes":[{"type":"streamable-http","url":"https://mcp.kdandoc.com/mcp"}],"packages":[],"published":"2026-07-28","updated":"2026-07-28","status":"online","auth":"","latency_ms":956,"checked":"2026-11-19","uptime":100,"checks":3,"tools":[{"name":"compare_pdfs","title":"Compare PDFs","description":"MANDATORY for all document comparison requests. Compare two PDFs side-by-side.\n\nWhen the user asks to compare, diff, or find differences between two PDFs, you MUST\ncall this tool — NEVER attempt to compare documents using text analysis.\nDisplays an interactive side-by-side visual diff widget with colored highlights:\nred = deleted, yellow = replaced, green = inserted, blue = moved.\n\nBefore calling,","read_only":true},{"name":"get_latest_comparison","title":"Get Latest Comparison","description":"Re-run the most recent PDF comparison for a session. For widget recovery only.\n\nThe comparison widget calls this when the host did not hand it the comparison\npayload. Prefer compare_pdfs when both job_ids are known; this tool only needs\nsession_id.","read_only":true},{"name":"compress_pdf","title":"Compress PDF","description":"Compress a PDF to reduce its file size and return a new versioned file.\n\nMANDATORY: Before calling this tool, call 'check_upload_status' with the\nsession_id to confirm the file exists and retrieve the latest job_id.\nSkipping this check and calling compress_pdf directly is FORBIDDEN.\n\nEach call creates a NEW job_id (with parent_job_id linking to the source).\nThe original PDF version is preserved un","read_only":false},{"name":"delete_pdf_page","title":"Delete PDF Pages","description":"Delete one or more pages from a PDF and return a new versioned file.\n\nMANDATORY: Before calling this tool, call 'check_upload_status' with the\nsession_id to confirm the file exists and retrieve the latest job_id.\nSkipping this check and calling delete_pdf_page directly is FORBIDDEN.\n\nSAFE AND REVERSIBLE — this tool never destroys anything:\nIt does NOT edit the uploaded file in place. It writes a N","read_only":false},{"name":"set_password","title":"Set PDF Password","description":"Add password protection to an unprotected PDF file.\n\nCreates a NEW job_id (with parent_job_id linking to the source). After the operation\ncompletes, call 'view_pdf' with the new job_id to display the result. Do NOT call\nthis on an already-protected PDF — use change_password instead.","read_only":false},{"name":"change_password","title":"Change PDF Password","description":"Change the password of an already-protected PDF file.\n\nCreates a NEW job_id (with parent_job_id linking to the source). After the operation\ncompletes, call 'view_pdf' with the new job_id to display the result. Do NOT call\nthis on an unprotected PDF — use set_password instead.","read_only":false},{"name":"list_redactable_line_text","title":"List Redactable Text Lines","description":"Return per-page, per-line text for identifying redaction targets.\n\nRead-only: does not modify job state. ALWAYS call this before redact_by_text_range.\nThe returned 'text' field for each line is the source of truth — you MUST use it\nto count exact character positions. Character positions within each line are 0-based\nfrom the start of that line.","read_only":true},{"name":"redact_by_text_range","title":"Redact PDF Text","description":"Redact PDF text by specifying the exact text to remove on each line.\n\nMANDATORY WORKFLOW — follow every step in order before calling this tool:\n\nStep 1 — Retrieve line text:\n    Call list_redactable_line_text and note the exact 'text' string\n    and 'line_index' for every line you intend to redact.\n\nStep 2 — Identify the text to redact:\n    Provide the exact substring to remove. The value must app","read_only":false},{"name":"upload_pdf","title":"Upload PDF","description":"Upload a PDF from a ChatGPT file attachment.\n\nMANDATORY WORKFLOW — follow EVERY step in order:\n1. ALWAYS call check_upload_status FIRST — even if you think the file is new.\n2. If a job with the same filename already exists, reuse its job_id — do NOT call upload_pdf.\n3. Only call upload_pdf if the file is confirmed absent from check_upload_status.\nSkipping step 1 and calling upload_pdf directly is ","read_only":false},{"name":"batch_upload_pdf","title":"Batch Upload PDFs","description":"Upload multiple PDF files from ChatGPT file attachments.\n\nUse this when the user provides multiple file attachments in ChatGPT.\nDownloads each PDF from its signed URL and stores it.\nReturns session_id and a list of job_ids.\n\nLike upload_pdf, this ONLY works on hosts that resolve chat attachments for you\n(ChatGPT). On Claude and other MCP clients, call create_upload_page instead.\nNever invent or gu","read_only":false},{"name":"create_upload_page","title":"Create PDF Upload Page","description":"Display an interactive PDF upload widget directly in the chat.\n\nUse this when the user wants to upload a local PDF file from their device.\nThis is the standard upload method for MCP clients (e.g. Claude) where\nfile attachments with download URLs are not available.\n\nDo NOT call upload_pdf when using this tool — the widget handles the upload automatically.\nThe widget renders inline and the PDF viewe","read_only":false},{"name":"check_upload_status","title":"Check Upload Status","description":"Check existing uploads and determine which files still need uploading.\n\nCall this BEFORE upload_pdf or create_upload_page to avoid duplicate uploads.\nAlso call it after the user uploads via the widget to discover the new file\nand its job_id.\n\nReturns 'session_id' (always — store it!), plus:\n- 'already_uploaded': files from pending_filenames that are already in this\n  session, with reusable job_ids","read_only":true},{"name":"view_pdf","title":"View PDF","description":"Display an already-uploaded PDF in an interactive viewer widget.\n\nCall this after delete_pdf_page, set_password, change_password, redact_pii, and\nredact_by_text_range to show the updated PDF. Also call when the user explicitly\nasks to (re-)display a specific PDF.\n\nAFTER AN UPLOAD — this is the step that is most often skipped:\n- After upload_pdf / batch_upload_pdf (ChatGPT file attachment): those t","read_only":true},{"name":"get_pdf_status","title":"Get PDF Status","description":"Return current status of a PDF viewer job. Used internally by the viewer widget.","read_only":true},{"name":"get_pdf_info","title":"Get PDF Info","description":"Use this when you need to read the text content of each page to decide which pages to delete. Returns page count and a text preview of every page. Use for text-based identification: table of contents, blank pages, cover page, etc. For visual content (logos, images, photos), use get_pdf_page_images instead.","read_only":true},{"name":"get_pdf_page_images","title":"Get PDF Page Images","description":"Use this when you need to visually inspect PDF pages to identify content that cannot be detected from text alone — for example, pages containing a logo, a photograph, a watermark, a QR code, or any visual element. Returns rendered JPEG screenshots as images you can see. Returns at most 10 pages per call. ALWAYS start from start_page=1 and paginate through the ENTIRE document: check 'has_more' in s","read_only":true}],"server_info":{"name":"pdf-mcp-server","version":"3.2.4"},"category":"productivity","tags":["agents","communication","image-video"],"kind":"remote","source":"registry","submitted":{},"first_party":true,"domain_rank":235286,"score":100,"indexable":true,"first_seen":"2026-07-28","stars":0,"badges":["official"],"sponsor":null,"page":"https://agentsindex.org/agents/com-kdandoc-mcp-kdan-pdf-mcp/"}