FileToPDF

by filetopdf

Not rated
GitHub

About

Convert files (DOCX, XLSX, PPTX, images), HTML, and Markdown to pixel-perfect PDFs — npx stdio or hosted Streamable HTTP, free API key in one click.

Details

Author
filetopdf
Categories
Productivity, Other

Hosted / remote (Streamable HTTP) — no install

A hosted endpoint is available athttps://api.filetopdf.dev/mcp. Authenticate with your own key via thex-api-keyheader, anAuthorization: Bearerheader, 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).

npm run build && npm run start:http # listens on $PORT (default 8080) at /mcp

ADockerfileis included for container hosting (Smithery, Fly, Render, Cloud Run).

npm install npm run build # tsc -> dist/ npm test # spawns the built stdio server, runs a live conversion

npm testreadsFILETOPDF_API_KEY, orAPI_KEY=from a gitignored.env.

- Website & instant free API key:https://filetopdf.dev
- API docs:
[https://filetopdf.dev/documentation
- Official MCP registry name:dev.filetopdf/filetopdf-mcp

Universal document generation and conversion MCP. Generate PDF/DOCX/XLSX from templates+JSON (invoices, contracts, reports), batch generation, 100+ format conversions.

A server for reading and converting documents between PDF, DOCX, and Markdown formats using marker-pdf and pandoc.

MCP for work with docx files. Make copy format from docx files.

Convert Excel and Apple Numbers files to PDF format.

Convert any file or URL to clean AI-ready Markdown. Supports PDF, Word, Excel, PowerPoint, YouTube, ArXiv, Wikipedia, and 18 more formats. Up to 63% fewer tokens for ChatGPT and Claude. Free, no API key required.

A server that converts various file types, including documents, images, audio, and web pages, into Markdown format.

- Check account status and remaining credits— Ask the assistant to callget_accountto verify your API key, plan tier, and conversion balance.
- Convert a publicly hosted file to PDF— Provide a URL to a DOCX, XLSX, PPTX, image, HTML, or MD file and haveconvert_filereturn the PDF.
- Render an HTML string as a PDF— Pass raw HTML with optional CSS and layout options toconvert_htmlfor pixel-perfect Chromium-based output.
- Turn Markdown into a clean PDF— Send a Markdown string toconvert_markdownwith optional styling and layout controls.
- Save the generated PDF to disk— Set theFILETOPDF_OUTPUT_DIRenvironment variable or pass asave_pathto write the PDF file locally.

AModel Context Protocolserver forFileToPDF. It lets any MCP client — Claude Desktop, Claude Code, Cursor, Cline, VS Code, ChatGPT, n8n, Make, or your own agent — convertfiles, HTML, and Markdown to PDFthrough natural language: invoices, reports, documentation, DOCX/XLSX/PPTX, images, web pages, and more.

Bring your own API key— get one free, in one click, athttps://filetopdf.dev(10 free conversions, no signup required).

Each convert tool returns a metadata summaryandthe PDF as an embeddedapplication/pdfresource (base64), so capable clients can save the file. Set theFILETOPDF_OUTPUT_DIRenv var, or passsave_path, to also write the PDF to disk.

Layout options (landscape,paperWidth/Height, margins,scale,pdfa, passwords, …) are available onPro, Scale, and the free trial; on Starter/Basic they return an upgrade error. Each successful conversion costs1 credit; errors are free.

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 mcp add filetopdf -e FILETOPDF_API_KEY=sk_live_YOUR_API_KEY -- npx -y filetopdf-mcp

VS Code(.vscode/mcp.jsonor viaMCP: 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 athttps://api.filetopdf.dev/mcp. Authenticate with your own key via thex-api-keyheader, anAuthorization: Bearerheader, 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).

npm run build && npm run start:http # listens on $PORT (default 8080) at /mcp

ADockerfileis included for container hosting (Smithery, Fly, Render, Cloud Run).

npm install npm run build # tsc -> dist/ npm test # spawns the built stdio server, runs a live conversion

npm testreadsFILETOPDF_API_KEY, orAPI_KEY=from a gitignored.env.

- Website & instant free API key:https://filetopdf.dev
- API docs:
https://filetopdf.dev/documentation
- Official MCP registry name:dev.filetopdf/filetopdf-mcp

Universal document generation and conversion MCP. Generate PDF/DOCX/XLSX from templates+JSON (invoices, contracts, reports), batch generation, 100+ format conversions.

A server for reading and converting documents between PDF, DOCX, and Markdown formats using marker-pdf and pandoc.

MCP for work with docx files. Make copy format from docx files.

Convert Excel and Apple Numbers files to PDF format.

Convert any file or URL to clean AI-ready Markdown. Supports PDF, Word, Excel, PowerPoint, YouTube, ArXiv, Wikipedia, and 18 more formats. Up to 63% fewer tokens for ChatGPT and Claude. Free, no API key required.

A server that converts various file types, including documents, images, audio, and web pages, into Markdown format.

MCP-MD-PDF: Markdown to Word/PDF Converter

A simple, reliable Model Context Protocol (MCP) server that converts Markdown files into professional Word (.docx) and PDF documents — with full support for .dotx templates.

A server for converting document formats using Pandoc.

Turn messy text into clean output fast—GUI for humans, MCP tools for AI IDEs (Cursor/Claude). 33 deterministic text utilities.

MCP server for BulkRender — generate bulk DOCX and PDF documents from Claude, Cursor, Windsurf, and any MCP-compatible AI assistant

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.