tencent-saas-docs

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

68|25|Updated Jul 24, 2026
One-click install
npx skills add https://github.com/rojim666/SztuCode --skill tencent-saas-docs-rojim666
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tencent-saas-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-saas-docs
Command: npx skills add https://github.com/rojim666/SztuCode --skill tencent-saas-docs-rojim666

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Enterprise users of Tencent Docs (saas.docs.qq.com) need programmatic control over cloud documents—creating Word docs, Excel sheets, slides, mind maps, and smart tables—without manually operating the web UI, while routing each operation to the correct MCP endpoint. ## Core Features & Use Cases - Multi-endpoint document operations: Routes fine-grained editing of doc/sheet/slide files to dedicated doc-mcp, sheet-mcp, and slide-mcp endpoints, while file management, search, creation, and web clipping go through the main tencent-saas-docs service. - Full document lifecycle: Create documents from Markdown/MDX/Mermaid, batch-write spreadsheet ranges, edit PPT shapes and charts, manage knowledge base spaces and nodes, import local files, and clip web pages to cloud docs. - Use Case: Ask the agent to turn meeting notes into a formatted smart canvas document, then create a tracking spreadsheet with batch-imported CSV data and organize both into a knowledge base space folder. ## Quick Start Ask the agent to create a new Tencent Docs document titled "Weekly Report" from your Markdown notes and place it in your knowledge base space.

Frequently Asked Questions about tencent-saas-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-saas-docs service for smart documents, or create_with_markdown on doc-mcp for Word documents. MDX is backward compatible with all Markdown syntax, so no conversion is needed.

How do I edit an existing PPT file in Tencent Docs?▼

All slide editing must go through the slide-mcp endpoint using slide_* tools such as slide_add_shape, slide_set_text, and slide_add_slides. The main service's generic tools do not support slide internals like shape_id, page_index, or master layouts.

Does this skill work with personal QQ or WeChat Tencent Docs accounts?▼

No. This skill only works with Tencent Docs enterprise edition (SaaS/OneID) accounts at saas.docs.qq.com. Personal accounts return an identity mismatch error and should use the separate tencent-docs skill instead.

Why does a Tencent Docs tool call return error 400006?▼

Error 400006 means token authentication failed because the access ticket is invalid or expired. The host environment (such as the Sztubuddy connector) must refresh the injected token, after which the call can be retried.

How do I write large amounts of data into a Tencent Docs spreadsheet?▼

Use the sheet-mcp endpoint's batch tools set_range_value or set_range_value_by_csv to submit many cells in one call. Looping single-cell set_cell_value calls is discouraged because it increases network round trips and edit conflicts.

How is authentication handled for Tencent Docs MCP calls?▼

Authentication relies on tokens injected by the host environment as TDOC_ONEID_ACCESS_TOKEN or TDOC_OAUTH_ACCESS_TOKEN, which tencentdocs.py forwards via HTTP headers. Run tdoc_init first to verify a token exists before making calls.