io.github.TrendTweekers/mintpdf is an MCP server that turn HTML or Markdown into a clean, styled PDF and get a download link. Its tool list has not been published yet over http, requires no API key, and scores 58/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"mintpdf": {
"args": [
"-y",
"mintpdf-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Turn HTML or Markdown into a clean, styled PDF and get a download link.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'npm' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
Packing does not respect root-level ignore files in workspaces
### Impact `npm pack` ignores root-level `.gitignore` & `.npmignore` file exclusion directives when run in a workspace or with a workspace flag (ie. `--workspaces`, `--workspace=<name>`). Anyone who has run `npm pack` or `npm publish` with workspaces, as of [v7.9.0](https://github.com/npm/cli/releases/tag/v7.9.0) & [v7.13.0](https://github.com/npm/cli/releases/tag/v7.13.0) respectively, may be affected and have published files into the npm registry they did not intend to include. ### Patch - Up
Incorrect Permission Assignment for Critical Resource in NPM
An issue was discovered in an npm 5.7.0 2018-02-21 pre-release (marked as "next: 5.7.0" and therefore automatically installed by an "npm upgrade -g npm" command, and also announced in the vendor's blog without mention of pre-release status). It might allow local users to bypass intended filesystem access restrictions because ownerships of /etc and /usr directories are being changed unexpectedly, related to a "correctMkdir" issue.
Local Privilege Escalation in npm
Affected versions of `npm` use predictable temporary file names during archive unpacking. If an attacker can create a symbolic link at the location of one of these temporary file names, the attacker can arbitrarily write to any file that the user which owns the `npm` process has permission to write to, potentially resulting in local privilege escalation. ## Recommendation Update to version 1.3.3 or later.
npm CLI exposing sensitive information through logs
Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files. The CLI supports URLs like `<protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>`. The password value is not redacted and is printed to stdout and also to any generated log files.
npm Vulnerable to Global node_modules Binary Overwrite
Versions of the npm CLI prior to 6.13.4 are vulnerable to a Global node_modules Binary Overwrite. It fails to prevent existing globally-installed binaries to be overwritten by other package installations. For example, if a package was installed globally and created a `serve` binary, any subsequent installs of packages that also create a `serve` binary would overwrite the first binary. This will not overwrite system binaries but only binaries put into the global node_modules directory. This b
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in writing
Publish HTML, Markdown, PDF, or images as instant shareable links with expiry and passwords.
Any file → clean Markdown for AI agents: PDF, Office, EPUB, HTML, images, audio/video. Local MCP.
Scrape, crawl, and map websites to Markdown or JSON via local CLI.
Create, edit and publish micropage.sh landing pages and blog posts from markup.
MCP Security Weekly
Get CVE alerts and security updates for io.github.TrendTweekers/mintpdf and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
HTML & Markdown → PDF, as a REST API and an MCP server.
No template editor. No template IDs. No dashboard. No signup to try.
Try it · MCP setup · API · Self-host · Security · Limitations
Send HTML or Markdown, get a PDF back. It is Chromium under the hood, with the print CSS already worked out so tables don't split across pages, table headers repeat, and Markdown comes out looking like a document rather than a text file.
break-inside, repeating thead, orphans and widows, and headers
and footers that actually inherit your styling. See How it works.generate_pdf and pdf_from_url over streamable HTTP, so an agent can produce a
document mid-conversation.No signup, no key:
curl -X POST https://mintpdf.dev/v1/pdf \
-H "Content-Type: application/json" \
-d '{"markdown":"# Invoice #42\n\n| Item | Price |\n|---|---|\n| Widget | $9.00 |","pageNumbers":true}' \
--output invoice.pdf
Want more than 3 renders a day? A free key (email only, no card) raises it to 100 a month:
curl -X POST https://mintpdf.dev/v1/keys \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com"}'
# → {"key":"pm_…","daily_limit":100} # 100 renders per month
Then send Authorization: Bearer pm_… with your requests.
{
"mcpServers": {
"mintpdf": {
"command": "npx",
"args": ["-y", "mintpdf-mcp"]
}
}
}
Prefer the hosted endpoint directly? Use mcp-remote instead:
{
"mcpServers": {
"mintpdf": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mintpdf.dev/mcp"]
}
}
}
Restart your client, then just ask:
"Summarise this thread as a one-page brief with page numbers and give me a PDF."
| Tool | Input | Returns |
|---|---|---|
generate_pdf | html or markdown, plus options | download URL, valid 1 hour |
pdf_from_url | url (public http/https), plus options | download URL, valid 1 hour |
POST /v1/pdfBody takes exactly one source, plus options:
| Field | Type | Notes |
|---|---|---|
html | string | Full document or fragment |
markdown | string | Rendered with the default stylesheet |
url | string | Public page to render. Private/internal addresses are blocked |
format | string | A4 (default), Letter, Legal, A3, A5 |
landscape | boolean | default false |
margin | string | all sides, e.g. "18mm" |
headerText / footerText | string | small text on every page |
pageNumbers | boolean | adds 3 / 7 to the footer |
output | "pdf" | "url" | default returns PDF bytes; "url" returns JSON with a link |
POST /v1/keys{"email":"you@example.com"} → a free key. No card, no verification loop.
POST /mcpMCP streamable-HTTP endpoint, stateless. Same capabilities as the REST API.
A ready-made collection covering every endpoint and option lives in
postman/. Import it by link:
https://raw.githubusercontent.com/TrendTweekers/mintpdf/main/postman/mintpdf.postman_collection.json
The first request runs with no key at all, and fetching a free key stores it into the collection variable automati