Skip to content
← All MCP servers

Is the MarkItDown MCP server safe? What it can reach

What the MarkItDown MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.

Official serverChecked

Microsoft’s markitdown-mcp is a small local server with one tool that converts a file or web page to Markdown. It has no authentication and runs with your user’s file access, so it can read any file you can. The control that matters most is running it in a container with only the folders it needs mounted.

Who maintains it

ImplementationKindStatus
markitdown-mcp (Microsoft, official)Officialactive

It runs as a local process on your machine.

How it signs in

The README says the server does not support authentication and runs with the privileges of the user who started it.

What its tools can do

KindTools
Readconvert_to_markdown
Writenone documented
Can’t be undonenone documented

convert_to_markdown takes a uri that can be http, https, file or data.

Built-in limits

OptionWhat it does
Docker with a mounted folderRun the image and mount only the directory you want read, for example -v /home/user/data:/workdir. Remote URIs still work without a mount.
Localhost bindingIn Streamable HTTP or SSE mode the server binds to localhost by default. The README says not to bind other interfaces unless you understand the risk.
SandboxThe README suggests a virtual machine or container with limited file and network access for extra safety.

The risks

  • convert_to_markdown can read any file the server’s user can read, so an injected instruction could pull in SSH keys or env files.
  • It also fetches any URL, so it can reach internal network addresses from your machine.
  • There is no sign-in, so any local process or user can call it when it runs over HTTP.
  • Converted text goes straight into the agent’s context, so a document with hidden instructions can steer the agent.

Limit it in Claude Code

Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:

claude mcp add markitdown -- markitdown-mcp

Claude Code names MCP tools mcp__markitdown__<tool>. Once you know the tool names, deny the ones you won’t use and set the rest to ask in .claude/settings.json.

Limit it in Codex

Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:

[mcp_servers.markitdown]
command = "markitdown-mcp"

Checklist

  • Run it in Docker and mount only one folder.
  • Keep the default localhost bind for HTTP modes.
  • Do not point it at folders that hold keys or secrets.
  • Treat converted documents as untrusted text.

Checked against the vendor documentation on November 25, 2026. markitdown-mcp README · MarkItDown repository

What Excellent covers

Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server

Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing