Simple Document Processing MCP Server
简单文档处理 MCP 服务器
强大的模型上下文协议 (MCP) 服务器提供全面的文档处理功能。
特征
文档阅读器
读取 DOCX、PDF、TXT、HTML、CSV
文档转换
DOCX 到 HTML/PDF 的转换
HTML 到 TXT/Markdown 的转换
PDF 操作(合并、拆分)
文本处理
多编码传输支持(UTF-8、Big5、GBK)
文本格式化和清理
文本比较和差异生成
按行或分隔符分割文本
HTML 处理
HTML 清理和格式化
资源提取(图像、链接、视频)
结构保留转换
Related MCP server: docx-mcp
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装文档处理服务器:
npx -y @smithery/cli install @cablate/mcp-doc-forge --client claude手动安装
npm install -g @cablate/mcp-doc-forge用法
命令行
mcp-doc-forge使用Dive Desktop
在 Dive Desktop 中点击“+ 添加 MCP 服务器”
复制并粘贴此配置:
{
"mcpServers": {
"searxng": {
"command": "npx",
"args": [
"-y",
"@cablate/mcp-doc-forge"
],
"enabled": true
}
}
}点击“保存”安装 MCP 服务器
执照
麻省理工学院
贡献
欢迎社区参与和贡献!贡献方式如下:
⭐️ 如果您觉得有用,请为项目加星标
🐛 提交问题:报告问题或提供建议
🔧 创建 Pull 请求:提交代码改进
接触
如果您有任何问题或建议,请随时联系我们:
📧 GitHub: CabLate
🤝合作:欢迎洽谈项目合作
📚 技术指导:诚挚欢迎建议和指导
Available Tools
16 toolsdocument_readerA
Read content from non-image document-files at specified paths, supporting various file formats: .pdf, .docx, .txt, .html, .csv
Inputs: filePath (required).
docx_to_htmlA
Convert DOCX to HTML while preserving formatting
Inputs: inputPath (required), outputDir (required).
docx_to_pdfB
Convert DOCX files to PDF format
Inputs: inputPath (required), outputPath (required).
excel_readB
Read Excel file and convert to JSON format while preserving structure
Inputs: inputPath (required), includeHeaders.
format_convertC
Convert between different document formats (Markdown, HTML, XML, JSON)
Inputs: input (required), fromFormat (required), toFormat (required).
html_cleanerC
Clean HTML by removing unnecessary tags and attributes
Inputs: inputPath (required), outputDir (required).
html_extract_resourcesC
Extract all resources (images, videos, links) from HTML
Inputs: inputPath (required), outputDir (required).
html_formatterC
Format and beautify HTML code
Inputs: inputPath (required), outputDir (required).
html_to_markdownC
Convert HTML to Markdown format
Inputs: inputPath (required), outputDir (required).
html_to_textC
Convert HTML to plain text while preserving structure
Inputs: inputPath (required), outputDir (required).
pdf_mergerC
Merge multiple PDF files into one
Inputs: inputPaths (required), outputDir (required).
pdf_splitterB
Split a PDF file into multiple files
Inputs: inputPath (required), outputDir (required), pageRanges (required).
text_diffB
Compare two text files and show differences
Inputs: file1Path (required), file2Path (required), outputDir (required).
text_encoding_converterC
Convert text between different encodings
Inputs: inputPath (required), outputDir (required), fromEncoding (required), toEncoding (required).
text_formatterC
Format text with proper indentation and line spacing
Inputs: inputPath (required), outputDir (required).
text_splitterB
Split text file by specified delimiter or line count
Inputs: inputPath (required), outputDir (required), splitBy (required), value (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Each tool targets a distinct operation: reading various formats, specific conversions (docx, html, pdf, text), and manipulations. There is no overlap in purpose; even similar conversions like html_to_markdown and html_to_text are clearly differentiated.
All tool names follow the verb_noun pattern (e.g., document_reader, docx_to_html, text_splitter) using consistent snake_case. The naming is predictable and easy to understand.
With 16 tools, the count is slightly above the typical range of 3-15, but it is justified by the breadth of document formats and operations covered, making it reasonable for the server's purpose.
The tool set covers reading, converting, and manipulating common document formats (PDF, DOCX, HTML, text, Excel). Minor gaps exist, such as missing direct docx-to-text conversion (though document_reader can read docx), but the overall surface is comprehensive for most document processing needs.
Maintenance
Related MCP Connectors
Automate enterprise-grade documents from templates, merge and 100+ conversions: PDF, Office, HTML.
Composable APIs for document extraction, image transformation, and document & sheet generation.
Document conversion and OCR for AI agents: PDF, Office docs, images to text.
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables reading and processing various document formats including Word, PDF, RTF, and text files. Supports extracting media elements like images and links, with features for PDF page range selection and automatic text encoding detection.8MIT
- AlicenseBqualityDmaintenanceEnables comprehensive management of Microsoft Word documents with 30+ tools for reading, writing, formatting, template merging, image extraction, equation extraction, and style application.241MIT
- FlicenseNot gradedqualityDmaintenanceProvides tools to read PDFs, extract images, convert between PDF and DOCX, create DOCX from text, and generate PDFs from DOCX, text, or HTML.-
- FlicenseNot gradedqualityDmaintenanceEnables processing PowerPoint and Word documents, extracting content and structure, combining them, and generating new presentations.1-