Prince Cloud
Convert Markdown, HTML, and web pages to high-quality PDF with Prince.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"prince": {
"url": "https://prince.cloud/mcp"
}
}
}遠端端點
https://prince.cloud/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢url_to_pdf(url, style, page_size, page_margin, javascript, ...)
Fetch a URL and convert it to PDF using Prince. Args: url: URL of a document to fetch and convert style: Additional CSS to apply (inline stylesheet content) page_size: Page size (e.g., A4, letter) page_margin: Page margins (e.g., 20mm) javascript: Enable JavaScript execution pdf_profile: PDF profile (e.g., PDF/A-3b, PDF/UA-1) output_filename: Output filename for the PDF (default: "output.pdf")
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"title": "Url",
"type": "string"
},
"style": {
"default": "",
"title": "Style",
"type": "string"
},
"page_size": {
"default": "",
"title": "Page Size",
"type": "string"
},
"page_margin": {
"default": "",
"title": "Page Margin",
"type": "string"
},
"javascript": {
"default": false,
"title": "Javascript",
"type": "boolean"
},
"pdf_profile": {
"default": "",
"title": "Pdf Profile",
"type": "string"
},
"output_filename": {
"default": "",
"title": "Output Filename",
"type": "string"
}
},
"required": [
"url"
],
"title": "url_to_pdfArguments"
}🟢markdown_to_pdf(content, style, page_size, page_margin, javascript, ...)
Convert Markdown content to PDF using Prince. Args: content: Markdown content to convert style: Additional CSS to apply (inline stylesheet content) page_size: Page size (e.g., A4, letter) page_margin: Page margins (e.g., 20mm) javascript: Enable JavaScript execution pdf_profile: PDF profile (e.g., PDF/A-3b, PDF/UA-1) output_filename: Output filename for the PDF (default: "output.pdf")
輸入結構描述
{
"type": "object",
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"style": {
"default": "",
"title": "Style",
"type": "string"
},
"page_size": {
"default": "",
"title": "Page Size",
"type": "string"
},
"page_margin": {
"default": "",
"title": "Page Margin",
"type": "string"
},
"javascript": {
"default": false,
"title": "Javascript",
"type": "boolean"
},
"pdf_profile": {
"default": "",
"title": "Pdf Profile",
"type": "string"
},
"output_filename": {
"default": "",
"title": "Output Filename",
"type": "string"
}
},
"required": [
"content"
],
"title": "markdown_to_pdfArguments"
}🟢html_to_pdf(content, style, page_size, page_margin, javascript, ...)
Convert HTML content to PDF using Prince. Args: content: HTML content to convert style: Additional CSS to apply (inline stylesheet content) page_size: Page size (e.g., A4, letter) page_margin: Page margins (e.g., 20mm) javascript: Enable JavaScript execution pdf_profile: PDF profile (e.g., PDF/A-3b, PDF/UA-1) output_filename: Output filename for the PDF (default: "output.pdf")
輸入結構描述
{
"type": "object",
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"style": {
"default": "",
"title": "Style",
"type": "string"
},
"page_size": {
"default": "",
"title": "Page Size",
"type": "string"
},
"page_margin": {
"default": "",
"title": "Page Margin",
"type": "string"
},
"javascript": {
"default": false,
"title": "Javascript",
"type": "boolean"
},
"pdf_profile": {
"default": "",
"title": "Pdf Profile",
"type": "string"
},
"output_filename": {
"default": "",
"title": "Output Filename",
"type": "string"
}
},
"required": [
"content"
],
"title": "html_to_pdfArguments"
}社群
證據