
The markitdown-mcp package provides a lightweight STDIO, Streamable HTTP, and SSE MCP server for cal
The markitdown-mcp package provides a lightweight STDIO, Streamable HTTP, and SSE MCP server for calling MarkItDown.
·
[!IMPORTANT] The MarkItDown-MCP package is meant for local use, with local trusted agents. In particular, when running the MCP server with Streamable HTTP or SSE, it binds to
localhostby default, and is not exposed to other machines on the network or Internet. In this configuration, it is meant to be a direct alternative to the STDIO transport, which may be more convenient in some cases. DO NOT bind the server to other interfaces unless you understand the security implications of doing so.
The markitdown-mcp package provides a lightweight STDIO, Streamable HTTP, and SSE MCP server for calling MarkItDown.
It exposes one tool: convert_to_markdown(uri), where uri can be any http:, https:, file:, or data: URI.
To install the package, use pip:
pip install markitdown-mcpTo run the MCP server, using STDIO (default), use the following command:
markitdown-mcpTo run the MCP server, using Streamable HTTP and SSE, use the following command:
markitdown-mcp --http --host 127.0.0.1 --port 3001To run markitdown-mcp in Docker, build the Docker image using the provided Dockerfile:
docker build -t markitdown-mcp:latest .And run it using:
docker run -it --rm markitdown-mcp:latestThis will be sufficient for remote URIs. To access local files, you need to mount the local directory into the container. For example, if you want to access files in /home/user/data, you can run:
docker run -it --rm -v /home/user/data:/workdir markitdown-mcp:latestOnce mounted, all files under data will be accessible under /workdir in the container. For example, if you have a file example.txt in /home/user/data, it will be accessible in the container at /workdir/example.txt.
It is recommended to use the Docker image when running the MCP server for Claude Desktop.
Follow these instructions to access Claude's claude_desktop_config.json file.
Edit it to include the following JSON entry:
{
"mcpServers": {
"markitdown": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"markitdown-mcp:latest"
]
}
}
}If you want to mount a directory, adjust it accordingly:
{
"mcpServers": {
"markitdown": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-v",
"/home/user/data:/workdir",
"markitdown-mcp:latest"
]
}
}
}To debug the MCP server you can use the MCP Inspector tool.
npx @modelcontextprotocol/inspectorYou can then connect to the inspector through the specified host and port (e.g., http://localhost:5173/).
If using STDIO:
STDIO as the transport type,markitdown-mcp as the command, andConnectIf using Streamable HTTP:
Streamable HTTP as the transport type,http://127.0.0.1:3001/mcp as the URL, andConnectIf using SSE:
SSE as the transport type,http://127.0.0.1:3001/sse as the URL, andConnectFinally:
Tools tab,List Tools,convert_to_markdown, andThe server does not support authentication, and runs with the privileges of the user running it. For this reason, when running in SSE or Streamable HTTP mode, the server binds by default to localhost. Even still, it is important to recognize that the server can be accessed by any process or users on the same local machine, and that the convert_to_markdown tool can be used to read any file that the server's user has access to, or any data from the network. If you require additional security, consider running the server in a sandboxed environment, such as a virtual machine or container, and ensure that the user permissions are properly configured to limit access to sensitive files and network segments. Above all, DO NOT bind the server to other interfaces (non-localhost) unless you understand the security implications of doing so.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add markitdown -- docker run --rm -i markitdown-mcp:latest{
"mcpServers": {
"markitdown": {
"args": [
"run",
"--rm",
"-i",
"markitdown-mcp:latest"
],
"command": "docker"
}
}
}code --add-mcp '{"name":"markitdown","args":["run","--rm","-i","markitdown-mcp:latest"],"command":"docker"}'[mcp_servers.markitdown]
command = "docker"
args = ["run", "--rm", "-i", "markitdown-mcp:latest"]Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/markitdown-mcp to learn what the "MarkItDown MCP" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
docker run -it --rm markitdown-mcp:latest
docker run -it --rm -v /home/user/data:/workdir markitdown-mcp:latestnpx @modelcontextprotocol/inspectorThis server runs locally, so we can't read its tool list over the web yet.
Node.js server implementing Model Context Protocol (MCP) for filesystem operations.
The structurally-verified context layer for AI coding agents. Cut 50-90% of your agent's token spend
The official MCP server implementation for the Perplexity API Platform
v0.1.8b1Version 0.1.8b1Release notesv0.1.7Version 0.1.7Release notesv0.1.6Version 0.1.6Release notesv0.1.5Release notesv0.1.5b1Version 0.1.5b1Release notesv0.1.4Version 0.1.4Release notesv0.1.3Release notesv0.1.2Release notesv0.1.2a1Release notesv0.1.1Release notesv0.1.0Release notesv0.1.0a6Release notesv0.1.0a5Release notesv0.1.0a4Release notesv0.0.2Release notesv0.1.0a1Release notesv0.0.1Release notesv0.0.1a5Release notesv0.0.1a4MarkItDown version v0.0.1a4Release notesv0.0.1a3Release notesConnect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "markitdown-mcp" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
Node.js server implementing Model Context Protocol (MCP) for filesystem operations.
Files & Storage
The structurally-verified context layer for AI coding agents. Cut 50-90% of your agent's token spend
AI & ML Services
The official MCP server implementation for the Perplexity API Platform
AI & ML Services
One email a week. New agents, MCP servers and skills, and what is actually getting traction.