原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Redact PDF MCP

作者:dambuchs版本 0.4.1i★ –i在你的电脑上运行
注册名称io.github.dambuchs/redact-pdf-mcp

安装

概览

作者提供的说明(英文原文)

Redact or anonymize PDFs: black boxes or consistent [Person 1] tags. EU/Swiss, no AI training.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "redact-pdf": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add redact-pdf -- npx -y redact-pdf-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "redact-pdf": {
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "redact-pdf": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "redact-pdf-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 dambuchs 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 2198 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2198 个服务器的 62% 更新
  • 基础检查结果等于或优于此分类中其他 2198 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Redact PDF MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.4.1)于20天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

作者:BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

在云端运行★ 7,620MIT2个月前更新
安装

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

在你的电脑上运行★ 4,276MIT7天前更新
安装

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

在你的电脑上运行★ 847MIT4天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Redact PDF MCP server

An MCP server that permanently redacts PII from PDFs. Give an agent a PDF, get back a PDF with the sensitive text *removed from the file* — not covered with a black rectangle that anyone can select, copy, or delete.

Most "redaction" MCP servers scrub PII out of prompt text. This one takes a real document and returns a real redacted document.

It also anonymizes. With mode: "pseudonymize" every person, company and address becomes a consistent tag such as [Person 1] instead of a black box, so the document stays readable (e.g. before pasting a contract into ChatGPT or Claude), and you get the tag → original table to restore the names.

claude mcp add redact-pdf -- npx -y redact-pdf-mcp

Then ask: *"Redact the personal data in ~/Documents/contract.pdf"*, or *"Anonymize ~/Documents/contract.pdf with placeholders so I can paste it into an AI"*.


Your data

You are sending the document the agent is meant to protect, so this comes first.

  • Never used to train AI models — not ours, not Microsoft's, not anyone's. The Azure AI services used for OCR and PII detection run with content logging disabled, so document content is not retained or used for model improvement.
  • Processed in the EU and Switzerland on Microsoft Azure.
  • Encrypted with TLS 1.2+ in transit and AES-256 at rest.
  • The original is deleted after processing under the default ephemeral retention. The redacted output is kept for your account's retention window (14 days by default, configurable) and can be purged at any time with DELETE /v1/jobs/{job_id}.
  • Certified infrastructure. Azure holds SOC 2 Type II, ISO 27001, ISO 27017 and ISO 27018 certifications and is HIPAA-eligible under Microsoft's BAA. Redact PDF AI itself is not independently audited for these frameworks; it is built so legal, medical and finance teams can use it inside their own compliance posture.
  • The MCP server sends no telemetry of its own — see what the server does locally.

Details: redact-pdf.ai/security · privacy policy

Why not let the agent redact it itself?

An agent can find names in text. It cannot make a PDF safe on its own:

  • A black box is not a redaction. Drawing a rectangle over text leaves the text layer underneath; anyone can select, copy or extract it. This server rasterizes each page and drops the text layer and metadata, so there is nothing left to recover.
  • Scans have no text to search. Contracts, IDs and statements are often images. OCR runs first, in 100+ languages, then PII detection runs over what it read.
  • Detection is a model, not a regex. Names, addresses and organizations do not follow a pattern. The detector is purpose-built for PII, and your always-redact and never-redact lists cover the rest.

Examples

Prompts that work as-is once the server is installed:

  • *"Redact the personal data in ~/Documents/lease.pdf before I send it to the agency."*
  • *"Redact names, emails and IBANs in every PDF in ~/Downloads/statements, keep our company name visible."* — the agent passes pii_excluded_terms for the company name and fans out with redact_pdf.
  • *"Here is a screenshot of a customer ticket. Remove the phone number and address, then give me a PDF I can attach."* — images go in directly, no conversion.
  • *"Try the redact-pdf demo on ~/Documents/contract.pdf so I can see what it does."* — keyless, first page only.

Try it with no API key

The server ships a keyless tool, try_demo. Give it a file and it redacts the first page for real — no key, no account — and tells the agent what it found:

You: Use the redact-pdf server's try_demo tool on ~/Documents/contract.pdf.

Claude: Redacted the first page of contract.pdf (4 pages). Personal data removed

on that page: Person, Email. Here is the redacted page (link valid 14 days). To redact

all 4 pages, a free account gets the first document (up to 5 pages) done in full, no card.

Call it with no file and it runs a built-in synthetic sample instead, which is the zero-configuration connectivity check. Same thing from a terminal, no install:

curl https://www.redact-pdf.ai/v1/demo

curl -F file=@contract.pdf https://www.redact-pdf.ai/v1/demo/redact

