tencent-docs

Create, edit, and manage Tencent Docs cloud documents via MCP endpoints.

68|25|Updated Jul 24, 2026
One-click install
npx skills add https://github.com/rojim666/SztuCode --skill tencent-docs-rojim666
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tencent-docs
Source: https://github.com/rojim666/SztuCode/tree/main/py-runtime/src/sztu_code/core/prompts/workbuddy/skills/_builtin-plugins/tencent-docs-plugin/skills/tencent-docs
Command: npx skills add https://github.com/rojim666/SztuCode --skill tencent-docs-rojim666

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Managing Tencent Docs (docs.qq.com) cloud documents manually through the web UI is slow and hard to automate. This Skill lets an AI agent create, edit, search, organize, and convert online documents programmatically through Tencent Docs MCP endpoints, using host-injected credentials without a separate OAuth flow. ## Core Features & Use Cases - Full document lifecycle management: Create, rename, move, copy, delete, import, export, and search files, plus manage knowledge-base spaces and folder nodes. - Category-specific editing: Fine-grained editing of Word docs, Excel sheets, and slides through dedicated doc-mcp, sheet-mcp, and slide-mcp endpoints, plus smartcanvas (MDX) and smartsheet (multi-dimensional tables) support. - Content conversion utilities: OCR images to text/Word/Excel, clip web pages into documents, upload local HTML as .aipage packages, and generate mind maps from Markdown or flowcharts from Mermaid. - Use Case: Ask the agent to turn meeting notes into a formatted online Word document, batch-write sales data into an online spreadsheet, or clip a web article into your Tencent Docs knowledge base. ## Quick Start Ask the agent to create a new Tencent Docs smart document titled "Weekly Report" containing your Markdown notes, and it will check credentials, pick the right endpoint, and return the online document link.

Frequently Asked Questions about tencent-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Tencent Docs document from Markdown?▼

Use create_smartcanvas_by_mdx on the tencent-docs endpoint and pass your Markdown in the mdx parameter, since MDX is backward compatible with Markdown. For Word-style documents, use create_with_markdown on the doc-mcp endpoint instead.

How do I edit an existing Tencent Docs spreadsheet programmatically?▼

First get the file_id via manage.query_file_info or manage.search_file, then call sheet-mcp tools like set_range_value or set_range_value_by_csv for batch writes. Always check parameters with tdoc_schema before calling any tool.

Does this skill work with Tencent Docs enterprise SaaS accounts?▼

No, this skill only supports personal accounts logged in via QQ or WeChat on docs.qq.com. Enterprise SaaS accounts return an identity_mismatch error and should use the separate tencent-saas-docs skill instead.

Why do I get error 400016 when editing a document?▼

Error 400016 means a document type mismatch: you used a tool from the wrong category, such as a sheet tool on a Word document. Run manage.query_file_info to confirm the document type, then route to the matching endpoint.

How is authentication handled for Tencent Docs MCP calls?▼

Authentication relies on tokens injected by the host environment as TDOC_OAUTH_ACCESS_TOKEN or TDOC_ONEID_ACCESS_TOKEN, transmitted via HTTP headers on each call. Run tdoc_init first; if it returns ERROR:no_token, complete authorization in the host connector.

Can I convert images or local files into Tencent Docs documents?▼

Yes. Use ocr.toword or ocr.toexcel for images (or node ocr.js for local files), and package local HTML with aipage_pack.js then import via manage.async_import. Web pages can be clipped with scrape_url followed by scrape_progress polling.