目录 / Leafwright
MCP
鉴权未知
未评级
已上架
Leafwright
Official Leafwright MCP. Generate PDFs, build templates, debug failed renders. HTML/URL/Handlebars to PDF. Not DOCX/ICE. Not Leaf agriculture (withleaf.io). npm: @leafwright/mcp 0.2.2 (npx -y @leafwright/mcp). Remote: https://leafwright.co/mcp (OAuth 2.1, Streamable HTTP). Docs: https://leafwright.co/docs/mcp
该来源不提供完整文件导出(国内平台多为平台内托管),仅存元数据与原链
接入信息
- 传输形态
- http
- 鉴权方式
- 鉴权未知
- 端点
https://leafwright--alejandro-3cog.run.tools
鉴权方式未标注,请核对官方文档后再接入——不要直接使用以下片段
{
"mcpServers": {
"Leafwright": {
"url": "https://leafwright--alejandro-3cog.run.tools"
}
}
}
能力清单
| 工具 | 说明 |
|---|---|
| leafwright_login | Start a browser login flow for Leafwright MCP. Open the returned URL, choose an organization and project, then call leafwright_auth_status. |
| leafwright_auth_status | Check whether Leafwright MCP is authenticated. Completes a pending browser login if approved. |
| leafwright_logout | Revoke the stored Leafwright MCP token and clear local auth state. |
| leafwright_list_organizations | List organizations available to the authenticated Leafwright MCP token. |
| leafwright_list_projects | List projects available to the authenticated Leafwright MCP token. |
| leafwright_select_project | Set the local default project for future project-scoped MCP tool calls. |
| leafwright_list_templates | List templates available to the active Leafwright project. |
| leafwright_get_template | Fetch a single template, including its draft HTML/CSS, sample data, and published versions. |
| leafwright_validate_template | Validate a template (optionally with draft HTML/CSS/sample-data overrides) before rendering. Validation errors state which tag, attribute, or URL was rejected and what to use instead; the leafwright://docs resource lists the full HTML rules. |
| leafwright_get_job | Fetch render job status and metadata (pages, credits used, file size, duration). |
| leafwright_get_job_logs | Fetch render logs for a job. Use this to debug a failed or wrong-looking render. |
| leafwright_get_usage | Get current billing-period usage for the active project. |
| leafwright_estimate_usage_cost | Estimate credit usage and overage cost for a planned batch of renders against the active project's plan and current billing period. |
| leafwright_render_html | Render raw HTML into a PDF. Returns job metadata and a signed download URL for sync renders. Full HTML documents are supported: doctype, html, head, meta, title, body, style, plus text, layout, table, and img tags. Rejected: <script>, <iframe>, <object>, <embed>, <form>, <link>, inline <svg> markup, inline event handlers, and external http(s) asset URLs. Embed images — including SVGs — as base64 data URIs in <img> src (data:image/png, jpeg, gif, webp, or svg+xml;base64,...), relative paths, or cid: references. CSS must not use @import or external url(). |
| leafwright_render_url | Render a public HTTP(S) URL into a PDF. Leafwright applies SSRF protections before rendering. |
| leafwright_render_template | Render a published Leafwright template with JSON data. |
| leafwright_create_template | Create a new draft template. Drafts are not published; publishing requires a human in the dashboard. |
| leafwright_update_template_draft | Update a template's draft HTML, CSS, name, or sample data. |
| leafwright_ai_generate_template | Create an AI-assisted template draft from a prompt. |
| leafwright_ai_revise_template | Revise a template's draft from a natural-language instruction. |
| leafwright_ai_fix_from_logs | Repair a template's draft using the render logs of a failed or wrong-looking job. |
纠错与举报(发现条目失效、署名有误或涉及侵权?)
提交举报 / 纠错
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。