Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key.
FileToPDF MCP server exists for a simple reason — assistants are far more useful when they can act on FileToPDF directly instead of describing what you should do. Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key.
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.
Once FileToPDF is connected, these are the calls the assistant has available:
get_account — Check the API key and show plan + remaining credits. Free, no credits usedconvert_file — Convert a file from a public URL (DOCX, XLSX, PPTX, images, HTML, MD, PDF…) to PDFconvert_html — Render a raw HTML string (with optional CSS + layout options) to a pixel-perfect PDF via Chromiumconvert_markdown — Render a raw Markdown string (with optional CSS + layout options) to a clean PDFBeing a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.
You will need one environment variable: FILETOPDF_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. FileToPDF's toolset — get_account, convert_file, convert_html and 1 more — is a fair guide to whether it matches your workflow. It is maintained by dev.filetopdf; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| get_account | Check the API key and show plan + remaining credits. Free, no credits used. |
| convert_file | Convert a file from a **public URL** (DOCX, XLSX, PPTX, images, HTML, MD, PDF…) to PDF. |
| convert_html | Render a raw **HTML** string (with optional CSS + layout options) to a pixel-perfect PDF via Chromium. |
| convert_markdown | Render a raw **Markdown** string (with optional CSS + layout options) to a clean PDF. |
{
"mcpServers": {
"filetopdf": {
"command": "npx",
"args": ["-y", "filetopdf-mcp"],
"env": { "FILETOPDF_API_KEY": "sk_live_YOUR_API_KEY" }
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| FILETOPDF_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.