The markitdown-mcp package provides a lightweight STDIO, Streamable HTTP, and SSE MCP server for calling MarkItDown. It exposes one tool: converttomarkdown(uri), where uri can be any http:, https:, file:, or data: URI. To install the package, use pip: To run the MCP server, using STDIO (default) use the following command: To run the MCP server, using Streamable HTTP and SSE use the following comma
Add this skill
npx mdskills install microsoft/markitdownWell-documented MCP server with clear setup instructions for multiple transport types and Docker deployment
1# MarkItDown-MCP23[](https://pypi.org/project/markitdown-mcp/)45[](https://github.com/microsoft/autogen)67The `markitdown-mcp` package provides a lightweight STDIO, Streamable HTTP, and SSE MCP server for calling MarkItDown.89It exposes one tool: `convert_to_markdown(uri)`, where uri can be any `http:`, `https:`, `file:`, or `data:` URI.1011## Installation1213To install the package, use pip:1415```bash16pip install markitdown-mcp17```1819## Usage2021To run the MCP server, using STDIO (default) use the following command:222324```bash25markitdown-mcp26```2728To run the MCP server, using Streamable HTTP and SSE use the following command:2930```bash31markitdown-mcp --http --host 127.0.0.1 --port 300132```3334## Running in Docker3536To run `markitdown-mcp` in Docker, build the Docker image using the provided Dockerfile:37```bash38docker build -t markitdown-mcp:latest .39```4041And run it using:42```bash43docker run -it --rm markitdown-mcp:latest44```45This 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:4647```bash48docker run -it --rm -v /home/user/data:/workdir markitdown-mcp:latest49```5051Once 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`.5253## Accessing from Claude Desktop5455It is recommended to use the Docker image when running the MCP server for Claude Desktop.5657Follow [these instructions](https://modelcontextprotocol.io/quickstart/user#for-claude-desktop-users) to access Claude's `claude_desktop_config.json` file.5859Edit it to include the following JSON entry:6061```json62{63 "mcpServers": {64 "markitdown": {65 "command": "docker",66 "args": [67 "run",68 "--rm",69 "-i",70 "markitdown-mcp:latest"71 ]72 }73 }74}75```7677If you want to mount a directory, adjust it accordingly:7879```json80{81 "mcpServers": {82 "markitdown": {83 "command": "docker",84 "args": [85 "run",86 "--rm",87 "-i",88 "-v",89 "/home/user/data:/workdir",90 "markitdown-mcp:latest"91 ]92 }93 }94}95```9697## Debugging9899To debug the MCP server you can use the `mcpinspector` tool.100101```bash102npx @modelcontextprotocol/inspector103```104105You can then connect to the inspector through the specified host and port (e.g., `http://localhost:5173/`).106107If using STDIO:108* select `STDIO` as the transport type,109* input `markitdown-mcp` as the command, and110* click `Connect`111112If using Streamable HTTP:113* select `Streamable HTTP` as the transport type,114* input `http://127.0.0.1:3001/mcp` as the URL, and115* click `Connect`116117If using SSE:118* select `SSE` as the transport type,119* input `http://127.0.0.1:3001/sse` as the URL, and120* click `Connect`121122Finally:123* click the `Tools` tab,124* click `List Tools`,125* click `convert_to_markdown`, and126* run the tool on any valid URI.127128## Security Considerations129130The 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, it is recommended to run the server bound to `localhost` (default).131132## Trademarks133134This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft135trademarks or logos is subject to and must follow136[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).137Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.138Any use of third-party trademarks or logos are subject to those third-party's policies.139
Full transparency — inspect the skill content before installing.