Skip to main content
Glama
Simple Document Processing MCP Server

Simple Document Processing MCP Server

by cablate

简单文档处理 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

  1. 在 Dive Desktop 中点击“+ 添加 MCP 服务器”

  2. 复制并粘贴此配置:

{
  "mcpServers": {
    "searxng": {
      "command": "npx",
      "args": [
        "-y",
        "@cablate/mcp-doc-forge"
      ],
      "enabled": true
    }
  }
}
  1. 点击“保存”安装 MCP 服务器

执照

麻省理工学院

贡献

欢迎社区参与和贡献!贡献方式如下:

  • ⭐️ 如果您觉得有用,请为项目加星标

  • 🐛 提交问题:报告问题或提供建议

  • 🔧 创建 Pull 请求:提交代码改进

接触

如果您有任何问题或建议,请随时联系我们:

Available Tools

16 tools
document_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

    B3.3/5.0

    Scored across 16 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers