doc-processor-mcp
v1.0.3Model Context Protocol (MCP) server for document conversion (md_conver) and processing across Word, Excel, PowerPoint, PDF, HTML, and Images.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
md_conver
Convert Markdown (.md) to other formats (docx, pdf, html, xlsx, pptx), or convert any supported document into Markdown. Defaults output to current working directory (process.cwd()).
| Parameter | Type | Description |
|---|---|---|
inputPath * | string | Source file path. |
options | object | |
outputPath | string | Optional destination path. Defaults to current directory if omitted. |
targetFormat | string | Target format. |
doc_inspect
Inspect structure, metadata, sheets, pages, and statistics of Word, Excel, PowerPoint, PDF, or Image files.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to the document or image to inspect. |
doc_img_process
Process image: resize, crop, rotate, flip, pad, adjust quality/filters, or convert format (jpeg/png/webp/avif). Outputs to current working directory by default.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Source image path. |
operations | object | Image operations to apply. |
outputPath | string | Optional destination image path. |
doc_img_overlay
Composite a watermark/logo image onto a base image.
| Parameter | Type | Description |
|---|---|---|
baseImagePath * | string | Base image path. |
watermarkPath * | string | Watermark/logo image path. |
options | object | |
outputPath | string | Optional destination image path. |
doc_img_to_pdf
Combine multiple images in sequence into a single PDF document in current working directory.
| Parameter | Type | Description |
|---|---|---|
imagePaths * | array | Array of image file paths. |
outputPath | string | Optional destination PDF path (defaults to current directory/images.pdf). |
doc_word_patch_text
Smart text replacement in Word (.docx) documents preserving original fonts, styles, and XML formatting.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to .docx file. |
replacements * | array | |
outputPath | string |
doc_word_fill_template
Fill a Word (.docx) template using mustache variables with provided data object.
| Parameter | Type | Description |
|---|---|---|
data * | object | |
outputPath * | string | |
templatePath * | string |
doc_word_append
Append text paragraphs to the end of an existing Word (.docx) document.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to .docx file. |
paragraphs * | array | List of paragraph text strings. |
outputPath | string |
doc_word_extract_links
Extract all hyperlinks from a Word (.docx) document.
| Parameter | Type | Description |
|---|---|---|
filePath * | string |
doc_excel_read
Read an Excel (.xlsx) worksheet as JSON array of objects or 2D matrix.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
raw | boolean | |
sheetName | string |
doc_excel_write
Write JSON array or 2D array into a new Excel (.xlsx) file in current directory.
| Parameter | Type | Description |
|---|---|---|
data * | array | |
outputPath | string | |
sheetName | string |
doc_excel_append_rows
Append multiple data rows into an existing Excel worksheet without rewriting the file.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
rows * | array | 2D array of row values. |
outputPath | string | |
sheetName | string |
doc_excel_search
Search for keywords across all sheets in an Excel workbook and return cell coordinates and row data.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
query * | string |
doc_excel_manage_sheet
Delete or rename a worksheet inside an Excel (.xlsx) workbook.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
filePath * | string | |
sheetName * | string | |
newName | string | |
outputPath | string |
doc_excel_merge
Merge all sheets from multiple Excel workbooks into a single workbook in current working directory.
| Parameter | Type | Description |
|---|---|---|
inputPaths * | array | |
outputPath | string |
doc_pdf_watermark
Add text watermark diagonally across all pages of a PDF document.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
watermarkText * | string | |
options | object | |
outputPath | string |
doc_pdf_merge
Merge multiple PDF files in order into a single PDF in current working directory.
| Parameter | Type | Description |
|---|---|---|
inputPaths * | array | |
outputPath | string |
doc_pdf_split
Split a PDF into separate individual single-page PDF files.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
outputDir | string |
doc_pdf_extract_pages
Extract specific page numbers (1-indexed) from a PDF into a new PDF document.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
pages * | array | Array of page numbers to extract (e.g. [1, 3, 5]). |
outputPath | string |
doc_pdf_rotate_pages
Rotate all or specified pages in a PDF document by 90, 180, or 270 degrees.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
angle | number | |
outputPath | string | |
pages | array | Optional list of pages to rotate. Rotates all if omitted. |
doc_pdf_set_metadata
Update metadata (title, author, subject, keywords, creator) in a PDF file.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
metadata * | object | |
outputPath | string |
doc_pdf_to_images
Convert PDF pages into high-resolution images (PNG / JPG / JPEG). Supports scale/DPI setting and selective page ranges. Defaults output to `<filename>_images` directory.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to the source PDF file. |
format | string | Output image format. Default is "png". |
outputDir | string | Optional directory path to store extracted images. Defaults to `<filename>_images` in current working directory. |
pages | array | Optional array of page numbers to export (1-indexed, e.g. [1, 2, 5]). If omitted, exports all pages. |
password | string | Password for encrypted PDFs. |
scale | number | Image resolution scale factor (e.g. 1.0 = ~72 DPI, 2.0 = ~144 DPI, 3.0 = ~216 DPI). Default is 2.0. |
doc_pptx_create
Create a custom presentation (.pptx) with structured slides containing titles and bullet points.
| Parameter | Type | Description |
|---|---|---|
slides * | array | |
options | object | |
outputPath | string |
doc_pptx_replace_text
Search and replace text across all slides in a PowerPoint (.pptx) file.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
replaceText * | string | |
searchText * | string | |
outputPath | string |
doc_pptx_extract_images
Extract all embedded image assets from a PowerPoint (.pptx) presentation into a directory.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
outputDir | string |
doc_images_to_pptx
Convert multiple image files into a PowerPoint (.pptx) presentation in current working directory. Each image is placed on an individual slide.
| Parameter | Type | Description |
|---|---|---|
imagePaths * | array | Array of image file paths (PNG, JPG, WebP, etc.) in presentation order. |
options | object | |
outputPath | string | Optional destination .pptx path. Defaults to `images_presentation.pptx` in current working directory. |