What it does

  • Permanent, irreversible redaction. The underlying text is deleted, not masked. It cannot be recovered by copy-paste, text extraction, or "remove object" in a PDF editor.
  • PDFs and images. Pass a PDF, JPEG or PNG. Photos and screenshots do not need converting first; the output is a redacted PDF either way.
  • Scanned documents. OCR handles image-only PDFs and photos of documents.
  • 100+ languages for entity detection.
  • Eight entity types: Person, Email, PhoneNumber, Address, Organization, Date, IBAN, CreditCard — plus your own always-redact and never-redact term lists.
  • EU/Swiss processing, never used for AI training — see Your data.
  • Pseudonymize instead of black boxes. mode: "pseudonymize" replaces each entity with a consistent tag ([Person 1], [Org 1], [Address 1]...), identical on every page and for every variant of a name, so the document stays readable for a colleague or another AI. The text is still removed, not covered, and redact_pdf_and_wait also returns the tag → original table (CSV).
  • Human review when it matters. retention: "studio" keeps the detected masks so a person can check and adjust them before export.

Install

Claude Code
claude mcp add redact-pdf --env REDACT_PDF_API_KEY=your_key -- npx -y redact-pdf-mcp
Claude Desktop

claude_desktop_config.json:

{

"mcpServers": { "redact-pdf": { "command": "npx", "args": ["-y", "redact-pdf-mcp"], "env": { "REDACT_PDF_API_KEY": "your_key" } } } }

Cursor

.cursor/mcp.json:

{

"mcpServers": { "redact-pdf": { "command": "npx", "args": ["-y", "redact-pdf-mcp"], "env": { "REDACT_PDF_API_KEY": "your_key" } } } }

VS Code
code --add-mcp '{"name":"redact-pdf","command":"npx","args":["-y","redact-pdf-mcp"],"env":{"REDACT_PDF_API_KEY":"your_key"}}'

Get an API key at redact-pdf.ai/sign-up. A free account gets its first document (up to 5 pages) redacted in full, no card. Without a key, try_demo still works; everything else will tell the agent to ask you for one.

A client that can't pass the key in the environment (Cowork drops a plugin MCP server whose config references a plugin setting, so the Claude plugin passes none) can save it instead: give the agent the key and it calls set_api_key, which checks the key against the API and, when the client supports MCP elicitation, asks you to approve the account (email and the key's last four characters). A confirmed key is written to ~/.config/redact-pdf-mcp/key (or $XDG_CONFIG_HOME/redact-pdf-mcp/key), readable by your user only, and is never replaced without the same confirmation. A client without elicitation gets the key for that session only, in memory, never over a key that still works, and every tool result names the account. That keeps a key planted in a processed document from silently redirecting your files. The tool never returns the key. You can also write the file yourself once (see the plugin README for the one-line command). REDACT_PDF_API_KEY takes priority when it is set; an empty value, or an unsubstituted placeholder such as ${user_config.api_key}, counts as unset.

Tools

ToolWhat it does
redact_pdf_and_waitStart here. Upload, redact, wait, return the finished PDF. One call.
redact_pdfStart a job and return immediately, for redacting several documents in parallel.
get_job_statusPoll a job: uploaded → analyzing → redacting → redacted \error.
download_redactedFetch the redacted output for one document.
download_correspondenceFetch the tag → original table of a pseudonymized document (mode: "pseudonymize").
try_demoKeyless. With a file: redact its first page for real. Without: run the built-in sample.
restore_namesLocal only. Put the real names back into a .md, .txt or .docx the agent wrote from the pseudonymized text. Returns the output path and counts, never a name.
get_account_statusCheck the API key is valid and see the account, before a big batch.
set_api_keyLocal only. Check a key the user gives in the conversation and save it user-only on this machine, for clients that can't pass REDACT_PDF_API_KEY. Never returns the key.

Redaction rules, on either redact tool:

ArgumentEffect
pii_categoriesRestrict to specific entity types. Omit for account defaults.
pii_included_termsAlways redact these, even if not detected as PII (codenames, case numbers).
pii_excluded_termsNever redact these, even if detected (your own company name).
retentionephemeral (default) deletes the original after processing. studio keeps masks for human review.
moderedact (default) draws black boxes. pseudonymize draws consistent tags such as [Person 1] and returns the correspondence table (stdio: written next to the PDF as *-correspondence.csv; remote: inline as correspondence_csv) plus the document as text with the tags in place (document_text, or document_text_path / document_text_url past 32 KB). Also accepted by try_demo.

Anonymize → let the AI work → put the names back

The local server closes the loop without the model ever seeing a name:

  1. redact_pdf_and_wait with mode: "pseudonymize" returns the redacted PDF, the correspondence table on disk, and document_text: the document as text, every name replaced by its tag. The agent works from that text.
  2. The agent writes its answer (summary, memo, letter) to a .md, .txt or .docx file, keeping the tags as written.
  3. restore_names with that file and the correspondence_path writes -restored. with the real names, and returns only the path and counts.

The agent must not open the original document first, nor the correspondence CSV or the restored file afterwards: any of those reads puts the personal data back into the conversation. The server instructions and tool descriptions say so explicitly.

Remote server

The package also ships a streamable-HTTP server for hosted use, where the API key travels per request instead of in the environment:

npx redact-pdf-mcp-http     # listens on :8080/mcp
POST /mcp

X-API-Key: your_key (or: Authorization: Bearer your_key)

It is stateless — no sessions, no stored keys, nothing kept between requests — so each request gets its own short-lived server instance and one caller's ke

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx