Prerequisites
- Python 3.10 or higher (for pip installation)
- Docker (for Docker installation)
Installing with pip
Install themarkitdown-mcp package using pip:
- The
markitdown-mcpcommand-line tool - The MCP server components (mcp ~1.8.0)
- MarkItDown with all optional plugins (markitdown[all])
Verifying Installation
Verify the installation by running:Installing with Docker
For a containerized deployment, build the Docker image from the source:Building the Docker Image
- Clone the MarkItDown repository or navigate to the
markitdown-mcppackage:
- Build the Docker image:
- Python 3.13 slim runtime
- MarkItDown with all plugins enabled
- ffmpeg for video/audio processing
- exiftool for metadata extraction
Testing the Docker Image
Test the Docker image by running:Plugin Support
The MCP server supports enabling optional MarkItDown plugins through an environment variable.Enabling Plugins
When running the server, set theMARKITDOWN_ENABLE_PLUGINS environment variable:
The Docker image has plugins enabled by default. For pip installations, you need to set the environment variable explicitly.
Accepted Values
The following values enable plugins (case-insensitive):true1yes
Dependencies
The package has the following key dependencies:| Package | Version | Purpose |
|---|---|---|
| mcp | ~1.8.0 | Model Context Protocol server framework |
| markitdown[all] | >=0.1.1,<0.2.0 | Document conversion engine with all plugins |
System Requirements
For pip Installation
- Python 3.10, 3.11, 3.12, or 3.13
- CPython or PyPy implementation
- Operating system: Linux, macOS, or Windows
For Docker Installation
- Docker Engine (any recent version)
- Sufficient disk space for the image (~500MB)
Next Steps
Usage Guide
Learn how to run the MCP server
Claude Desktop
Configure Claude Desktop integration