KDAN PDF

com.kdandoc.mcp由 mcp.kdandoc.com 發布官方發布者v1.0.0更新於 Oct 25, 2026

Upload, edit, compress, protect, redact, and compare PDFs with KDAN PDF in Claude and ChatGPT.

已驗證Streamable HTTP可網頁執行效率與工作流檔案與儲存

概覽

AI 產生的概覽

一個遠端 MCP 伺服器,讓助理透過對話上傳、壓縮、編輯、加密、塗黑與比對 PDF。

可以做什麼
上傳單一或多個 PDF,並查詢某工作階段中已上傳的檔案;提供聊天內上傳小工具處理本機檔案,以及檢視器預覽結果並取得下載連結。壓縮 PDF 與刪除指定頁面,每次操作產生新的版本化檔案。為 PDF 加上或變更密碼保護。塗黑文字:先列出每頁每行的文字以選定目標,再依精確字元範圍永久移除內容。並排視覺化比對兩份 PDF,並可重新執行某工作階段最近一次比對。檢視 PDF 的頁數、每頁文字預覽與算繪後的頁面影像,以判斷要編輯的頁面。
適用情境
適合在分享、提交或審閱文件前整理文件:刪減頁面、縮小檔案、遮蔽個人或機密資訊、為合約加上密碼,或查看兩個版本之間的差異,全程不必離開對話。
執行需求
在支援的助理中(Claude 網頁版或桌面版,或 ChatGPT)以連接器方式加入遠端端點;README 表示不需帳號或安裝,ChatGPT 可能需要付費方案。加入連接器時需完成授權流程。
安裝前請注意
上傳的 PDF 會傳送到供應商的遠端服務處理,請勿使用無法交給第三方的文件。編輯工具會產生新檔案而非改動原檔,但塗黑與刪頁作用於輸出檔案,散布前應自行核對。密碼透過對話設定,也就是密碼會輸入到聊天中。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 KDAN PDF,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.kdandoc.mcp%2Fkdan-pdf-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "kdan-pdf": {
      "type": "http",
      "url": "https://mcp.kdandoc.com/mcp"
    }
  }
}

README

[Free & Unlimited] [MCP Connector] [Works with Claude] [Works with ChatGPT] [No account needed]

KDAN PDF MCP

Organize, protect, compare & redact PDFs — just by chatting.

[KDAN PDF MCP in action]

Contents: What is MCP? · Why KDAN PDF MCP · How it works · Setup on Claude · Setup on ChatGPT · What you can do · Tips · Built for every team · Feature spotlights · Prompt Pack & resources · Privacy & security · FAQ · Troubleshooting · Support


KDAN PDF MCP is a remote MCP server that lets users prepare PDFs with natural-language instructions. In supported AI assistants such as Claude or ChatGPT, users can ask KDAN PDF MCP to compress large files, remove selected pages, redact sensitive information, compare document versions, or add or update password protection before documents are shared, submitted, or reviewed.

What is MCP? (Plain-English version)

Think of an AI assistant like Claude as very capable, but with no hands — on its own it can only talk about your PDF. MCP (Model Context Protocol) is an open standard that gives the AI a real pair of hands: it can now actually open your file, edit it, and save a new copy for you. KDAN PDF MCP is the connector that plugs KDAN PDF's editing tools into that assistant.

No code, no installation, no account. You paste one link into your AI assistant once, and from then on you just type what you want in plain language.

[What is MCP]

Why KDAN PDF MCP

  • One sentence, done. Replace the download → open another tool → find the right button → re-upload routine with a single message.
  • Free & unlimited. No account, no credit card, no usage caps, no upsell.
  • True redaction. Sensitive data is permanently removed, not hidden under a black box — built for compliance.
  • Stays in your conversation. Compare, redact, protect and deliver without switching apps.

How it works

Pull a file from wherever it lives, let KDAN PDF MCP + your AI assistant do the work, and send the result straight to where your team already is.

[How it works]


Setup on Claude

