What it is
mcp-markdownify-server by zcaceres turns PDFs, Office files, images, audio, web pages and public Git repositories into Markdown using MarkItDown and Repomix.
- Maintainer
- Communityzcaceres on GitHub (individual account, community project)
- Source
- zcaceres/markdownify-mcp3,009 GitHub stars · MIT licence
- Transport
- stdio, Streamable HTTP (optional, loopback by default)
- Packages
- mcp-markdownify-server npm · latest 2.0.0 · 3,483 downloads last month
- Latest release
- v2.0.0 2026-12-03
- Public advisories
- 9GitHub and OSV, as of December 5, 2026
What it can do
Read from the public tool definitions in the source, not from a live run. A capability marked "yes" means at least one tool can do it.
- Reads: yes
- Writes: no
- Deletes: no
- Runs code: yes
- Network: yes
- Sends: no
It can fetch URLs from your network, so SSRF protections matter, and its history shows several bypasses.
| Tool | What it can do | Notes |
|---|---|---|
Compact toolset (default in v2) | Reads, Network | 4 capability tools. Convert local files, web URLs, Git repositories and fetch existing Markdown. |
Classic toolset (`--toolset=classic`) | Reads, Runs code, Network | 11 format-specific tools from v1, including a Git-repository converter that runs Repomix. |
README: v2 defaults to a 4-tool compact toolset, and the classic toolset has 11 tools. Individual names are in the README.
Credentials and least privilege
No credential. MD_ALLOWED_PATHS is the file boundary.
Public security advisories
Advisories published on GitHub or OSV for this project, as of December 5, 2026. Fixed issues are a normal part of a maintained project. What matters is that the version you run is not in an affected range. Two advisories show no patched version in the public record as of December 5, 2026. Check each advisory page for status.
| Advisory | Severity | Summary | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-f95v-6hph-fppf · CVE-2025-65512 | High | SSRF via unvalidated HTTP redirects in URL conversion tools | <= 0.0.2 | 1.0.1 |
| GHSA-pxwh-pcrm-vrm3 · CVE-2026-137308 | High | SSRF protection bypass in validateUrl() and validateRepoUrl() via DNS hostnames, IPv6/IPv4-mapped IPv6 literals, and scp-style SSH shorthand | <= 1.1.0 | 1.2.0 |
| GHSA-wp59-q6fv-34rx | High | MD_ALLOWED_PATHS / MD_SHARE_DIR path allowlist bypass via sibling-directory prefix match, symlinks, and tilde path desynchronization | <= 1.1.0 | 1.2.0 |
| GHSA-45qj-4xq3-3c45 · CVE-2025-58358 | High | mcp-markdownify-server vulnerable to command injection in pptx-to-markdown tool | <= 0.0.1 | 0.0.2 |
| GHSA-qr56-5hj5-j4g7 | Moderate | Predictable temporary file path in URL conversion allows local symlink overwrite and temp file leaks | <= 1.1.0 | 1.2.0 |
| GHSA-fq99-42vp-565f | Moderate | DNS rebinding / check-then-connect TOCTOU SSRF bypass in Web URL and Git repository conversions | <= 1.2.0 | 2.0.0 |
| GHSA-hv2v-j8vq-q59x | Moderate | Argument/option injection via unvalidated branch parameter in git-repo-to-markdown | <= 1.1.0 | 1.2.0 |
| GHSA-22v8-p7h2-rj7p · CVE-2025-5273 | Moderate | Markdownify MCP Server allows attackers to read arbitrary files | n/a | n/a |
| GHSA-frq9-3hp2-xvxg · CVE-2025-5276 | Moderate | Markdownify MCP Server allows Server-Side Request Forgery (SSRF) via the Markdownify.get() function | n/a | n/a |
What stands out
- GitHub lists 9 advisories (4 high, 5 moderate). Two of the moderate ones list no patched version in the public record.
- The advisories include path allowlist bypass, SSRF via redirects and DNS rebinding, option injection and command injection in the pptx tool.
- In stdio mode
MD_ALLOWED_PATHSis unrestricted when unset, per the README.
Safe-install checklist
Install command from the project's docs: npx -y mcp-markdownify-server.
- Pin the version. Use an exact version, not
latest:MD_ALLOWED_PATHS=/path/to/docs npx -y mcp-markdownify-server@2.0.0. Set MD_ALLOWED_PATHS. In stdio mode it is unrestricted when unset. - Keep secrets out. Start it with a clean environment, so it does not inherit your shell's keys.
- Run 2.0.0 or later, and set
MD_ALLOWED_PATHSto one docs folder. - Do not expose the HTTP mode beyond loopback, and keep SSRF protections on.
- Deny the tools you do not need. In Claude Code, deny rules in
.claude/settings.jsonuse the formmcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named itmarkdownify-mcp:{ "permissions": { "deny": [ "mcp__markdownify-mcp__Classic toolset (`--toolset=classic`)" ] } } - Snapshot the tool list. Save the
tools/listoutput right after you install, then compare it before every upgrade with the free PTS MCP tool diff checker. It runs in your browser and flags new tools and changed descriptions or schemas. - Watch for fixes. Watch the project's security advisories and upgrade on purpose, after the diff.
For the general version of this list, see the MCP server security checklist. Not sure about a server that is not listed here? Read Is an MCP server safe to install?
Quick follow-ups
What can Markdownify MCP do on my machine or accounts?
Based on its public tool definitions, it can: reads local files or data; runs commands, scripts or code; reaches the open web or a third-party service beyond the account you connect it to. It can fetch URLs from your network, so SSRF protections matter, and its history shows several bypasses.
Does Markdownify MCP need a token or API key?
No credential. `MD_ALLOWED_PATHS` is the file boundary.
Has Markdownify MCP had public security advisories?
Yes. 9 public advisories (GitHub or OSV) listed for it as of December 5, 2026. Each one is linked on this page with its affected and fixed versions, so you can check the version you run. Fixed issues are normal for active projects. Running a current, pinned version is what matters.
How do I keep Markdownify MCP from changing under me?
Pin the version, for example MD_ALLOWED_PATHS=/path/to/docs npx -y mcp-markdownify-server@2.0.0. Then save its tool list (name, description, input schema) with the free PTS MCP tool diff checker and compare it before each upgrade.
Sources
This page is a factual summary of public information about the software. It is not a verdict on the maintainers and not an audit. Check the project's own docs for your version before you rely on it. Educational, not legal or security advice.
