conv2pdf

com.conv2pdfv1.0.1更新於 Oct 5, 2026

Convert Office files, images and e-books to PDF; merge, compress or protect local PDFs.

概覽

AI 產生的概覽

透過 conv2pdf API 將 Office 檔案、圖片和電子書轉成 PDF,並合併、壓縮、加密或編輯本機 PDF。

功能
這是 conv2pdf API 的官方 stdio MCP 伺服器。工具可將 Word、Excel、PowerPoint、OpenDocument、Pages、RTF、TXT、CSV、圖片和 EPUB 轉成 PDF,將 HEIC 轉為 JPG,將 PDF 轉為 Word 或逐頁圖片,並可合併、擷取頁面、旋轉、編號、加浮水印、壓縮、加密或解除 PDF 保護。get_quota 工具可查詢方案用量。工具接收本機檔案路徑,上傳檔案處理後把結果寫到輸入檔案旁,不會覆寫原檔。
適用情境
適合需要在本機產生或整理 PDF 的情境,例如轉換報告、合併多個 PDF、壓縮掃描檔或加上密碼。若較重視轉換品質與在歐盟境內處理,而非完全離線完成,則相當適用。
執行需求
需要 Node.js 22 或更新版本及 npx,以本機 stdio 程序執行。需要 conv2pdf 帳號,並在 CONV2PDF_API_KEY 環境變數中提供於控制台 Developer 分頁建立的 API 金鑰。需要連線至 conv2pdf API 的網路。Dev 方案含 300 次免費轉換,有效期 12 個月;付費方案提高檔案大小上限。
安裝前請注意
檔案會上傳到 conv2pdf 伺服器進行轉換,文件內容會離開本機;其說明稱處理在法國的 OVHcloud 伺服器上進行。CONV2PDF_API_KEY 是僅在建立時顯示一次的金鑰。每次轉換都會消耗方案配額,包括部分被拒絕的工作,且每個金鑰每分鐘最多 20 次轉換。工具會寫入新檔案到磁碟,並可設定或移除 PDF 密碼。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

conv2pdf-mcp

Official Model Context Protocol server of the conv2pdf API. Your AI assistant converts Word, Excel, PowerPoint, Pages, images and e-books to PDF, converts PDFs to Word or to images, and merges, compresses, protects, rotates or numbers the PDFs that are on your computer. Processing runs on OVHcloud servers in France: no transfer outside the EU, no US service in the chain.

Installation · Tools · How it behaves · Development

Installation

  1. Create an account on conv2pdf.com. The Dev plan includes 300 free conversions, valid for 12 months; see pricing for the paid plans.
  2. Create an API key, which starts with cpdf_live_, in the Developer tab of your dashboard. conv2pdf shows it only once, at creation.
  3. Add the server to your MCP client, with the key in the CONV2PDF_API_KEY environment variable. It needs Node.js 22 or later.

In Claude Code:

bash
claude mcp add --env CONV2PDF_API_KEY=cpdf_live_... --transport stdio conv2pdf -- npx -y conv2pdf-mcp

On Windows, put cmd /c before npx.

In Claude Desktop, Cursor and the other clients configured with a JSON file:

json
{  "mcpServers": {    "conv2pdf": {      "command": "npx",      "args": ["-y", "conv2pdf-mcp"],      "env": { "CONV2PDF_API_KEY": "cpdf_live_..." }    }  }}

Then ask for what you need: "convert report.docx to PDF", "merge these three PDFs", "compress scan.pdf and protect it with a password".

Tools

