Pdfporter
概览
作者提供的说明(英文原文)
Convert files/URLs to PDF via conv2pdf; writes output files locally and deletes conversion jobs.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 237/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 注册中心没有列出需要填写的密钥。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"pdfporter": {
"command": "npx",
"args": [
"-y",
"@reneturcios/pdfporter",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add pdfporter -- npx -y @reneturcios/pdfporter mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"pdfporter": {
"command": "npx",
"args": [
"-y",
"@reneturcios/pdfporter",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"pdfporter": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@reneturcios/pdfporter",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 CloudCorpRecords 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3583 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3583 个服务器的 89% 更新
- 基础检查结果等于或优于此分类中其他 3583 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Pdfporter 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.1.0)于3天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, Docker。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
pdfporter
Files in, PDFs out — and PDFs reshaped. pdfporter is a client for the conv2pdf conversion service: it takes the path of a file on your computer, sends it for conversion, and writes the result back next to the original. Office documents, spreadsheets, presentations, images, e-books, PostScript and HTML files become PDFs; PDFs become Word documents or per-page images; and PDFs can be merged, split, page-extracted, rotated, numbered, watermarked, compressed, password-protected and unlocked.
Configuration
CONV2PDF_API_KEY(required for calls) — created in the conv2pdf dashboard, Developer tab. It is sent on every request asAuthorization: Bearer. Without a key the server still starts and lists its tools; any tool call fails with a message explaining how to set the key.CONV2PDF_API_URL(optional) — API base URL. Defaults tohttps://api.conv2pdf.com/v1.CONV2PDF_TIMEOUT_MS(optional) — per-request timeout in milliseconds. Defaults to120000, because a conversion may legitimately take up to about a minute.
Tools
convert_to_pdf— convert a file to PDF, chosen from its extension: Word, Excel, PowerPoint, OpenDocument, Apple Pages, RTF, TXT and CSV files go through office-to-pdf; PNG, JPG, WebP, GIF and TIFF images through image-to-pdf; HEIC/HEIF photos through heic-to-pdf; EPUB through epub-to-pdf; PS/EPS through ps-to-pdf; HTML through html-to-pdf. An unknown extension fails locally, with no request made.convert_url_to_pdf— render a public web page to PDF from its address. It always takes anoutput_path, because there is no input file to write next to.convert_heic_to_jpg— an iPhone HEIC or HEIF photo as a JPG.convert_pdf_to_word— a PDF with real text as an editable DOCX document. Passpasswordto open a protected PDF.convert_pdf_to_images— one PNG (default) or JPG per page, delivered in a ZIP file.merge_pdfs— combine 2 to 20 PDFs into one, in the order given inpaths.extract_pdf_pages— copy the pages listed inranges(such as1-5,7,10-12) into a new PDF, in the order written.split_pdf— one PDF per page, in a ZIP file.rotate_pdf— turn every page byrotation: 90, 180 or 270 degrees.add_page_numbers— number the pages, as "3 / 12" (format: "full", the default) or "3" (format: "simple"), atpositionbottom-center (default), bottom-left or bottom-right.add_watermark— stamp atextof up to 50 characters on every page.compress_pdf— reduce the size, withqualitylow, medium (default) or high, keeping images at 72, 150 or 300 DPI.protect_pdf— set a newpassword(6 to 64 characters), withprevent_printandprevent_copyto forbid printing or copying.unlock_pdf— remove a password you know (pass it aspassword), or the printing and copying restrictions.get_quota— the plan, usage and limits of the API key, returned verbatim.
Most PDF-reading tools accept an optional password that opens a protected PDF; the result has no password.
How a conversion behaves
- The input file is read locally and POSTed as multipart/form-data to
/convert/, the file in thefilefield plus the tool's fields as string fields. - On HTTP 429 or 503 the server waits for the delay the API gives (the
Retry-Afterheader, else the body'sretry_afterseconds) and retries, at most twice and only for delays of 30 seconds or less. - The convert response carries a
job_idand a relativedownload_url; the result is downloaded from the API origin, written to disk, and the job is then deleted from the service on a best-effort basis.
Results are never overwritten. By default the output sits next to the input: a conversion swaps the extension (report.docx gives report.pdf), a PDF operation adds a suffix (report.pdf gives report-compressed.pdf for compress_pdf, report-images.zip for convert_pdf_to_images, and so on), and a merge writes merged.pdf next to the first input. When the target name is taken, (2), (3), ... is appended before the extension until a free name is found. With an explicit output_path, an existing file there is refused before anything is sent.
A successful conversion answers with a JSON summary: {"job_id": ..., "output_path": ..., "size_bytes": ...}, plus the quota object copied from the convert response when the service sends one. get_quota returns the service's response body verbatim.
Errors: a non-2xx reply fails with conv2pdf error: when the body carries an error code, else conv2pdf error: HTTP ; an unreachable API fails with conv2pdf unreachable.
CLI
Each tool is a subcommand taking one JSON argument string:
npx @reneturcios/pdfporter convert_to_pdf '{"path":"report.docx"}'
npx @reneturcios/pdfporter convert_url_to_pdf '{"url":"https://example.com/article","output_path":"article.pdf"}' npx @reneturcios/pdfporter convert_heic_to_jpg '{"path":"IMG_0001.heic"}' npx @reneturcios/pdfporter convert_pdf_to_word '{"path":"report.pdf"}' npx @reneturcios/pdfporter convert_pdf_to_images '{"path":"report.pdf","format":"jpg"}' npx @reneturcios/pdfporter merge_pdfs '{"paths":["a.pdf","b.pdf"]}' npx @reneturcios/pdfporter extract_pdf_pages '{"path":"report.pdf","ranges":"1-5,7,10-12"}' npx @reneturcios/pdfporter split_pdf '{"path":"report.pdf"}' npx @reneturcios/pdfporter rotate_pdf '{"path":"scan.pdf","rotation":90}' npx @reneturcios/pdfporter add_page_numbers '{"path":"report.pdf","position":"bottom-right"}' npx @reneturcios/pdfporter add_watermark '{"path":"contract.pdf","text":"CONFIDENTIAL"}' npx @reneturcios/pdfporter compress_pdf '{"path":"big.pdf","quality":"low"}' npx @reneturcios/pdfporter protect_pdf '{"path":"confidential.pdf","password":"secret123","prevent_print":true}' npx @reneturcios/pdfporter unlock_pdf '{"path":"protected.pdf","password":"secret123"}' npx @reneturcios/pdfporter get_quota '{}' npx @reneturcios/pdfporter --version
Exit codes: 0 on success, 1 on a runtime error, 2 on a usage error.
MCP server
npx -y @reneturcios/pdfporter mcp
MCP client config:
{
"mcpServers": { "pdfporter": { "command": "npx", "args": ["-y", "@reneturcios/pdfporter", "mcp"], "env": { "CONV2PDF_API_KEY": " " } } } }
Docker
docker run -i ghcr.io/cloudcorprecords/pdfporter
docker run --rm ghcr.io/cloudcorprecords/pdfporter get_quota '{}'
Development
npm install
npm run build # tsc -> dist/ npm test # tsx --test test/*.test.ts (fake fetch only, no network) npm run dev # run the CLI from source
License
MIT — Copyright (c) 2026 Rene Turcios