Works on free accounts. Steps are the same for both Claude Desktop and claude.ai.

  1. Click your account icon → Settings
  2. Select Connectors → Add Connector
  3. Paste the following URL:
https://mcp.kdandoc.com/mcp
  1. Claude will walk you through the authorization flow to grant access.

Once connected, just tell Claude what you want — for example: "Help me compress this PDF and remove page 3."

[Add KDAN PDF to Claude]


Setup on ChatGPT

May require a paid plan.

  1. Go to chatgpt.com, click your account icon → Settings
  2. Select Plugins → Add New Plugin
  3. Paste the following URL:
https://mcp.kdandoc.com/mcp
  1. Complete the authorization flow to finish setup.

What You Can Do

Once connected, try asking your AI assistant:

  • "Upload this PDF."
  • "Show me a preview."
  • "Compress this PDF and tell me how much smaller it got."
  • "Delete page 3 from this PDF."
  • "Add a password to protect this contract."
  • "Change the password of this PDF."
  • "Redact the customer's email address on page 2."
  • "Compare these two PDFs and highlight the differences side by side."
  • "Give me a download link for the final file."

Tips for best results

  • Attach the PDF in the same message as your request.
  • Be specific about pages and targets — e.g. "redact emails and ID numbers on pages 2–4."
  • For multi-step jobs, chain them in one sentence: "Compare v1 and v2, redact the names, then password-protect the result."
  • Ask for a download link when you want the finished file.

Built for every team

The same connector fits seven everyday workflows:

TeamTypical jobOne-sentence example
LegalCompare contract versions, strip internal notes, protect before sending"Compare v1 and v2, redact comments, then set a password."
FinanceOne report, audience-specific versions with figures masked"Mask the internal figures for the investor version."
HRRemove PII from resumes; hide salary bands on offer letters"Black out names, IDs and phone numbers on this resume."
ProcurementCompare vendor proposals with pricing masked; issue decisions"Compare these three proposals and mask the pricing."
Marketing & SalesCompress decks, protect proposals before sharing externally"Compress this deck and password-protect it."
Project ManagementClean up specs, remove draft pages, share final copies"Delete the draft pages and give me a clean copy."
EngineeringRedact credentials from logs/specs before distribution"Redact any keys or emails in this document."
See team workflow examples (Legal · Finance · HR · Procurement)

[Legal workflow] [Finance workflow] [HR workflow] [Procurement workflow]

Feature spotlights

Protect any PDF with one sentence

[Protect a PDF]

Compare, then redact, in one chat

[Compare and redact]

Prompt Pack & resources

  • User Guide — step-by-step setup walkthrough.
  • Prompt Pack — 24 ready-to-use prompts across 6 categories (Translate, Compare, Remove Pages, Encrypt, Redact, Compress).
  • Product page

Privacy & security

KDAN PDF MCP applies true PDF redaction — targeted content is permanently removed, not masked with an overlay, so it cannot be recovered from the output file. KDAN Mobile operates under GDPR, Taiwan PDPA and CCPA. For full details see KDAN's Security, Privacy Policy and GDPR Compliance pages.

FAQ

Q1: Is KDAN PDF MCP free?

A: Yes — completely free and unlimited, with no upsell and no credit card required.

Q2: Can it redact PII in a PDF?

A: Yes. Once national IDs, credit cards, emails and phone numbers are detected, KDAN PDF MCP applies permanent, compliance-ready redaction.

Q3: How is this different from Claude's built-in PDF reading?

A: On its own, an AI assistant can only read a PDF. KDAN PDF MCP adds full editing — encrypt, delete pages, redact and save new copies — all through chat.

Q4: Which AI assistants are supported?

A: Claude (web and desktop) and ChatGPT. Setup steps for each are above.

Q5: Do I need a KDAN account?

A: No. There's no sign-up — paste the connector URL once and start using it.

Q6: Can I use it on a free Claude plan?

A: Yes, KDAN PDF MCP works on free Claude accounts. ChatGPT may require a paid plan to add connectors.

Q7: Does redaction actually remove the data, or just cover it?

A: It removes it. KDAN PDF MCP applies true redaction rather than a visual black box, so the underlying text can't be copied or recovered.

Q8: What PDF tasks are supported?

A: Compress, delete pages, password-protect / change password, redact PII, compare two versions, preview, and generate a download link.

Q9: What languages can I give instructions in?

A: You can chat in the language your AI assistant supports; instructions work in natural language.

Troubleshooting

  • Connector doesn't appear? Restart Claude Desktop after adding it, then check Settings → Connectors.
  • Authorization didn't complete? Remove the connector and re-add the URL https://mcp.kdandoc.com/mcp.
  • Assistant only reads the PDF? Confirm KDAN PDF MCP shows as connected, and mention "KDAN PDF" in your request.
  • Large file is slow? Bigger PDFs take longer to process — let it finish before sending the next instruction.

Support & feedback

來源:README.md,提交 e38f889

工具

16

compare_pdfs

Compare PDFs

MANDATORY for all document comparison requests. Compare two PDFs side-by-side. When the user asks to compare, diff, or find differences between two PDFs, you MUST call this tool — NEVER attempt to compare documents using text analysis. Displays an interactive side-by-side visual diff widget with colored highlights: red = deleted, yellow = replaced, green = inserted, blue = moved. Before calling, confirm both job_ids exist via check_upload_status. MANDATORY after this tool returns: 1. Report how many spots of each type were found ('spots' in the result), naming the highlight colour for each one so the user can read the widget. 2. Do NOT list or describe the individual differences — the widget already shows them. 3. Follow cta_instruction and append cta_text at the end of your reply.

輸入參數job_id_a必填job_id_b必填session_id必填

get_latest_comparison

Get Latest Comparison

Re-run the most recent PDF comparison for a session. For widget recovery only. The comparison widget calls this when the host did not hand it the comparison payload. Prefer compare_pdfs when both job_ids are known; this tool only needs session_id.

輸入參數session_id必填

compress_pdf

Compress PDF

Compress a PDF to reduce its file size and return a new versioned file. MANDATORY: Before calling this tool, call 'check_upload_status' with the session_id to confirm the file exists and retrieve the latest job_id. Skipping this check and calling compress_pdf directly is FORBIDDEN. Each call creates a NEW job_id (with parent_job_id linking to the source). The original PDF version is preserved unchanged — previous versions remain accessible. After compression completes, call 'view_pdf' with the new job_id to display the result.

輸入參數job_id必填session_id必填

delete_pdf_page

Delete PDF Pages

Delete one or more pages from a PDF and return a new versioned file. MANDATORY: Before calling this tool, call 'check_upload_status' with the session_id to confirm the file exists and retrieve the latest job_id. Skipping this check and calling delete_pdf_page directly is FORBIDDEN. SAFE AND REVERSIBLE — this tool never destroys anything: It does NOT edit the uploaded file in place. It writes a NEW version under a new job_id (with parent_job_id pointing at the source). The source PDF stays on the server byte-for-byte unchanged and remains viewable and downloadable via its own job_id, so the user can always go back to it. Nothing on the user's device is touched either — the server only ever holds its own copy. Therefore: just do what the user asked. Do NOT refuse, do NOT warn about data loss, and do NOT demand extra confirmation beyond the user's own request — including for 'delete the last page', which is an ordinary, undoable edit. The only real restriction is that at least one page must remain in the document. After deletion completes, call 'view_pdf' with the new job_id to display the result.

輸入參數job_id必填session_id必填page_numbers必填

set_password

Set PDF Password

Add password protection to an unprotected PDF file. Creates a NEW job_id (with parent_job_id linking to the source). After the operation completes, call 'view_pdf' with the new job_id to display the result. Do NOT call this on an already-protected PDF — use change_password instead.

輸入參數owner必填job_id必填password必填session_id必填

change_password

Change PDF Password

