Api2Pdf MCP by usefulapi

io.usefulapi由 usefulapi.io 發布官方發布者v1.36.4更新於 Nov 7, 2026

MCP server for Api2Pdf — generate PDFs & images from HTML, URLs or office files; merge, barcodes.

發布方自己的服務:Ably MCP by usefulapi

已驗證Streamable HTTP可網頁執行瀏覽器自動化檔案與儲存媒體與設計

概覽

AI 產生的概覽

託管的 Api2Pdf 伺服器,讓助理把 HTML、網址、Markdown 或 Office 檔案轉成 PDF 與圖片,並可合併、壓縮或加密 PDF。

可以做什麼
  • 把 HTML、網址、Markdown 或 Office 文件轉換為 PDF,把 HTML 或線上網頁渲染成圖片與截圖
  • 合併、壓縮、擷取頁面以及為既有 PDF 加上密碼保護
  • 把文件轉回 Markdown 文字,並產生條碼或 QR 碼
  • 查詢帳戶餘額、服務狀態與當月用量,刪除先前產生的檔案
  • 提出功能需求、升級付費方案或取消訂閱
適用情境
適合讓助理把發票、報告或信函產生成 PDF,把網頁存成 PDF 或截圖,合併或壓縮既有 PDF,或把文件內容轉成 Markdown 交給助理閱讀,而不必在本機執行轉換工具。
執行需求
遠端 MCP 端點,免本機安裝。首次連線時以 OAuth 登入,需貼上 Api2Pdf API 金鑰,金鑰會依使用者驗證並儲存;請勿在用戶端設定中加入 Authorization 標頭或金鑰。免費方案每月 50 次工具呼叫,另有付費方案。
安裝前請注意
多數轉換工具依文件計費並消耗每月呼叫額度,免費額度僅 50 次。升級工具會回傳 Stripe 結帳付款連結,取消訂閱當期不退費。產生的檔案以約 24 小時有效的連結回傳,刪除工具會移除已產生的檔案。送出的文件與網址會傳送給第三方 Api2Pdf 服務。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "api2pdf-by-usefulapi": {
      "type": "http",
      "url": "https://api2pdf.usefulapi.io/mcp"
    }
  }
}

README

Api2Pdf MCP by usefulapi

Generate PDFs and images from HTML, URLs, Markdown or office files, from Claude, Cursor, or any MCP client. Hosted, no local install — connect with your Api2Pdf API key.

Live endpoint: https://api2pdf.usefulapi.io/mcp · Homepage: https://usefulapi.io/api2pdf

Connect

  • Claude (claude.ai, Desktop): open Customize → Connectors, click + Add → Add custom connector, and paste https://api2pdf.usefulapi.io/mcp.
  • Claude Code: claude mcp add --transport http api2pdf https://api2pdf.usefulapi.io/mcp, then run /mcp to log in.
  • VS Code: Add to VS Code.
  • Cursor and other clients: add the URL as a remote MCP server:
json
{  "mcpServers": {    "api2pdf": {      "url": "https://api2pdf.usefulapi.io/mcp"    }  }}

Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your Api2Pdf credentials.

Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/api2pdf/

On first connect you'll paste your Api2Pdf API key. It's validated, stored per-user, and scoped to you.

Tools

ToolTypeWhat it does
api2pdf_html_to_pdfwriteHTML to PDF (Chrome)
api2pdf_url_to_pdfwriteURL to PDF (Chrome)
api2pdf_markdown_to_pdfwriteMarkdown to PDF (Chrome)
api2pdf_html_to_imagewriteHTML to image (Chrome)
api2pdf_url_to_imagewriteURL to image / screenshot (Chrome)
api2pdf_wkhtml_to_pdfwriteHTML to PDF (wkhtmltopdf)
api2pdf_office_to_pdfwriteOffice document to PDF (LibreOffice)
api2pdf_merge_pdfswriteMerge PDFs (PDFSharp)
api2pdf_compress_pdfwriteCompress PDF (PDFSharp)
api2pdf_extract_pageswriteExtract PDF pages (PDFSharp)
api2pdf_add_passwordwritePassword-protect PDF (PDFSharp)
api2pdf_convert_to_markdownwriteConvert document to Markdown (MarkItDown)
api2pdf_generate_barcodewriteGenerate barcode / QR code (Zebra)
api2pdf_get_balancereadGet account balance
api2pdf_get_statusreadGet service status
api2pdf_delete_filewriteDelete a generated file
api2pdf_usage_statusmetaUsage status (free-tier meter)
api2pdf_request_featuremetaRequest a missing feature
api2pdf_upgrademetaUpgrade to Pro or Pro+
api2pdf_cancel_subscriptionmetaCancel the Pro subscription

read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.

Pricing

PlanPriceLimit
Free$050 tool calls / month
Pro$9/mo or $90/yr (2 months free)Unlimited*

*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].

Pro covers this server only. Subscribe with api2pdf_upgrade (it returns a Stripe Checkout link). Cancel any time with api2pdf_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running api2pdf_upgrade before then undoes the cancel. Or write to [email protected].

License

MIT — see LICENSE. Documentation only; the server is hosted.

來源:servers/api2pdf/README.md,提交 4046075

工具

16

api2pdf_html_to_pdf

HTML to PDF (Chrome)

