About Doc Ops MCP
Doc Ops MCP is an MCP server published by Tele-AI in the Content category: mCP server for seamless document format conversion and processing. Conduid read 13 tools from its source: add_qrcode, add_watermark, convert_document, convert_docx_to_pdf, convert_html_to_markdown, convert_markdown_to_docx and 7 more. It is published to npm as doc-ops-mcp and starts with npx.
The repository has 140 stars and 3 forks, is licensed MIT, and its last commit was on 30 Nov 2026. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include docx2pdf, document-rewriting, markdown-converter, docx-to-pdf, document-conversion and document-converter.
Install
claude mcp add doc-ops-mcp -- npx -y doc-ops-mcpnpx -y doc-ops-mcpgit clone https://github.com/Tele-AI/doc-ops-mcpTools (13)
add_qrcodeAdd QR code to PDF documents with friendly text below. QR code must be an image file (PNG/JPG). Priority: user provided path > environment variable QR_CODE_IMAGE| Parameter | Type | Description |
|---|---|---|
| addText | boolean | Add friendly text below QR code |
| customText | string | Custom text (default: 'Scan QR code for more information') |
| pdfPath * | string | PDF file path |
| qrCodePath | string | QR code image path (PNG/JPG). Has highest priority. If not provided, uses QR_CODE_IMAGE environment variable. |
| qrOpacity | number | QR code opacity |
| qrPosition | string | |
| qrScale | number | QR code scale ratio |
add_watermarkAdd watermarks to PDF documents. Supports both text and image watermarks. Priority: user text > user image > environment variable image > default text "doc-ops-mcp"| Parameter | Type | Description |
|---|---|---|
| pdfPath * | string | PDF file path |
| watermarkImage | string | Watermark image path (PNG/JPG). Has higher priority than environment variable but lower than watermarkText. |
| watermarkImageOpacity | number | Image opacity |
| watermarkImagePosition | string | |
| watermarkImageScale | number | Image scale ratio |
| watermarkText | string | Watermark text content. Has highest priority. If not provided, will use image or default text "doc-ops-mcp". |
convert_documentSmart document conversion| Parameter | Type | Description |
|---|---|---|
| inputPath * | string | Input file path |
| preserveFormatting | boolean | Preserve formatting |
| targetFormat | string | Target format: pdf, html, docx, markdown, md, txt (optional, auto-detected from input if not specified) |
| useInternalPlaywright | boolean | Use built-in Playwright for PDF conversion |
convert_docx_to_pdfEnhanced DOCX to PDF conversion with perfect Word style replication and Playwright integration. Watermark can be added by setting addWatermark=true (uses WATERMARK_IMAGE environment variable or default text "doc-ops-mcp"). QR code can be added by setting addQrCode=true (requires QR_CODE_IMAGE environment variable). Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.| Parameter | Type | Description |
|---|---|---|
| addQrCode | boolean | Add QR code to PDF (requires QR_CODE_IMAGE environment variable) |
| addWatermark | boolean | Add watermark to PDF (uses WATERMARK_IMAGE environment variable or default text "doc-ops-mcp") |
| chineseFont | string | Chinese font family to use |
| docxPath * | string | DOCX file path to convert |
| preserveFormatting | boolean | Preserve original formatting |
convert_html_to_markdownEnhanced HTML to Markdown conversion with style preservation. Converts HTML files to clean Markdown format while preserving structure, links, images, tables, and formatting. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.| Parameter | Type | Description |
|---|---|---|
| debug | boolean | Enable debug output |
| htmlPath * | string | HTML file path to convert |
| includeCSS | boolean | Include CSS styles as comments in Markdown |
| preserveStyles | boolean | Preserve HTML formatting and styles |
convert_markdown_to_docxEnhanced Markdown to DOCX conversion with professional styling and theme support. Preserves formatting, supports tables, lists, headings, and inline formatting with beautiful Word document output. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.| Parameter | Type | Description |
|---|---|---|
| includeTableOfContents | boolean | Generate table of contents |
| markdownPath * | string | Markdown file path to convert |
| preserveStyles | boolean | Preserve Markdown formatting and styles |
| theme | string | Theme to apply |
convert_markdown_to_htmlEnhanced Markdown to HTML conversion with beautiful styling and theme support. Supports GitHub, Academic, Modern, and Default themes with complete style preservation. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.| Parameter | Type | Description |
|---|---|---|
| customCSS | string | Additional custom CSS styles |
| includeTableOfContents | boolean | Generate table of contents |
| markdownPath * | string | Markdown file path to convert |
| theme | string | Theme to apply |
convert_markdown_to_pdfEnhanced Markdown to PDF conversion with beautiful styling and theme support. Watermark can be added by setting addWatermark=true (uses WATERMARK_IMAGE environment variable or default text "doc-ops-mcp"). QR code can be added by setting addQrCode=true (requires QR_CODE_IMAGE environment variable). Requires playwright-mcp for final PDF generation. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.| Parameter | Type | Description |
|---|---|---|
| addQrCode | boolean | Add QR code to PDF (requires QR_CODE_IMAGE environment variable) |
| addWatermark | boolean | Add watermark to PDF (uses WATERMARK_IMAGE environment variable or default text "doc-ops-mcp") |
| includeTableOfContents | boolean | Generate table of contents |
| markdownPath * | string | Markdown file path to convert |
| theme | string | Theme to apply |
create_word_documentCreate a Word document directly from content with beautiful formatting. This tool is specifically designed for creating Word documents from scratch, avoiding conversion loops. Supports HTML content with automatic styling and formatting. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.| Parameter | Type | Description |
|---|---|---|
| content * | string | Content to write to Word document (supports HTML) |
| preserveFormatting | boolean | Preserve HTML formatting and styles |
| title | string | Document title |
plan_conversionConversion planner| Parameter | Type | Description |
|---|---|---|
| includeImages | boolean | Whether to include images |
| preserveStyles | boolean | Whether to preserve style formatting |
| quality | string | Conversion quality requirements |
| sourceFile | string | Source file path (optional, used to generate specific conversion parameters) |
| sourceFormat * | string | Source file format (e.g.: pdf, docx, html, markdown, md, txt) |
| targetFormat * | string | Target file format (e.g.: pdf, docx, html, markdown, md, txt) |
| theme | string | Conversion theme (applicable to HTML/DOCX output) |
process_pdf_post_conversion🔧 PDF Post-Processing Unified Tool - ⚠️ IMPORTANT: This is a necessary follow-up step for playwright-mcp's browser_pdf_save command! After using playwright-mcp to generate PDF, this tool must be called immediately to complete final processing. Features include: 1) Automatically move PDF from playwright temporary path to target location 2) Uniformly add watermarks and QR codes 3) Clean up temporary files. Workflow: playwright-mcp:browser_pdf_save → doc-ops-mcp:process_pdf_post_conversion| Parameter | Type | Description |
|---|---|---|
| addQrCode | boolean | Whether to add QR code (will be automatically added if QR_CODE_IMAGE environment variable is set) |
| addWatermark | boolean | Whether to add watermark (will be automatically added if WATERMARK_IMAGE environment variable is set) |
| customText | string | Custom text below QR code |
| playwrightPdfPath * | string | PDF file path generated by playwright-mcp (usually in temporary directory) |
| qrCodePath | string | QR code image path (overrides environment variable) |
| qrOpacity | number | QR code opacity |
| qrPosition | string | QR code position |
| qrScale | number | QR code scale ratio |
| targetPath | string | Target PDF file path (optional, will be auto-generated if not provided). If not absolute path, will be resolved relative to OUTPUT_DIR environment variable |
| watermarkImage | string | Watermark image path (overrides environment variable) |
| watermarkImageOpacity | number | Watermark image opacity |
| watermarkImagePosition | string | Watermark image position |
| watermarkImageScale | number | Watermark image scale ratio |
| watermarkText | string | Watermark text content |
read_documentRead document content| Parameter | Type | Description |
|---|---|---|
| extractMetadata | boolean | Extract document metadata |
| filePath * | string | Document path to read |
| preserveFormatting | boolean | Preserve formatting (HTML output) |
write_documentWrite document content| Parameter | Type | Description |
|---|---|---|
| content * | string | Content to write |
| encoding | string | File encoding |
| format | string | Force specific format: html, md, txt, docx (optional, auto-detected if not specified) |
| title | string | Document title (optional, used for filename generation) |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.0K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 15 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:9
- Starts other programs
- No calls that start other programs
- Outbound network calls
- No outbound network calls
- Writes or deletes files
- 21 callssrc/index.ts:100, src/index.ts:118, src/index.ts:497
- Lockfile
- package-lock.json
Pattern matches on the source text of 15 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 3.0K words, fetched a month ago. The original in the repository is authoritative.
Read full README