- Home
- MCP servers
- Gen-PDF
Gen-PDF
- javascript
0
GitHub Stars
javascript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
This Gen-PDF MCP Server connects AI assistants to Gen-PDF’s rendering capabilities so you can generate professionally formatted PDFs from markdown content in real time. It supports remote operation or local running, and includes a tool to convert markdown into high-quality PDFs with typography, code highlighting, math, and more.
How to use
You can connect to Gen-PDF in two ways: use the hosted MCP server remotely, or run the Gen-PDF MCP Server on your own machine. Choose the path that best fits your environment and security needs. When you send markdown content to the Gen-PDF MCP server, you receive a direct link to a generated PDF hosted by Gen-PDF.
How to install
Prerequisites: you need a working Node.js environment. Install Node.js from https://nodejs.org if you don’t have it yet.
# Optional: Install the Gen-PDF MCP Server globally (local run)
npm install -g gen-pdf-mcp-server
Additional setup and usage notes
Two connection methods are supported. The first is a remote connection via HTTP to the hosted MCP server. The second is a local, stdio-based MCP server you run on your machine and connect to via your MCP client application.
Remote HTTP connection URL (use this in your MCP client configuration): https://mcp.gen-pdf.com/mcp?genPdfApiKey=your-gen-pdf-api-key Replace your-gen-pdf-api-key with your actual Gen-PDF API key from your Gen-PDF dashboard.
Local stdio configuration lets you run the MCP server locally and point your MCP client (e.g., Claude Desktop) to it. You’ll run the server with npx and provide your API key via environment variables.
Notes on configuration and usage
If you configure Claude Desktop to use the local Gen-PDF MCP server, set up the mcpServers section to run the server as an npm/CLI command and pass your API key in the environment. The server exposes a tool named generate_pdf that converts markdown into a professional PDF with options like dark mode and custom typography.
Available tools
generate_pdf
Converts markdown content into a professionally formatted PDF document with support for headers, code blocks, math, tables, images, dark mode, and custom typography.