MCP.so
Sign In
D

Doc Ops Mcp

@Tele-AI

About Doc Ops Mcp

No overview available yet

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "doc-ops-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "doc-ops-mcp@latest"
      ],
      "env": {
        "OUTPUT_DIR": "/tmp/output",
        "CACHE_DIR": "/tmp/cache"
      }
    }
  }
}

Tools

13

Read various document formats (DOCX, DOC, TXT, MD, HTML, etc.)

Write content to document files in specified formats. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names based on content type (HTML, Markdown, or plain text). Supports intelligent format detection.

Convert documents between formats with enhanced style preservation. Output directory is controlled by OUTPUT_DIR environment variable. All output files will be automatically saved to the directory specified by OUTPUT_DIR with auto-generated names. ⚠️ IMPORTANT: For Markdown to HTML conversion with style preservation, use 'convert_markdown_to_html' tool instead for better results with themes and styling. For creating Word documents from content, use 'create_word_document' tool to avoid conversion loops.

Add watermarks to PDF documents. Supports both text and image watermarks. Priority: user text > user image > environment variable image > default text "doc-ops-mcp"

Add 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

Enhanced 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.

Enhanced 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.

Enhanced 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.

Enhanced 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.

Enhanced 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.

Create 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.

🎯 **MANDATORY FIRST STEP** - Smart Document Conversion Planner - ⚠️ CRITICAL: This tool MUST be executed BEFORE any document conversion operation! When users request any format conversion (e.g., 'convert MD to PDF', 'DOCX to HTML'), you MUST call this tool first to get the optimal conversion plan, then follow the plan's steps exactly. This ensures proper conversion workflow and handles complex multi-step conversions. For PDF conversions, note that playwright-mcp integration is required for final PDF generation, followed by process_pdf_post_conversion for watermarks/QR codes. Supports all format conversion path planning.

🔧 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

Overview

What is Doc Ops Mcp?

Doc Ops Mcp is a universal MCP server for document processing, conversion, and automation. It handles PDF, DOCX, HTML, and Markdown through a unified API and toolset, targeting developers and power users who need document operations within MCP-compatible clients.

How to use Doc Ops Mcp?

Add the server to your MCP client using the command npx -y doc-ops-mcp. Configure optional environment variables like OUTPUT_DIR, CACHE_DIR, WATERMARK_IMAGE, and QR_CODE_IMAGE for output paths and PDF enhancements. Then use natural-language prompts (e.g., “Convert report.docx to PDF”) or directly call its MCP tools (read_document, write_document, convert_document, plan_conversion, convert_docx_to_pdf).

Key features of Doc Ops Mcp

  • Convert between PDF, DOCX, HTML, and Markdown formats
  • Read and write documents in multiple formats
  • Smart conversion planning with optimal path selection
  • Content rewriting: batch text replacement, regex, format adjustment, smart rewriting
  • PDF enhancement: add watermarks (text or image) and QR codes
  • Pure JavaScript implementation, no external system dependencies

Use cases of Doc Ops Mcp

  • Convert a .docx report to PDF with automatic watermark
  • Batch rename company names in a contract .md file
  • Add a QR code to an invoice PDF for quick access
  • Read and extract metadata from DOCX, PDF, or HTML documents
  • Plan the best conversion path between two document formats

FAQ from Doc Ops Mcp

What document formats are supported?

PDF, DOCX, HTML, and Markdown are supported for reading and conversion. See the conversion matrix in the README for details.

How do I set a custom output directory?

Set the OUTPUT_DIR environment variable (default is ~/Documents). The server also respects absolute outputPath parameters.

Does this server require any external dependencies?

No. Doc Ops Mcp is pure JavaScript with no system dependencies. Optionally, it can integrate with playwright-mcp for enhanced PDF conversion.

Can I add a watermark to PDFs?

Yes. Set the WATERMARK_IMAGE environment variable to a PNG or JPG path. If not set, a default text watermark “doc-ops-mcp” is used.

Is Doc Ops Mcp free to use?

Yes, it is released under the MIT open-source license.

Frequently asked questions

What document formats are supported?

PDF, DOCX, HTML, and Markdown are supported for reading and conversion. See the conversion matrix in the README for details.

How do I set a custom output directory?

Set the `OUTPUT_DIR` environment variable (default is `~/Documents`). The server also respects absolute `outputPath` parameters.

Does this server require any external dependencies?

No. Doc Ops Mcp is pure JavaScript with no system dependencies. Optionally, it can integrate with `playwright-mcp` for enhanced PDF conversion.

Can I add a watermark to PDFs?

Yes. Set the `WATERMARK_IMAGE` environment variable to a PNG or JPG path. If not set, a default text watermark “doc-ops-mcp” is used.

Is Doc Ops Mcp free to use?

Yes, it is released under the MIT open-source license.

Comments

More Other MCP servers