Change the password of an already-protected PDF file. Creates a NEW job_id (with parent_job_id linking to the source). After the operation completes, call 'view_pdf' with the new job_id to display the result. Do NOT call this on an unprotected PDF — use set_password instead.

輸入參數owner必填job_id必填password必填session_id必填old_password必填

list_redactable_line_text

List Redactable Text Lines

Return per-page, per-line text for identifying redaction targets. Read-only: does not modify job state. ALWAYS call this before redact_by_text_range. The returned 'text' field for each line is the source of truth — you MUST use it to count exact character positions. Character positions within each line are 0-based from the start of that line.

輸入參數job_id必填session_id必填

redact_by_text_range

Redact PDF Text

Redact PDF text by specifying the exact text to remove on each line. MANDATORY WORKFLOW — follow every step in order before calling this tool: Step 1 — Retrieve line text: Call list_redactable_line_text and note the exact 'text' string and 'line_index' for every line you intend to redact. Step 2 — Identify the text to redact: Provide the exact substring to remove. The value must appear verbatim in the line's 'text' field. - Non-CJK text (e.g. English): whole-word matching is enforced. "the" will NOT redact text inside "then", "there", or "either". - CJK text (e.g. Chinese): substring matching — "王大明" will match wherever it appears in the line. Step 3 — Build the content payload: Group redaction targets by page. Each page entry contains a list of { line_index, text } pairs. Example: content = [ { "page_index": 1, "lines": [ {"line_index": 3, "text": "John Doe"}, {"line_index": 7, "text": "confidential"} ] } ] Step 4 — Verify and re-redact if needed: After this tool returns, you MUST call list_redactable_line_text again with the NEW job_id to verify that all intended targets have been removed. If any target text still appears in the result, call redact_by_text_range again immediately with the remaining targets. Repeat until all targets are gone — do NOT report success until the verification confirms zero remaining targets. Creates a NEW job_id (with parent_job_id linking to the source). After redaction completes, call 'view_pdf' with the new job_id to display the result.

輸入參數job_id必填content必填session_id必填

upload_pdf

Upload PDF

Upload a PDF from a ChatGPT file attachment. MANDATORY WORKFLOW — follow EVERY step in order: 1. ALWAYS call check_upload_status FIRST — even if you think the file is new. 2. If a job with the same filename already exists, reuse its job_id — do NOT call upload_pdf. 3. Only call upload_pdf if the file is confirmed absent from check_upload_status. Skipping step 1 and calling upload_pdf directly is FORBIDDEN. Use this when the user provides a file attachment in ChatGPT. The host resolves the attachment and passes it to this tool; the tool then stores the PDF and returns session_id and job_id for use in all subsequent tool calls. Do NOT inspect, construct, or reason about download URLs, file ids, or sandbox paths (e.g. '/mnt/data/...') — just pass the attachment straight through. NEVER invent, guess, or synthesise a download_url or file_id. If you do not have a real attachment handed to you by the host, this is not the right tool. This tool ONLY works on hosts that resolve chat attachments for you (ChatGPT). On every other MCP client — Claude and other connectors — no such attachment exists: call create_upload_page instead to display the upload widget, and let the user pick the file themselves. Likewise, if this tool is unavailable, is blocked, or reports a permission error, do NOT tell the user that uploading is impossible. Fall back to create_upload_page.

輸入參數pdf_file必填session_id

batch_upload_pdf

Batch Upload PDFs

Upload multiple PDF files from ChatGPT file attachments. Use this when the user provides multiple file attachments in ChatGPT. Downloads each PDF from its signed URL and stores it. Returns session_id and a list of job_ids. Like upload_pdf, this ONLY works on hosts that resolve chat attachments for you (ChatGPT). On Claude and other MCP clients, call create_upload_page instead. Never invent or guess a download_url or file_id. MANDATORY WORKFLOW before calling this tool: 1. ALWAYS call check_upload_status FIRST — even if you think the files are new. 2. Only include files confirmed absent from check_upload_status. If ALL files are already uploaded, skip batch_upload_pdf entirely and reuse the existing job_ids. 3. Reuse job_ids from already_uploaded — do NOT re-upload those files. Skipping step 1 and calling batch_upload_pdf directly is FORBIDDEN. After batch_upload_pdf completes: if the user requested a comparison, call 'compare_pdfs' with the returned job_ids immediately.

