# FileToPDF.dev — MCP server on mcp.ai > Connect your FileToPDF.dev account and use 4 tools for documents straight from your AI agent. Connect with your own API key. Convert files, HTML, and Markdown into PDF documents through the FileToPDF.dev API. By: mcp.ai · official Page: https://mcp.ai/filetopdf ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_filetopdf?ms=1787296080000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/filetopdf/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/filetopdf/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/filetopdf/skill.md Postman collection (v2.1): https://mcp.ai/filetopdf/postman.json ## Tools - filetopdf_convert_file_url_to_pdf(url: string) — Convert a file at a public HTTPS URL to PDF, consuming one conversion credit and returning a downloadable PDF. The URL path must end with a supported file extension. Check GET_ACCOUNT_STATUS for remai - filetopdf_convert_html_to_pdf(html: string) — Render an HTML string as a PDF, consuming one conversion credit and returning a downloadable PDF. Check GET_ACCOUNT_STATUS for remaining credits. - filetopdf_convert_markdown_to_pdf(markdown: string) — Render a GitHub-Flavored Markdown string as a PDF. A successful conversion consumes one conversion credit and returns a downloadable PDF. Check GET_ACCOUNT_STATUS for remaining credits. - filetopdf_get_account_status() — Return the connected FileToPDF workspace plan, subscription status, and remaining conversion credits without consuming a credit. ## Example prompts - "What can I do in FileToPDF.dev?" - "Show me a summary of my FileToPDF.dev account" ## Links Docs: https://mcp.ai/docs/mcps/filetopdf Website: https://mcp.ai/mcps/filetopdf