This directory contains example configurations for using the MarkItDown MCP server with various MCP clients.
- Copy the appropriate configuration file for your MCP client
- Update the
commandpath if needed to match your installation - Add the configuration to your client's MCP settings
Basic MCP server configuration showing all available tools and capabilities.
Configuration optimized for Claude Code with environment variables.
Configuration for Cursor IDE with timeout and capability specifications.
# Add to your Claude Code configuration
cp examples/claude_code_config.json ~/.config/claude-code/mcp.json# Add to your Cursor settings
cp examples/cursor_config.json ~/.cursor/mcp-config.jsonUse mcp_config.json as a template and modify according to your client's requirements.
command: Path to the markitdown-mcp executableargs: Command line arguments (usually empty)description: Human-readable description of the server
env: Environment variables to set for the server processtimeout: Request timeout in millisecondscapabilities: Server capabilities and limitations
- Command not found: Ensure
markitdown-mcpis in your PATH or use full path - Permission denied: Make sure the executable has proper permissions
- Timeout errors: Increase the timeout value for large file processing
Enable debug logging by setting environment variables:
{
"env": {
"LOG_LEVEL": "DEBUG",
"MCP_DEBUG": "1"
}
}- The server only operates on files within configured safe directories
- Base64 content is processed in temporary files that are automatically cleaned up
- No network access is required for file conversion operations
- Large files (>50MB) may take longer to process
- PDF files require additional dependencies (
pip install markitdown[pdf]) - Directory conversions process files sequentially to manage memory usage