MintPDF
Turn HTML or Markdown into a clean, styled PDF and get a download link.
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~461Token(工具定義)
~2.3 KB典型回應大小
極小的注意力影響(128k 上下文的 0.36%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"mintpdf": {
"command": "npx",
"args": [
"mintpdf-mcp"
]
}
}
}可執行的套件
npmmintpdf-mcp
0.1.3stdio遠端端點
https://pdfmint-production-0b25.up.railway.app/mcpstreamable-httphttps://mintpdf.dev/mcpstreamable-http它能做什麼
工具清單
工具(2)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢generate_pdf(html, markdown, format, landscape, margin, ...)
Renders HTML or Markdown into a PDF and returns a download URL (valid for 1 hour). Provide exactly one of `html` or `markdown`. Markdown gets a clean default stylesheet, so it is the fastest way to produce a good-looking document.
輸入結構描述
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "Full HTML document or fragment to render"
},
"markdown": {
"type": "string",
"description": "Markdown content to render with the default stylesheet"
},
"format": {
"type": "string",
"enum": [
"A4",
"Letter",
"Legal",
"A3",
"A5"
],
"description": "Paper size, default A4"
},
"landscape": {
"type": "boolean",
"description": "Landscape orientation, default false"
},
"margin": {
"type": "string",
"description": "Page margin on all sides, e.g. \"18mm\""
},
"pageNumbers": {
"type": "boolean",
"description": "Show page numbers in the footer"
},
"headerText": {
"type": "string",
"description": "Small header text on every page"
},
"footerText": {
"type": "string",
"description": "Small footer text on every page"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢pdf_from_url(url, format, landscape, margin, pageNumbers, ...)
Loads a public web page and renders it to PDF. Returns a download URL valid for 1 hour. Only public http/https URLs are allowed.
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL of the page to render"
},
"format": {
"type": "string",
"enum": [
"A4",
"Letter",
"Legal",
"A3",
"A5"
],
"description": "Paper size, default A4"
},
"landscape": {
"type": "boolean",
"description": "Landscape orientation, default false"
},
"margin": {
"type": "string",
"description": "Page margin on all sides, e.g. \"18mm\""
},
"pageNumbers": {
"type": "boolean",
"description": "Show page numbers in the footer"
},
"headerText": {
"type": "string",
"description": "Small header text on every page"
},
"footerText": {
"type": "string",
"description": "Small footer text on every page"
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據
近期觀測
已驗證未記錄版本2 個工具
已驗證未記錄版本2 個工具
已驗證未記錄版本2 個工具
已驗證未記錄版本2 個工具