Rendlet PDF
HTML or JSON templates (invoice, itinerary) to PDF. Free plan: 100 documents/month.
我该使用它吗
质量与安全性
发现(3)
- HIGH
- MEDIUM在 render_template 中
- LOW在 get_pricing 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"pdf": {
"url": "https://rendlet.com/mcp"
}
}
}远程端点
https://rendlet.com/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢list_capabilities
Use first to learn what Rendlet can render and which tools are free. Inputs: none. Output: JSON listing tools, input modes (HTML, built-in invoice/itinerary templates), page sizes, limits per plan, auth method and links. Cost: free, no key.
输入模式
{
"type": "object",
"properties": {}
}🟢get_pricing
Use when the user asks about price, hits a quota, or needs more documents. Inputs: none. Output: JSON with the free key, monthly plans with Stripe links, prepaid credit packs with Stripe Payment Links, the USDC-on-Base purchase endpoint and steps, and the cost of each tool. Cost: free, no key.
输入模式
{
"type": "object",
"properties": {}
}🟢preview_pdf(html)
Use to show what a document will look like before paying or signing up. Inputs: optional "html" (string, up to 50 KB; omit to preview the built-in sample invoice). Output: a 1-page low-resolution, PREVIEW-watermarked PDF (rasterized first A4 page) as an embedded base64 resource. Not for production use. Cost: free, no key, 3 previews per IP per day.
输入模式
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "HTML to preview. Omit to preview the sample invoice."
}
}
}🟢html_to_pdf(html, format, landscape, margin, filename)
Use to produce a real, full-quality PDF from HTML (reports, receipts, letters). Inputs: "html" (required), "format" (A4|Letter|Legal|A3|A5), "landscape", "margin" (CSS length), "filename". Rendered by headless Chromium with JavaScript disabled; only data: URIs and public https assets load; Chinese text supported. Output: the PDF as an embedded base64 resource plus pages, bytes and remaining quota. Requires "Authorization: Bearer <key>" (or "sandbox" for a watermarked 1-page trial, 5/day). Without a usable key it returns a 402 payment_required result with buy links. Cost: 1 document from your monthly plan (free key: 100/month), or 1 prepaid credit after the cap.
输入模式
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "Full HTML document or fragment."
},
"format": {
"type": "string",
"enum": [
"A4",
"Letter",
"Legal",
"A3",
"A5"
],
"default": "A4"
},
"landscape": {
"type": "boolean",
"default": false
},
"margin": {
"type": "string",
"description": "CSS length, e.g. 12mm",
"default": "12mm"
},
"filename": {
"type": "string",
"default": "document.pdf"
}
},
"required": [
"html"
]
}🟢render_template(template, data, filename)
Use when you have structured data for an invoice or travel itinerary and want a clean PDF without writing HTML. Inputs: "template" ("invoice": seller, buyer, items, tax_rate, currency; "itinerary": trip, days), "data" (object; full examples at GET https://rendlet.com/v1/templates), "filename". Output: the PDF as an embedded base64 resource plus pages and remaining quota. Same auth and 402 behaviour as html_to_pdf. Cost: 1 document from your monthly plan, or 1 prepaid credit after the cap.
输入模式
{
"type": "object",
"properties": {
"template": {
"type": "string",
"enum": [
"invoice",
"itinerary"
]
},
"data": {
"type": "object",
"description": "Template data; see https://rendlet.com/v1/templates"
},
"filename": {
"type": "string",
"default": "document.pdf"
}
},
"required": [
"template",
"data"
]
}社区
证据