Render an HTML string to a PDF using the headless-Chrome engine. Returns a { FileUrl } link (valid ~24h) by default. Great for invoices, reports, and letters produced as HTML. BILLED per document. Api2Pdf API: POST /chrome/pdf/html.

輸入參數html必填inlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_url_to_pdf

URL to PDF (Chrome)

Fetch a web page by URL and render it to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). Use extraHTTPHeaders to pass auth for a protected page. BILLED. Api2Pdf API: POST /chrome/pdf/url.

輸入參數url必填inlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_markdown_to_pdf

Markdown to PDF (Chrome)

Render a Markdown string to a PDF using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/pdf/markdown.

輸入參數inlineoptionsstoragefileNamemarkdown必填output_binaryextraHTTPHeadersuseCustomStorage

api2pdf_html_to_image

HTML to image (Chrome)

Render an HTML string to an image using headless Chrome. Returns a { FileUrl } (valid ~24h) by default, or base64 bytes with output_binary:true. BILLED. Api2Pdf API: POST /chrome/image/html.

輸入參數html必填inlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_url_to_image

URL to image / screenshot (Chrome)

Take a screenshot of a live web page by URL using headless Chrome. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /chrome/image/url.

輸入參數url必填inlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_wkhtml_to_pdf

HTML to PDF (wkhtmltopdf)

Render an HTML string to a PDF using the wkhtmltopdf engine — an alternate to Chrome that supports a table of contents (pass enableToc / tocOptions inside `options`). Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /wkhtml/pdf/html.

輸入參數html必填inlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_office_to_pdf

Office document to PDF (LibreOffice)

Convert an office document (Word, Excel, PowerPoint, ODT, and many more) at a URL to a PDF using LibreOffice. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /libreoffice/any-to-pdf.

輸入參數url必填inlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_merge_pdfs

Merge PDFs (PDFSharp)

Merge several existing PDFs (given as URLs, in order) into a single PDF. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/merge.

輸入參數urls必填inlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_compress_pdf

Compress PDF (PDFSharp)

Compress an existing PDF (given as a URL) to reduce its file size. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/compress.

輸入參數url必填inlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_extract_pages

Extract PDF pages (PDFSharp)

Extract a range of pages from an existing PDF (given as a URL) into a new PDF. `start`/`end` are 0-based page indices; omit `end` to extract a single page. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/extract-pages.

輸入參數endurl必填startinlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_add_password

Password-protect PDF (PDFSharp)

Encrypt an existing PDF (given as a URL) with a user password (required to open) and an optional owner password (controls permissions). Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /pdfsharp/password.

輸入參數url必填inlineoptionsstoragefileNameuserpassword必填output_binaryownerpasswordextraHTTPHeadersuseCustomStorage

api2pdf_convert_to_markdown

Convert document to Markdown (MarkItDown)

Convert a document or file (given as a URL — PDF, Office docs, and more) to Markdown text via MarkItDown. Great for feeding a document's contents back to an agent. Returns a { FileUrl } (valid ~24h). BILLED. Api2Pdf API: POST /markitdown.

輸入參數url必填inlineoptionsstoragefileNameoutput_binaryextraHTTPHeadersuseCustomStorage

api2pdf_generate_barcode

Generate barcode / QR code (Zebra)

Generate a barcode or QR code image. `format` is the symbology (e.g. 'QRCode', 'Code128', 'PDF417', 'DataMatrix') and `value` is the string to encode. Returns a { FileUrl } (valid ~24h) by default, or base64 with output_binary:true. BILLED. Api2Pdf API: GET /zebra.

輸入參數value必填widthformat必填heightshowlabeloutput_binary

api2pdf_get_balance

Get account balance

Return the remaining balance / usage for the configured Api2Pdf account. Api2Pdf API: GET /balance.

無需輸入參數。

api2pdf_get_status

Get service status

Return the current Api2Pdf service / health status. Api2Pdf API: GET /status.

無需輸入參數。

api2pdf_delete_file

Delete a generated file

Delete a previously generated file by its ResponseId (the `ResponseId` returned in a generation response). Api2Pdf API: DELETE /file/{ResponseId}.

輸入參數responseId必填

版本歷史

22
  1. v1.36.5Nov 8, 2026
  2. v1.36.4最新Nov 7, 2026
  3. v1.35.3Nov 5, 2026
  4. v1.35.2Nov 5, 2026
  5. v1.35.1Nov 4, 2026
  6. v1.35.0Nov 3, 2026
  7. v1.34.1Nov 3, 2026
  8. v1.33.0Nov 1, 2026
  9. v1.31.0Oct 31, 2026
  10. v1.30.0Oct 31, 2026
  11. v1.29.2Oct 30, 2026
  12. v1.29.0Oct 30, 2026
  13. v1.24.0Oct 26, 2026
  14. v1.21.3Oct 25, 2026
  15. v1.21.0Oct 25, 2026
  16. v1.20.0Oct 24, 2026
  17. v1.17.0Oct 23, 2026
  18. v1.16.4Oct 22, 2026
  19. v1.16.3Oct 21, 2026
  20. v1.11.1Oct 9, 2026
  21. v1.10.0Oct 9, 2026
  22. v1.0.1Sep 16, 2026

評分

已滿足適用檢查項的 100%

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

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

其他 Usefulapi 整合