目录 / html-to-pdf-generator
MCP
需 API Key
未评级
已上架
html-to-pdf-generator
Generate PDFs from HTML templates via AI agents or API. List templates, submit jobs with JSON data, check credits, and generate watermarked previews — all through MCP tools. Templates support LiquidJS templating with conditionals, loops, and raw variable injection.
该来源不提供完整文件导出(国内平台多为平台内托管),仅存元数据与原链
接入信息
- 传输形态
- http
- 鉴权方式
- 需 API Key(需要配置:x-api-key)
- 端点
https://html-to-pdf-generator--com-docpenny.run.tools
该服务需要凭证,请按官方文档申请后替换占位符
{
"mcpServers": {
"html-to-pdf-generator": {
"headers": {
"Authorization": "Bearer \u003cYOUR_KEY\u003e"
},
"url": "https://html-to-pdf-generator--com-docpenny.run.tools"
}
}
}
能力清单
| 工具 | 说明 |
|---|---|
| list_templates | List available PDF templates with optional pagination. Returns template names, IDs, and their required LiquidJS variables. Use source="system" to list system-wide pre-built templates instead of org-owned ones. |
| get_template | Get detailed information about a specific template, including its variables and JSON schema. |
| submit_job | Submit a new PDF generation job using a template and JSONL data. Each line in the data array represents one PDF to generate with variable values. |
| get_job | Get the status and progress of a PDF generation job, including task counts (total, completed, failed). |
| get_credits | Check the organization's credit balance, including paid credits, free/promotional credits, and total available credits. |
| generate_preview | Generate a watermarked preview PDF (no credits consumed). The preview PDF is available for one-time download via the returned URL, then deleted from storage. |
纠错与举报(发现条目失效、署名有误或涉及侵权?)
提交举报 / 纠错
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。