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.
@Tele-AI
概要はまだありません
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"doc-ops-mcp": {
"command": "npx",
"args": [
"-y",
"doc-ops-mcp@latest"
],
"env": {
"OUTPUT_DIR": "/tmp/output",
"CACHE_DIR": "/tmp/cache"
}
}
}
}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
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.
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).
PDF, DOCX, HTML, and Markdown are supported for reading and conversion. See the conversion matrix in the README for details.
Set the `OUTPUT_DIR` environment variable (default is `~/Documents`). The server also respects absolute `outputPath` parameters.
No. Doc Ops Mcp is pure JavaScript with no system dependencies. Optionally, it can integrate with `playwright-mcp` for enhanced PDF conversion.
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.
Yes, it is released under the MIT open-source license.
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。

Model Context Protocol Servers
🚀 The fast, Pythonic way to build MCP servers and clients.
Open-source MCP to use Blender with any LLM
Painless E2E Automation for Mobile and Web
コメント