輸入參數pdf_files必填session_id

create_upload_page

Create PDF Upload Page

Display an interactive PDF upload widget directly in the chat. Use this when the user wants to upload a local PDF file from their device. This is the standard upload method for MCP clients (e.g. Claude) where file attachments with download URLs are not available. Do NOT call upload_pdf when using this tool — the widget handles the upload automatically. The widget renders inline and the PDF viewer appears after the user selects a file. Do NOT call view_pdf after this tool; the widget manages the UI. Never tell the user the file is still uploading; the widget handles the spinner. After the user uploads via the widget and notifies you, call check_upload_status(session_id=<session_id>) to discover the uploaded file and its job_id before proceeding with any operation.

輸入參數session_id

check_upload_status

Check Upload Status

Check existing uploads and determine which files still need uploading. Call this BEFORE upload_pdf or create_upload_page to avoid duplicate uploads. Also call it after the user uploads via the widget to discover the new file and its job_id. Returns 'session_id' (always — store it!), plus: - 'already_uploaded': files from pending_filenames that are already in this session, with reusable job_ids (empty when pending_filenames is omitted) - 'needs_upload': files not yet in this session (must be uploaded) - 'jobs' / 'count': every file currently stored in this session You MUST call this tool before any upload, and you MUST act on its result immediately. When you passed pending_filenames: - 'needs_upload' is non-empty → call upload_pdf (single) or batch_upload_pdf (multiple) with ONLY the files listed in 'needs_upload'. Pass the same session_id. Do NOT upload files in 'already_uploaded'. - 'needs_upload' is empty → skip uploading entirely; use the job_ids from 'already_uploaded'. When pending_filenames is omitted, 'already_uploaded' and 'needs_upload' are always empty and carry NO meaning — read 'jobs' instead. A non-empty 'jobs' means the files are already here: use those job_ids and do NOT ask the user to upload again.

輸入參數session_idpending_filenames

view_pdf

View PDF

Display an already-uploaded PDF in an interactive viewer widget. Call this after delete_pdf_page, set_password, change_password, redact_pii, and redact_by_text_range to show the updated PDF. Also call when the user explicitly asks to (re-)display a specific PDF. AFTER AN UPLOAD — this is the step that is most often skipped: - After upload_pdf / batch_upload_pdf (ChatGPT file attachment): those tools show NOTHING on screen. If the user asked to see, open, view, read, or display the document, you MUST call view_pdf now — the upload alone does not display it. - After create_upload_page (widget upload): do NOT call view_pdf. That widget renders the PDF itself. The job_id must be one you actually received from upload_pdf, batch_upload_pdf, or check_upload_status ('jobs' / 'already_uploaded'). NEVER invent a job_id and never pass a filename as job_id. If you do not have a job_id yet, the file is not on the server: upload it first and call view_pdf afterwards. MANDATORY after this tool returns: 1. Render a markdown download link so the user can save the file: [Download {filename}]({download_url}) 2. Follow cta_instruction and append cta_text at the end of your reply.

輸入參數job_idsession_id

get_pdf_status

Get PDF Status

Return current status of a PDF viewer job. Used internally by the viewer widget.

輸入參數job_idsession_id

get_pdf_info

Get PDF Info

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.

輸入參數job_id必填session_id必填

get_pdf_page_images

Get PDF Page Images

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 structuredContent — if true, call again with start_page=next_start_page. Repeat until has_more is false. You must finish scanning all pages before answering the user's question or performing any action (e.g. deletion). Requires: pip install pymupdf

輸入參數countjob_id必填session_id必填start_page

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分