mcpbeat Sign in

FileToPDF MCP Server

by filetopdf Your server? Claim it
answering

FileToPDF is answering right now. Last checked 14 min ago. 49 installs a week from npm. It exposes 4 tools. Last commit 10 Jun 2026.

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

Installs per day peak 26 · avg 9 · +8% w/w
a month agotoday
Uptime history 48 days of history
48 days agonow
100.0%
Uptime 24h
91 of 91 checks
4
Tools
read from the server
160 ms
Response time
average over 24h
49
Installs / week
npm and PyPI

What the code does

We read the source, 23 h ago · tools taken from the live server · rules 3dff92dd89df

A tool parameter reaches a dangerous call

A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.

A tool parameter reaches a file or shell call convert_html.css → src/server.ts:78, convert_markdown.css → src/server.ts:78, convert_file.url → src/server.ts:78
      await fs.writeFile(dest, Buffer.from(result.pdfBase64, "base64"));
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Builds a file path from a variable src/server.ts:73
    dest = path.join(process.env.FILETOPDF_OUTPUT_DIR, result.filename);

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

A tool parameter here reaches a dangerous call

That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.

Three servers free · no card

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 14 min ago.

run in your terminal
claude mcp add filetopdf-mcp --transport http https://api.filetopdf.dev/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "filetopdf-mcp": {
      "url": "https://api.filetopdf.dev/mcp"
    }
  }
}
~/.codex/config.toml
[mcp_servers.filetopdf-mcp]
url = "https://api.filetopdf.dev/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "filetopdf-mcp": {
      "url": "https://api.filetopdf.dev/mcp"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "filetopdf-mcp": {
      "url": "https://api.filetopdf.dev/mcp"
    }
  }
}

This one needs environment variables set before it will start: FILETOPDF_API_KEY (Your FileToPDF API key (sk_live_...). Get one free in one click at https://filetopdf.dev.). The author declared them in the registry entry; get the values from the project itself.

Available tools 4

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

convert
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 embedded resource.
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.
account
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.

Endpoints

URLTransportStateLatencyChecked
https://api.filetopdf.dev/mcp streamable-http answering 160 ms 14 min ago

Alternatives to FileToPDF

same job, measured the same way
Filechanger
by filechanger

Convert documents between text formats (markdown, html, and more) via the FileChanger API.

103 installs/wk local only
Mdmagic MCP Server
by mdmagic-mcp

Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.

68 installs/wk 10 tools answering
Promptready MCP
by hydrojwh

Convert PDF/CSV to Markdown with AI-powered OCR via the PromptReady cloud API.

983 installs/wk local only
C
Prince Cloud
by prince

Convert Markdown, HTML, and web pages to high-quality PDF with Prince.

3 tools answering
Hushvert
by hushvert

File conversion for AI agents: office docs, PDF to Word, video, and LLM-ready markdown via API.

50 installs/wk local only
docx4j Word documents
by plutext

Read, convert and fill Word (.docx) documents: templates, Markdown/HTML in and out, PDF with math.

local only
MCP Document Converter
by xt765

Convert PDF, DOCX, HTML, Markdown, and Text for AI assistant context injection.

98 installs/wk local only
Packforai MCP
by zymsj8j9z9-ship-it

Convert PDF, DOCX, XLSX, CSV, JSON into clean, AI-ready Markdown via the PackForAI API.

31 installs/wk local only

FileToPDF — questions

Answers built from our own checks of this server.

What can FileToPDF do?
It exposes 4 tools, read directly from the server on our last check. Among them: convert_file, convert_html, convert_markdown, get_account. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
Is FileToPDF working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 91 of 91 checks got a reply (100.0%), average response time 160 ms. The bar chart above shows every period we have measured.
How do I connect FileToPDF?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does FileToPDF need an API key?
No. FileToPDF completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 4 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is FileToPDF?
It answers our handshake in 160 ms on average, which is faster than 75% of all working MCP servers we measure. That puts it in the quick quarter of the ecosystem. The comparison comes from our own checks across the whole registry, every 15 minutes.
How many people use FileToPDF?
The npm package filetopdf-mcp was installed 49 times in the last week. Week over week that is +8%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is FileToPDF open source?
Yes — it is published under the MIT licence, written in TypeScript, 2 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.