PTS security notes / MCP servers / Markdownify MCP

Is Markdownify MCP safe to install?

By PTS · Based on public source as of December 5, 2026

Short answer

It reads local files and fetches URLs, so it can reach both your disk and your network. It has 9 public advisories (4 high), covering SSRF, path allowlist bypass and command injection, with fixes up to 2.0.0. Run v2 or later, set MD_ALLOWED_PATHS, and keep it on stdio.

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.

It can fetch URLs from your network, so SSRF protections matter, and its history shows several bypasses.

ToolWhat it can doNotes
Compact toolset (default in v2)Reads, Network4 capability tools. Convert local files, web URLs, Git repositories and fetch existing Markdown.
Classic toolset (`--toolset=classic`)Reads, Runs code, Network11 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.

AdvisorySeveritySummaryAffectedFixed in
GHSA-f95v-6hph-fppf · CVE-2025-65512HighSSRF via unvalidated HTTP redirects in URL conversion tools<= 0.0.21.0.1
GHSA-pxwh-pcrm-vrm3 · CVE-2026-137308HighSSRF protection bypass in validateUrl() and validateRepoUrl() via DNS hostnames, IPv6/IPv4-mapped IPv6 literals, and scp-style SSH shorthand<= 1.1.01.2.0
GHSA-wp59-q6fv-34rxHighMD_ALLOWED_PATHS / MD_SHARE_DIR path allowlist bypass via sibling-directory prefix match, symlinks, and tilde path desynchronization<= 1.1.01.2.0
GHSA-45qj-4xq3-3c45 · CVE-2025-58358Highmcp-markdownify-server vulnerable to command injection in pptx-to-markdown tool<= 0.0.10.0.2
GHSA-qr56-5hj5-j4g7ModeratePredictable temporary file path in URL conversion allows local symlink overwrite and temp file leaks<= 1.1.01.2.0
GHSA-fq99-42vp-565fModerateDNS rebinding / check-then-connect TOCTOU SSRF bypass in Web URL and Git repository conversions<= 1.2.02.0.0
GHSA-hv2v-j8vq-q59xModerateArgument/option injection via unvalidated branch parameter in git-repo-to-markdown<= 1.1.01.2.0
GHSA-22v8-p7h2-rj7p · CVE-2025-5273ModerateMarkdownify MCP Server allows attackers to read arbitrary filesn/an/a
GHSA-frq9-3hp2-xvxg · CVE-2025-5276ModerateMarkdownify MCP Server allows Server-Side Request Forgery (SSRF) via the Markdownify.get() functionn/an/a

What stands out

Safe-install checklist

Install command from the project's docs: npx -y mcp-markdownify-server.

  1. 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.
  2. Keep secrets out. Start it with a clean environment, so it does not inherit your shell's keys.
  3. Run 2.0.0 or later, and set MD_ALLOWED_PATHS to one docs folder.
  4. Do not expose the HTTP mode beyond loopback, and keep SSRF protections on.
  5. Deny the tools you do not need. In Claude Code, deny rules in .claude/settings.json use the form mcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named it markdownify-mcp:
    {
      "permissions": {
        "deny": [
          "mcp__markdownify-mcp__Classic toolset (`--toolset=classic`)"
        ]
      }
    }
  6. Snapshot the tool list. Save the tools/list output 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.
  7. 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.

Get the free checklist

A 9-page worksheet plus starter files for Claude Code and Codex. It maps what your agent can reach and shrinks it. Download it on Gumroad. This site does not collect email.

Get the free checklist

Before you install anything, try the MCP tool diff checker. See all 54 servers.

More server pages