Prince Cloud

Convert Markdown, HTML, and web pages to high-quality PDF with Prince.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
80%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~796token 数(工具定义)
~1.5 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.62%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 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"
}

社区

评价此服务器

证据

最近观测

已验证未记录版本3 个工具
已验证未记录版本3 个工具