TA

tele-ai/doc-ops-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

140 stars 3 forks 质量 89 趋势 20MIT

tele-ai/doc-ops-mcp 是从 https://github.com/tele-ai/doc-ops-mcp. 导入的 MCP 服务器候选

概览

tele-ai/doc-ops-mcp 是从 https://github.com/tele-ai/doc-ops-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

语言 / 语言:英语 |中文

文档操作MCP服务器——一款通用MCP服务器,用于文档处理、转换和自动化。通过统一的API和工具集处理PDF、文档X、HTML、Markdown等。

演示

视频

在这个演示中,我们展示了如何:

  • 在MCP客户端中配置doc-ops-mcp
  • 将 DOCX 文档转换为 PDF 格式
  • 为转换后的PDF文件添加默认水印

目录

  1. 快速入门
  2. 系统架构
  3. 可选集成
  4. 特征
  5. 开源许可
  6. 未来路线图
  7. Docker 部署
  8. 发展指南
  9. 故障排除
  10. 贡献

1.快速入门

首先,将文档操作MCP服务器添加到你的MCP客户端。

标准配置在大多数MCP客户端中都能正常工作:

Claude Desktop

按照MCP安装指南操作,使用上面的标准配置。

VS Code

按照MCP安装指南操作,使用上面的标准配置。

光标

前往 Cursor Settings -> MCP -> Add new MCP Server。根据你喜欢的名字,使用命令 command 输入 command。

其他MCP客户端

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Document Operations MCP Server

Language / 语言: English | 中文

Document Operations MCP Server - A universal MCP server for document processing, conversion, and automation. Handle PDF, DOCX, HTML, Markdown, and more through a unified API and toolset.

Demo

Video

In this demo, we showcase how to:

  • Configure doc-ops-mcp in MCP clients
  • Convert DOCX documents to PDF format
  • Add default watermarks to converted PDF files

Table of Contents

  1. Quick Start
  2. System Architecture
  3. Optional Integration
  4. Features
  5. Open Source Licenses
  6. Future Roadmap
  7. Docker Deployment
  8. Development Guide
  9. Troubleshooting
  10. Contributing

1. Quick Start

First, add the Document Operations MCP server to your MCP client.

Standard config works in most MCP clients:

{
  "mcpServers": {
    "doc-ops-mcp": {
      "command": "npx",
      "args": ["-y", "doc-ops-mcp"],
      "env": {
        "OUTPUT_DIR": "/path/to/your/output/directory",
        "CACHE_DIR": "/path/to/your/cache/directory",
      }
    }
  }
}

Configuration

The Document Operations MCP server supports configuration through environment variables. These can be provided in the MCP client configuration as part of the "env" object:

{
  "mcpServers": {
    "doc-ops-mcp": {
      "command": "npx",
      "args": ["-y", "doc-ops-mcp"],
      "env": {
        "OUTPUT_DIR": "/path/to/your/output/directory",
        "CACHE_DIR": "/path/to/your/cache/directory",
        "WATERMARK_IMAGE": "/path/to/watermark.png",
        "QR_CODE_IMAGE": "/path/to/qrcode.png"
      }
    }
  }
}
在 GitHub 查看完整 README

安装

npx -y doc-ops-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "doc-ops-mcp": { "command": "npx", "args": ["-y", "doc-ops-mcp"], "env": { "OUTPUT_DIR": "/path/to/your/output/directory", "CACHE_DIR": "/path/to/your/cache/directory", } } } }