FileToPDF
by filetopdf.dev in Documents & files
Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key.
https://api.filetopdf.dev/mcp
Last 30 days
- Uptime
- 100%
- Response time
- 122 ms typical, 122 ms slowest 5%
- Last check
- 5 h ago
- Next check
- in 1 h
How to call it
Add it to any MCP client that supports remote servers.
{
"mcpServers": {
"filetopdf": {
"type": "http",
"url": "https://api.filetopdf.dev/mcp"
}
}
}4 tools
- 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.
- 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 embed
- 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_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.
Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time |
|---|---|---|---|
| 5 h ago | Passed | 200 | 122 ms |