PDFShift

io.github.cnicodeme由 GitHub 帳號 cnicodeme 發布v1.0.0更新於 Nov 5, 2026

A remote MCP server to convert HTML documents (URL or raw source) to PDF or screenshots

已驗證Streamable HTTP可網頁執行效率與工作流媒體與設計

概覽

AI 產生的概覽

遠端 PDFShift 伺服器,讓助理把 HTML 或網址轉成 PDF、PNG、JPEG 或 WEBP,管理 HTML 範本,並查看額度與轉換紀錄。

可以做什麼
  • 將 HTML 文件或網址轉換為 PDF、PNG、JPEG 或 WEBP,並取得臨時下載連結
  • 建立、列出、讀取、更新與刪除可重複使用的 HTML 範本
  • 將已儲存的範本算繪成 HTML 或文件格式,可帶入範本變數與轉換選項
  • 查詢帳戶額度使用情形,列出可用方案與價格
  • 列出最近的轉換紀錄,並依請求 ID 取得單筆紀錄
適用情境
適合需要把網頁或 HTML 轉成 PDF、圖片,或算繪並維護可重複使用文件範本,又不想自行架設本機算繪環境的情境。也方便查看剩餘額度與回顧過往轉換。
執行需求
透過 streamable HTTP 連線至 api.pdfshift.io 遠端端點,不需安裝套件或本機執行環境。清單未宣告驗證,但範本、額度、價格與紀錄工具都作用於帳戶,因此很可能需要 PDFShift 帳戶及其憑證。需要網路連線。
安裝前請注意
轉換會消耗 PDFShift 額度,而額度屬於付費方案,頻繁使用會產生費用。範本工具會建立、修改與刪除帳戶中的資料。轉換回傳的下載連結為臨時性質,約兩天後失效。帳戶層級工具會揭露額度使用情形與轉換紀錄。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "pdfshift": {
      "type": "http",
      "url": "https://api.pdfshift.io/mcp"
    }
  }
}

工具

11

convert

Convert an HTML document or a URL to a PDF, PNG, JPEG or WEBP file. Returns a temporary download URL (valid ~2 days).

輸入參數cssdelayformatsource必填sandboxwait_forlandscapeuse_print

list_templates

List all saved HTML templates for the account.

無需輸入參數。

get_template

Get the raw HTML content of a template by its slug.

輸入參數slug必填

create_template

Create a new reusable HTML template.

輸入參數name必填slug必填content必填

update_template

Update the name and/or HTML content of an existing template.

輸入參數nameslug必填content必填

delete_template

Delete a template by its slug.

輸入參數slug必填

generate_from_template

Render a saved template to HTML, PDF, PNG, JPEG or WEBP. Document formats return a temporary download URL; html returns the rendered markup. Pass template variables and any conversion option as extra properties.

輸入參數slug必填format

credits_usage

Get the current credit usage for the account (remaining, total, used).

無需輸入參數。

pricing

List the available PDFShift plans and their pricing (credits, price, overage, monthly/yearly). Custom plans specific to the account are included when authenticated.

無需輸入參數。

list_logs

List recent conversion logs for the account.

輸入參數keylimitcursorstatus

get_log

Get a single conversion log by its request id.

輸入參數request_id必填

版本歷史

1
  1. v1.0.0最新Nov 5, 2026

評分

已滿足適用檢查項的 83%

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

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

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。