MintPDF
Turn HTML or Markdown into a clean, styled PDF and get a download link.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"mintpdf": {
"command": "npx",
"args": [
"mintpdf-mcp"
]
}
}
}Paquetes ejecutables
0.1.3stdioPuntos de conexión remotos
https://pdfmint-production-0b25.up.railway.app/mcpstreamable-httphttps://mintpdf.dev/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (2)
🟢generate_pdf(html, markdown, format, landscape, margin, ...)
Renders HTML or Markdown into a PDF and returns a download URL (valid for 1 hour). Provide exactly one of `html` or `markdown`. Markdown gets a clean default stylesheet, so it is the fastest way to produce a good-looking document.
Esquema de entrada
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "Full HTML document or fragment to render"
},
"markdown": {
"type": "string",
"description": "Markdown content to render with the default stylesheet"
},
"format": {
"type": "string",
"enum": [
"A4",
"Letter",
"Legal",
"A3",
"A5"
],
"description": "Paper size, default A4"
},
"landscape": {
"type": "boolean",
"description": "Landscape orientation, default false"
},
"margin": {
"type": "string",
"description": "Page margin on all sides, e.g. \"18mm\""
},
"pageNumbers": {
"type": "boolean",
"description": "Show page numbers in the footer"
},
"headerText": {
"type": "string",
"description": "Small header text on every page"
},
"footerText": {
"type": "string",
"description": "Small footer text on every page"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢pdf_from_url(url, format, landscape, margin, pageNumbers, ...)
Loads a public web page and renders it to PDF. Returns a download URL valid for 1 hour. Only public http/https URLs are allowed.
Esquema de entrada
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL of the page to render"
},
"format": {
"type": "string",
"enum": [
"A4",
"Letter",
"Legal",
"A3",
"A5"
],
"description": "Paper size, default A4"
},
"landscape": {
"type": "boolean",
"description": "Landscape orientation, default false"
},
"margin": {
"type": "string",
"description": "Page margin on all sides, e.g. \"18mm\""
},
"pageNumbers": {
"type": "boolean",
"description": "Show page numbers in the footer"
},
"headerText": {
"type": "string",
"description": "Small header text on every page"
},
"footerText": {
"type": "string",
"description": "Small footer text on every page"
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia