FileToPDF MCP server
MCP serverFiles & storageYour AI can turn files, HTML, and Markdown into PDF documents. Conversions run through the FileToPDF API, and you provide your own FileToPDF API key. Once it is added, you can ask for a PDF whenever you need one.
Use FileToPDF MCP server in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add FileToPDF MCP server and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use FileToPDF MCP server to get account
Needs your own API account. Keys stay in your vault.
Details
Available today. Use it from your connected AI after setup.
After adding it, supply your FileToPDF API key so conversions can run. Then ask your AI to convert a file, HTML, or Markdown into a PDF.
What your AI can do with it
- Convert files to PDF
- Convert HTML to PDF
- Convert Markdown to PDF
Install FileToPDF MCP server
The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user filetopdf-mcp-server 'https://api.filetopdf.dev/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://api.filetopdf.dev/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=filetopdf-mcp-server&config=eyJ1cmwiOiJodHRwczovL2FwaS5maWxldG9wZGYuZGV2L21jcCJ9Open the link and Cursor adds the server at that address.
ChatGPT
https://api.filetopdf.dev/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add filetopdf-mcp-server --url 'https://api.filetopdf.dev/mcp'Run it once, then sign in with codex mcp login filetopdf-mcp-server if the server asks for an account.
From the project's README
As published by filetopdf/filetopdf-mcp in README.md.
A Model Context Protocol server for FileToPDF. It lets any MCP client — Claude Desktop, Claude Code, Cursor, Cline, VS Code, ChatGPT, n8n, Make, or your own agent — convert files, HTML, and Markdown to PDF through natural language: invoices, reports, documentation, DOCX/XLSX/PPTX, images, web pages, and more.
Bring your own API key — get one free, in one click, at https://filetopdf.dev (10 free conversions, no signup required).
Tools
| 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. |
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.
Layout options (landscape, paperWidth/Height, margins, scale, pdfa,
passwords, …) are available on Pro, Scale, and the free trial; on Starter/Basic
they return an upgrade error. Each successful conversion costs 1 credit; errors
are free.
Quick start (local / stdio)
Cursor — one-click install: Add to Cursor (then replace the placeholder with your key).
Claude Desktop / Cline / any stdio client — add to the MCP config
(claude_desktop_config.json, cline_mcp_settings.json, …):
{
"mcpServers": {
"filetopdf": {
"command": "npx",
"args": ["-y", "filetopdf-mcp"],
"env": { "FILETOPDF_API_KEY": "sk_live_YOUR_API_KEY" }
}
}
}
Claude Code:
claude mcp add filetopdf -e FILETOPDF_API_KEY=sk_live_YOUR_API_KEY -- npx -y filetopdf-mcp
VS Code (.vscode/mcp.json or via MCP: Add Server):
{
"servers": {
"filetopdf": {
"type": "stdio",
"command": "npx",
"args": ["-y", "filetopdf-mcp"],
"env": { "FILETOPDF_API_KEY": "sk_live_YOUR_API_KEY" }
}
}
}
Hosted / remote (Streamable HTTP) — no install
A hosted endpoint is available at https://api.filetopdf.dev/mcp. Authenticate
with your own key via the x-api-key header, an Authorization: Bearer header, or
an ?apiKey= query parameter.
{
"mcpServers": {
"filetopdf": {
"type": "streamable-http",
"url": "https://api.filetopdf.dev/mcp",
"headers": { "x-api-key": "sk_live_YOUR_API_KEY" }
}
}
}
This is also the URL to paste into any platform with an MCP client step — n8n (MCP Client Tool), Make (MCP Client), Zapier (MCP Client beta), Relay.app (Call MCP tool), Flowise, Langflow, Dify, LibreChat, AnythingLLM, or agent frameworks (OpenAI Agents SDK, LangChain, CrewAI, Vercel AI SDK).
To self-host instead:
npm run build && npm run start:http # listens on $PORT (default 8080) at /mcp
A Dockerfile is included for container hosting (Smithery, Fly, Render, Cloud Run).
Develop & test
npm install
npm run build # tsc -> dist/
npm test # spawns the built stdio server, runs a live conversion
npm test reads FILETOPDF_API_KEY, or API_KEY= from a gitignored .env.
Links
- Website & instant free API key: https://filetopdf.dev
- API docs: https://filetopdf.dev/documentation
- Official MCP registry name:
dev.filetopdf/filetopdf-mcp
License
Tools it offers (4)
What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.
get_accountconvert_fileconvert_htmlconvert_markdown
Signals
- GitHub stars
- 2
- Forks
- 1
- Last commit
- Jun 2026
- Weekly downloads
- 57
- Weekly_downloads
- 57 weekly_downloads
Advanced
- Delivery
- filetopdf-mcp MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
dev-filetopdf-filetopdf-mcp- Source
- github.com/filetopdf/filetopdf-mcp
- Hosted endpoint
https://api.filetopdf.dev/mcp
github.com/filetopdf/filetopdf-mcp
More in Files & storage
MCP server · wonderwhy-er
More in Files & storagelocal-mcp
MCP server · colibird-ai
More in Files & storageruntime
MCP server · withruntime
More in Files & storageopen-agreements
MCP server · open-agreements
More in Files & storagegeml
MCP server · geml-spec
More in Files & storagecarbone-mcp
MCP server · carboneio
More in Files & storage