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"
}社区
证据