AI Agent Hub
Back to skills
DingTalk Docs MCP Assistant icon

DingTalk Docs MCP Assistant

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_924c5114/dingtalk-docs-skill in your AI assistant.

About this skill

Problem

Operating DingTalk documents inside an Agent is not just one API call. The hard part is mapping intent to the right node type and write path: text is adoc, spreadsheets are axls, shortcuts are dlink, files may need original-format upload, and a default workspace URL may be missing without node IDs.

How It Works

The skill depends on a DingTalk Docs MCP server named dingtalk-doc. Setup can register the MCP service and store a default workspace URL in references/dingtalk.config, then read that file or environment variables before acting. Common operations include:

  • search_documents, list_nodes, and get_document_info for locating targets
  • get_document_content for reading adoc text
  • create_document and update_document for online text documents
  • list_document_blocks plus block insert/update/delete for precise edits
  • get_file_upload_info, HTTP PUT, and commit_uploaded_file for HTML, images, PDF, Office, and other files
  • submit_export_job and query_export_job for asynchronous export

Boundaries

create_document and update_document only support adoc documents and have a 10,000-character Markdown limit. Content over 9,500 characters should be split or uploaded as a raw .md file, not converted silently. Tables, slides, mind maps, whiteboards, and shortcuts are not readable as adoc content. mermaid blocks do not automatically become native DingTalk drawings. Write operations should confirm target, filename, and method; deletes usually go to the recycle bin.

Use Cases

  • After configuring dingtalk-doc MCP in Cursor, push a local Markdown file into an editable adoc for review.
  • Search a workspace for a project weekly report, append the latest conclusions, then export it as PDF for reviewers.
  • Upload a customer-provided HTML report to a specific folder while preserving the original layout and attachments.
  • Reorganize a knowledge-base folder by renaming and moving nodes, then set read-only or editable member permissions.

Best For

  • Agent engineers using Claude Code or Cursor who want to sync local Markdown, HTML, or PDF files into DingTalk workspaces.
  • Product managers maintaining project docs who want to search weekly reports, append conclusions, export PDF or Word, and adjust permissions.
  • Operations or documentation admins managing knowledge bases who want to rename, move, copy, delete nodes, and configure permissions.
  • Automation engineers setting up dingtalk-doc MCP and a default workspace who need to handle non-adoc node limitations.