FileToPDF
Конвертация документов, HTML и Markdown в PDF через сервис FileToPDF
Добавьте сервер в «Мои MCP» — получите адрес подключения для Claude и ChatGPT.
Добавить в «Мои MCP»Нужно войти или зарегистрироваться — вернём на эту страницу.
Описание
FileToPDF — сервис для превращения файлов и разметки в PDF. Подойдёт, когда нужно быстро получить печатную версию документа, отчёта или веб-страницы прямо из диалога с ассистентом. Сервер умеет забирать файл по публичной ссылке и конвертировать его в PDF, сам определяя подходящий способ по расширению, в том числе для офисных документов. Можно передать готовую HTML-строку или текст в Markdown со своими стилями и параметрами страницы — PDF вернётся сразу. Ещё один инструмент показывает состояние аккаунта: тариф, оставшиеся конвертации и статус подписки. Для работы нужен собственный API-ключ FileToPDF; конвертации списывают кредиты с вашего баланса.
Инструменты · 4
из ответа tools/list
Convert a file (by URL) to PDF
convert_file
Convert a file (by URL) to PDF
convert_file Convert a file fetched from a public URL into a PDF. Auto-detects the engine from the extension: Office docs (DOCX, XLSX, PPTX, ODT, RTF, TXT, CSV…), images (PNG, JPG, WebP…), HTML, Markdown, or an existing PDF (passthrough). Costs 1 credit on success. Returns the PDF as an embedded resource.
convert_file(url: string, pdfa?: string, pdfua?: boolean, password?: string, landscape?: boolean, save_path?: string, userPassword?: string, ownerPassword?: string, nativePageRanges?: string)
// inputSchema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL of the file to download and convert."
},
"pdfa": {
"type": "string",
"description": "PDF/A conformance level, e.g. \"PDF/A-2b\". (Pro/Scale/trial only.)"
},
"pdfua": {
"type": "boolean",
"description": "Produce an accessible PDF/UA document."
},
"password": {
"type": "string",
"description": "Password to open a protected source document."
},
"landscape": {
"type": "boolean",
"description": "Render in landscape orientation. (Pro/Scale/trial only.)"
},
"save_path": {
"type": "string",
"description": "Optional absolute path to also write the PDF to on disk."
},
"userPassword": {
"type": "string",
"description": "Password required to open the resulting PDF."
},
"ownerPassword": {
"type": "string",
"description": "Owner password controlling permissions on the resulting PDF."
},
"nativePageRanges": {
"type": "string",
"description": "Page ranges to include, e.g. \"1-3\"."
}
},
"additionalProperties": false
}
Convert HTML to PDF
convert_html
Convert HTML to PDF
convert_html Render a raw HTML string to a PDF using Chromium, with optional CSS and layout options. Costs 1 credit on success. Returns the PDF as an embedded resource.
convert_html(css?: string, html: string, pdfa?: string, pdfua?: boolean, scale?: string, landscape?: boolean, marginTop?: string, save_path?: string, marginLeft?: string, paperWidth?: string, marginRight?: string, paperHeight?: string, marginBottom?: string, userPassword?: string, ownerPassword?: string, printBackground?: boolean, nativePageRanges?: string, preferCssPageSize?: boolean)
// inputSchema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"html"
],
"properties": {
"css": {
"type": "string",
"description": "Optional CSS, injected into the document <head>."
},
"html": {
"type": "string",
"description": "The HTML markup to render."
},
"pdfa": {
"type": "string",
"description": "PDF/A conformance level, e.g. \"PDF/A-2b\". (Pro/Scale/trial only.)"
},
"pdfua": {
"type": "boolean",
"description": "Produce an accessible PDF/UA document."
},
"scale": {
"type": "string",
"description": "Render scale, 0.1–2.0."
},
"landscape": {
"type": "boolean",
"description": "Render in landscape orientation. (Pro/Scale/trial only.)"
},
"marginTop": {
"type": "string",
"description": "Top margin in inches."
},
"save_path": {
"type": "string",
"description": "Optional absolute path to also write the PDF to on disk."
},
"marginLeft": {
"type": "string",
"description": "Left margin in inches."
},
"paperWidth": {
"type": "string",
"description": "Paper width in inches, or with a unit e.g. \"210mm\"."
},
"marginRight": {
"type": "string",
"description": "Right margin in inches."
},
"paperHeight": {
"type": "string",
"description": "Paper height in inches."
},
"marginBottom": {
"type": "string",
"description": "Bottom margin in inches."
},
"userPassword": {
"type": "string",
"description": "Password required to open the resulting PDF."
},
"ownerPassword": {
"type": "string",
"description": "Owner password controlling permissions on the resulting PDF."
},
"printBackground": {
"type": "boolean",
"description": "Print background graphics/colors."
},
"nativePageRanges": {
"type": "string",
"description": "Page ranges to include, e.g. \"1-3,5\"."
},
"preferCssPageSize": {
"type": "boolean",
"description": "Use the page size declared in CSS @page rules."
}
},
"additionalProperties": false
}
Convert Markdown to PDF
convert_markdown
Convert Markdown to PDF
convert_markdown Render a raw Markdown string to a PDF, with optional CSS and layout options. A sensible default stylesheet is applied when no CSS is given. Costs 1 credit on success. Returns the PDF as an embedded resource.
convert_markdown(css?: string, pdfa?: string, pdfua?: boolean, scale?: string, markdown: string, landscape?: boolean, marginTop?: string, save_path?: string, marginLeft?: string, paperWidth?: string, marginRight?: string, paperHeight?: string, marginBottom?: string, userPassword?: string, ownerPassword?: string, printBackground?: boolean, nativePageRanges?: string, preferCssPageSize?: boolean)
// inputSchema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"markdown"
],
"properties": {
"css": {
"type": "string",
"description": "Optional CSS to style the rendered Markdown (overrides the default stylesheet)."
},
"pdfa": {
"type": "string",
"description": "PDF/A conformance level, e.g. \"PDF/A-2b\". (Pro/Scale/trial only.)"
},
"pdfua": {
"type": "boolean",
"description": "Produce an accessible PDF/UA document."
},
"scale": {
"type": "string",
"description": "Render scale, 0.1–2.0."
},
"markdown": {
"type": "string",
"description": "The Markdown content to render."
},
"landscape": {
"type": "boolean",
"description": "Render in landscape orientation. (Pro/Scale/trial only.)"
},
"marginTop": {
"type": "string",
"description": "Top margin in inches."
},
"save_path": {
"type": "string",
"description": "Optional absolute path to also write the PDF to on disk."
},
"marginLeft": {
"type": "string",
"description": "Left margin in inches."
},
"paperWidth": {
"type": "string",
"description": "Paper width in inches, or with a unit e.g. \"210mm\"."
},
"marginRight": {
"type": "string",
"description": "Right margin in inches."
},
"paperHeight": {
"type": "string",
"description": "Paper height in inches."
},
"marginBottom": {
"type": "string",
"description": "Bottom margin in inches."
},
"userPassword": {
"type": "string",
"description": "Password required to open the resulting PDF."
},
"ownerPassword": {
"type": "string",
"description": "Owner password controlling permissions on the resulting PDF."
},
"printBackground": {
"type": "boolean",
"description": "Print background graphics/colors."
},
"nativePageRanges": {
"type": "string",
"description": "Page ranges to include, e.g. \"1-3,5\"."
},
"preferCssPageSize": {
"type": "boolean",
"description": "Use the page size declared in CSS @page rules."
}
},
"additionalProperties": false
}
Get FileToPDF account status
get_account
Get FileToPDF account status
get_account Check the FileToPDF API key and return the plan, remaining conversion credits, and subscription status. Free — costs no credits. Use this to verify the connection works.
get_account()
// inputSchema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}
Вопросы, новые серверы, обсуждение MCP
t.me/rusmcp · t.me/RusMcp_bot