FileToPDF MCP Server

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

Remote serverstreamable-http

What is the FileToPDF MCP Server?

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

What you get

Each convert tool returns a metadata summary and the PDF as an embedded application/pdf resource (base64), so capable clients can save the file. Set the FILETOPDF_OUTPUT_DIR env var, or pass save_path, to also write the PDF to disk.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_accountCheck the API key and show plan + remaining credits. Free, no credits used.
convert_fileConvert a file from a public URL (DOCX, XLSX, PPTX, images, HTML, MD, PDF…) to PDF.
convert_htmlRender a raw HTML string (with optional CSS + layout options) to a pixel-perfect PDF via Chromium.
convert_markdownRender a raw Markdown string (with optional CSS + layout options) to a clean PDF.

How to install the FileToPDF MCP Server

{
  "mcpServers": {
    "filetopdf": {
      "command": "npx",
      "args": [
        "-y",
        "filetopdf-mcp"
      ],
      "env": {
        "FILETOPDF_API_KEY": "YOUR_FILETOPDF_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
FILETOPDF_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use FileToPDF to get account.”
  • “Use FileToPDF to convert file.”
  • “Use FileToPDF to convert html.”

Frequently asked questions

Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.