markitdown-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@markitdown-mcpconvert https://en.wikipedia.org/wiki/Markdown to markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MarkItDown-MCP
The MarkItDown-MCP package is meant forlocal use, with local trusted agents. In particular, when running the MCP server with Streamable HTTP or SSE, it binds to localhost by 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.
Installation
To install the package, use pip:
pip install markitdown-mcpRelated MCP server: flexberry-markitdown-mcp
Usage
To 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 3001Running in Docker
To 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.
Accessing from Claude Desktop
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"
]
}
}
}Debugging
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:
select
STDIOas the transport type,input
markitdown-mcpas the command, andclick
Connect
If using Streamable HTTP:
select
Streamable HTTPas the transport type,input
http://127.0.0.1:3001/mcpas the URL, andclick
Connect
If using SSE:
select
SSEas the transport type,input
http://127.0.0.1:3001/sseas the URL, andclick
Connect
Finally:
click the
Toolstab,click
List Tools,click
convert_to_markdown, andrun the tool on any valid URI.
Security Considerations
The 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.
Trademarks
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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseDqualityDmaintenanceAn MCP server that converts Markdown to HTML, supporting both stdio and HTTP interfaces for easy integration with Cursor and other MCP clients.Last updated132MIT
- Alicense-qualityAmaintenanceMCP server for converting various file formats (PDF, DOCX, images, audio, etc.) to Markdown using Microsoft MarkItDown, with support for large files and Cyrillic text.Last updated1MIT
- Alicense-qualityDmaintenanceMCP Server for Markdown to PDF conversion.Last updatedMIT
- Alicense-qualityCmaintenanceA production-ready MCP server for converting documents and files to Markdown using Microsoft MarkItDown.Last updatedMIT
Related MCP Connectors
MCP server for the FFmpeg Micro video transcoding API — create, monitor, download transcodes.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Normalize and convert more than 400 file types via TweekIT's hosted MCP streamable HTTP endpoint.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ivancamachovaladares/markitdown-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server