FileToPDF

Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
83%
이름 품질
100%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,327토큰 (도구 정의)
~3.3 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.04%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "filetopdf-mcp": {
      "command": "npx",
      "args": [
        "filetopdf-mcp"
      ]
    }
  }
}

실행 가능한 패키지

npmfiletopdf-mcp0.1.1stdio

원격 엔드포인트

https://api.filetopdf.dev/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (4)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢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.

입력 스키마

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪convert_file(url, landscape, nativePageRanges, password, pdfa, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Public http(s) URL of the file to download and convert."
    },
    "landscape": {
      "type": "boolean",
      "description": "Render in landscape orientation. (Pro/Scale/trial only.)"
    },
    "nativePageRanges": {
      "type": "string",
      "description": "Page ranges to include, e.g. \"1-3\"."
    },
    "password": {
      "type": "string",
      "description": "Password to open a protected source document."
    },
    "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."
    },
    "userPassword": {
      "type": "string",
      "description": "Password required to open the resulting PDF."
    },
    "ownerPassword": {
      "type": "string",
      "description": "Owner password controlling permissions on the resulting PDF."
    },
    "save_path": {
      "type": "string",
      "description": "Optional absolute path to also write the PDF to on disk."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪convert_html(html, css, landscape, paperWidth, paperHeight, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "The HTML markup to render."
    },
    "css": {
      "type": "string",
      "description": "Optional CSS, injected into the document <head>."
    },
    "landscape": {
      "type": "boolean",
      "description": "Render in landscape orientation. (Pro/Scale/trial only.)"
    },
    "paperWidth": {
      "type": "string",
      "description": "Paper width in inches, or with a unit e.g. \"210mm\"."
    },
    "paperHeight": {
      "type": "string",
      "description": "Paper height in inches."
    },
    "marginTop": {
      "type": "string",
      "description": "Top margin in inches."
    },
    "marginBottom": {
      "type": "string",
      "description": "Bottom margin in inches."
    },
    "marginLeft": {
      "type": "string",
      "description": "Left margin in inches."
    },
    "marginRight": {
      "type": "string",
      "description": "Right margin in inches."
    },
    "scale": {
      "type": "string",
      "description": "Render scale, 0.1–2.0."
    },
    "printBackground": {
      "type": "boolean",
      "description": "Print background graphics/colors."
    },
    "preferCssPageSize": {
      "type": "boolean",
      "description": "Use the page size declared in CSS @page rules."
    },
    "nativePageRanges": {
      "type": "string",
      "description": "Page ranges to include, e.g. \"1-3,5\"."
    },
    "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."
    },
    "userPassword": {
      "type": "string",
      "description": "Password required to open the resulting PDF."
    },
    "ownerPassword": {
      "type": "string",
      "description": "Owner password controlling permissions on the resulting PDF."
    },
    "save_path": {
      "type": "string",
      "description": "Optional absolute path to also write the PDF to on disk."
    }
  },
  "required": [
    "html"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
⚪convert_markdown(markdown, css, landscape, paperWidth, paperHeight, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "markdown": {
      "type": "string",
      "description": "The Markdown content to render."
    },
    "css": {
      "type": "string",
      "description": "Optional CSS to style the rendered Markdown (overrides the default stylesheet)."
    },
    "landscape": {
      "type": "boolean",
      "description": "Render in landscape orientation. (Pro/Scale/trial only.)"
    },
    "paperWidth": {
      "type": "string",
      "description": "Paper width in inches, or with a unit e.g. \"210mm\"."
    },
    "paperHeight": {
      "type": "string",
      "description": "Paper height in inches."
    },
    "marginTop": {
      "type": "string",
      "description": "Top margin in inches."
    },
    "marginBottom": {
      "type": "string",
      "description": "Bottom margin in inches."
    },
    "marginLeft": {
      "type": "string",
      "description": "Left margin in inches."
    },
    "marginRight": {
      "type": "string",
      "description": "Right margin in inches."
    },
    "scale": {
      "type": "string",
      "description": "Render scale, 0.1–2.0."
    },
    "printBackground": {
      "type": "boolean",
      "description": "Print background graphics/colors."
    },
    "preferCssPageSize": {
      "type": "boolean",
      "description": "Use the page size declared in CSS @page rules."
    },
    "nativePageRanges": {
      "type": "string",
      "description": "Page ranges to include, e.g. \"1-3,5\"."
    },
    "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."
    },
    "userPassword": {
      "type": "string",
      "description": "Password required to open the resulting PDF."
    },
    "ownerPassword": {
      "type": "string",
      "description": "Owner password controlling permissions on the resulting PDF."
    },
    "save_path": {
      "type": "string",
      "description": "Optional absolute path to also write the PDF to on disk."
    }
  },
  "required": [
    "markdown"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 4개
검증됨버전이 기록되지 않음도구 4개