ToolWhat it does
convert_to_pdfWord, Excel, PowerPoint, OpenDocument, Apple Pages, RTF, TXT, CSV, PNG, JPG, WebP, GIF, TIFF, HEIC or EPUB file to PDF, chosen from the extension
convert_heic_to_jpgiPhone HEIC or HEIF photo to JPG
convert_pdf_to_wordPDF with real text to an editable DOCX document
convert_pdf_to_imagesOne PNG or JPG per page, in a ZIP file
merge_pdfsCombine several PDFs into one, in the order given
extract_pdf_pagesKeep the pages you list, such as 1-5,7,10-12, in a new PDF
rotate_pdfTurn every page by 90, 180 or 270 degrees
add_page_numbersNumber the pages, as "3 / 12" or "3", bottom center, left or right
add_watermarkStamp a text of up to 50 characters on every page
compress_pdfReduce the size, keeping images at 72, 150 or 300 DPI
protect_pdfSet a password, and optionally forbid printing or copying
unlock_pdfRemove a password you know, or the printing and copying restrictions
get_quotaPlan, usage and limits of the API key

How it behaves

  • Files stay on your computer, except for the conversion. A tool takes the path of a file, sends the file to conv2pdf and writes the result on your disk. conv2pdf checks the content of the file, not only its name.
  • Nothing is overwritten. The result goes next to the input file: report.docx gives report.pdf, and a PDF tool adds a suffix, such as report-compressed.pdf. When that name is taken, the server writes report (2).pdf. The assistant can choose the place with output_path; if a file is already there, the tool refuses before converting anything.
  • Deleted from the server. Once the result is on your disk, the server deletes the job from conv2pdf. Should that fail, conv2pdf deletes the files after one hour.
  • Quota. Each conversion counts as one in the quota of your plan, including one that conv2pdf refuses after reading the file, such as an unreadable or scanned PDF, or one with too many pages. A file refused on arrival (wrong type, too large, password missing), a refused setting (a page range that does not exist, a password that is too short) and a failure on the side of conv2pdf count for nothing, and get_quota is free. Files can weigh up to 10 MB on the Dev plan and 200 MB on paid plans.
  • Rate limit. The API accepts 20 conversions per minute per API key. When it asks to slow down, or when its queue is full, the server waits for the delay the API gives and tries again, twice at most and only for delays of 30 seconds or less; otherwise the assistant gets the delay to wait.
  • Protected PDFs. The tools that read a PDF, except merge_pdfs, open one that asks for a password when the assistant passes it as password. The result has no password. For a merge, unlock the protected PDFs first.
  • Pages and Numbers. A Pages document keeps its .pages extension: only the name tells it from a Numbers spreadsheet, which conv2pdf does not convert, like Keynote presentations.
  • Errors. A refusal comes back to the assistant as a sentence it can act on: the wrong password, the page range that does not exist, the plan limit, the key to set. A cancelled call stops the transfer and leaves no file behind.
  • Without a key. The server starts and lists its tools; a call explains how to set CONV2PDF_API_KEY.

Every request carries User-Agent: conv2pdf-mcp/<version>. Mention it when you contact support: it tells your calls apart in the API's logs.

Development

The server has no dependency: Node.js runs the sources as they are. It talks to its client over stdio and serves both eras of the protocol from the same process: revision 2026-07-28, where each request carries its protocol version, and the earlier revisions (2025-11-25 down to 2024-11-05), which start with an initialize handshake.

bash
npm test

runs the tests against a fake conv2pdf API on a local port: no key and no network are needed.

bash
npm run check-tools

compares the extensions convert_to_pdf routes on with what the live API accepts (GET /v1/tools).

Releasing

  1. Set the version in package.json and server.json, and date its section in CHANGELOG.md.
  2. Run npm test and npm run check-tools.
  3. Commit, then push a tag named after the version: the Publish workflow publishes the package to npm through Trusted Publishing, with a provenance statement.
  4. Publish the entry of the MCP Registry: mcp-publisher login http --domain conv2pdf.com, then mcp-publisher publish. The name com.conv2pdf/conv2pdf is proved by the public key served at https://conv2pdf.com/.well-known/mcp-registry-auth.

Resources

Support

Open an issue or write to [email protected].

License

MIT, see LICENSE.

來源:README.md,提交 46c7db3

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.1最新Oct 5, 2026