Convert documents to Markdown using MarkItDown
Convert documents to Markdown using MarkItDown. That is what the document mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
Convert documents to Markdown inside Cursor, VS Code, and any MCP client.
Once connected, your agent converts files locally and returns structured text — nothing is sent to a conversion API.
The server publishes 2 tools. What each one is for:
convert_to_markdown — Converts a file or URL to Markdown and saves output (.md beside source, or youtube-{id}.md for YouTube URLs)preview_markdown — Returns Markdown in the chat response onlySetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Configuration is passed through the environment: REPO_PATH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
uvx). Windows (PowerShell): macOS / Linux: 2. Verify uvx works (open a new terminal after installing): 3. Optional — test the server (it will sit idle with no output; that is normal for stdio MCP): Press Ctrl+C to stop. ---Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Document's toolset — convert_to_markdown, preview_markdown — is a fair guide to whether it matches your workflow. It is maintained by Zahid-Abbas-Ali-Baig; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| convert_to_markdown | Converts a file or URL to Markdown and saves output (.md beside source, or youtube-{id}.md for YouTube URLs) |
| preview_markdown | Returns Markdown in the chat response only |
**macOS / Linux:**
```json
{
"mcpServers": {
"document-converter": {
"command": "REPO_PATH/.venv/bin/python",
"args": ["REPO_PATH/server.py"]
}
}
}Configuration as documented by the project. Restart the client after saving.
uvx). Windows (PowerShell): macOS / Linux: 2. Verify uvx works (open a new terminal after installing): 3. Optional — test the server (it will sit idle with no output; that is normal for stdio MCP): Press Ctrl+C to stop. ---| Variable | Description | Required |
|---|---|---|
| REPO_PATH | Filesystem location the server is allowed to use. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.