MCP.so
登录
M

MCP Dingtalk Doc

@hykfft

基本信息

分类

其他

传输方式

stdio

作者

hykfft

提交者

振宇 于

关于 MCP Dingtalk Doc

暂无概览

#mcp-dingtalk-doc#document-parser#html-generator

MCP Dingtalk Doc 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "dingtalk-doc": {
      "command": "python3",
      "args": [
        "~/Documents/AIGC/dingtalk_api/mcp_dingtalk_doc/server.py"
      ],
      "env": {
        "DINGTALK_COOKIE": "你的Cookie",
        "DINGTALK_DOC_OUTPUT_DIR": "~/Documents/cursor-mcp/dingDoc"
      }
    }
  }
}

MCP Dingtalk Doc 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Mcp Dingtalk Doc?

Mcp Dingtalk Doc is an MCP server that parses DingTalk document content and generates styled HTML output. It is intended for users who need to extract and view DingTalk documents programmatically. The server was tested on macOS only.

How to use Mcp Dingtalk Doc?

Install from source with pip install -e . or via uv, set the DINGTALK_COOKIE environment variable, then run server.py. Configure the server in any MCP‑compatible client (e.g., Cursor). Two tools are exposed: parse_document (saves files) and get_html (returns HTML without saving). Provide a DingTalk document URL or node ID as input.

Key features of Mcp Dingtalk Doc

  • Full GET → extract dentryKey → POST → HTML pipeline
  • Supports paragraphs, tables, images, and code blocks
  • Beautiful rendering with gradient UI and dark code theme
  • One‑click copy for code blocks
  • Accepts full URL or NODE_ID as input
  • Auto‑archives output in per‑node folders

Use cases of Mcp Dingtalk Doc

  • Analyze a DingTalk document and generate a local HTML copy
  • Embed DingTalk document content into other tools via MCP
  • Perform quick document inspection without manual navigation
  • Archive documents with structured JSON data and rendered HTML

常见问题

1

What are the runtime requirements?

Python 3.10 or higher is required. The server was tested on macOS.

2

How do I obtain the DingTalk cookie?

Open a DingTalk document in a browser, press F12, go to the Network tab, refresh the page, and copy the `Cookie` field from any request.

3

What files does `parse_document` produce?

It creates a folder containing four files: `{NODE_ID}_mainsite.json`, `{NODE_ID}_document.json`, `{NODE_ID}_content.json`, and `{NODE_ID}.html`.

4

What are known limitations?

OSS‑encrypted document content is not fully decrypted. Some elements (lists, blockquotes, etc.) are not yet supported. The cookie must be renewed when the session expires.

5

Which transport does the server use?

It uses the standard MCP protocol with stdio transport, invoked via `python3 server.py`.

评论

其他 分类下的更多 MCP 服务器