# FileToPDF MCP server

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

## Links
- Registry page: https://www.getdrio.com/mcp/dev-filetopdf-filetopdf-mcp
- Repository: https://github.com/FileToPDF/filetopdf-mcp
- Website: https://filetopdf.dev

## Install
- Command: `npx -y filetopdf-mcp`
- Endpoint: https://api.filetopdf.dev/mcp
- Auth: Auth required by registry metadata

## Setup notes
- Remote header: x-api-key (required; secret)
- Package: Npm filetopdf-mcp v0.1.1
- Environment variable: FILETOPDF_API_KEY (required; secret)
- The upstream registry signals required auth or secrets.
- Remote endpoint: https://api.filetopdf.dev/mcp
- Header: x-api-key

## Tools
- get_account (Get FileToPDF account status) - 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. Endpoint: https://api.filetopdf.dev/mcp
- convert_file (Convert a file (by URL) to PDF) - 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. Endpoint: https://api.filetopdf.dev/mcp
- convert_html (Convert HTML to PDF) - 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. Endpoint: https://api.filetopdf.dev/mcp
- convert_markdown (Convert Markdown to PDF) - 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. Endpoint: https://api.filetopdf.dev/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: dev.filetopdf
- Version: 0.1.1
- Runtime: Npm
- Transports: STDIO, HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Jun 10, 2026
- Source: https://registry.modelcontextprotocol.io
