Leafwright

Official Leafwright MCP.

От сообщества: Добавлен пользователем или импортирован; проверьте владельца перед подключениемРаботаетБез входаГлобальныйБесплатноТолько чтение

Что умеет

  • 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.

Какие данные видит

Нужен ли аккаунт

Не нужен: сервер работает без входа

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

Список инструментов сервера (21)

Технические названия из tools/list. Нужны только разработчикам.

leafwright_loginStart a browser login flow for Leafwright MCP. Open the returned URL, choose an organization and project, then call leafwright_auth_status.
leafwright_auth_statusCheck whether Leafwright MCP is authenticated. Completes a pending browser login if approved.
leafwright_logoutRevoke the stored Leafwright MCP token and clear local auth state.
leafwright_list_organizationsList organizations available to the authenticated Leafwright MCP token.
leafwright_list_projectsList projects available to the authenticated Leafwright MCP token.
leafwright_select_projectSet the local default project for future project-scoped MCP tool calls.
leafwright_list_templatesList templates available to the active Leafwright project.
leafwright_get_templateFetch a single template, including its draft HTML/CSS, sample data, and published versions.
leafwright_validate_templateValidate 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_jobFetch render job status and metadata (pages, credits used, file size, duration).
leafwright_get_job_logsFetch render logs for a job. Use this to debug a failed or wrong-looking render.
leafwright_get_usageGet current billing-period usage for the active project.
leafwright_estimate_usage_costEstimate credit usage and overage cost for a planned batch of renders against the active project's plan and current billing period.
leafwright_render_htmlRender 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_urlRender a public HTTP(S) URL into a PDF. Leafwright applies SSRF protections before rendering.
leafwright_render_templateRender a published Leafwright template with JSON data.
leafwright_create_templateCreate a new draft template. Drafts are not published; publishing requires a human in the dashboard.
leafwright_update_template_draftUpdate a template's draft HTML, CSS, name, or sample data.
leafwright_ai_generate_templateCreate an AI-assisted template draft from a prompt.
leafwright_ai_revise_templateRevise a template's draft from a natural-language instruction.
leafwright_ai_fix_from_logsRepair a template's draft using the render logs of a failed or wrong-looking job.