快速了解
它能做什么
在 DeepSeek Harness 对话中操作 WPS 云文档。
本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。
Web Profile
DSH peers: @deepseek-ai/dsh-* ^0.1.0-rc.6 through declared ^0.1.5-rc.1 ranges
证据已验证
核对日期 2026/9/11 UTC 14:27
选择前先看
这是一个面向 DSH Web 配置的插件,可浏览、搜索、读取、创建、上传和下载 WPS 云文档。它连接金山 SkillHub MCP,并在 DSH 中提供文档、表格、演示、PDF、表单等 WPS 工具。
适合谁
希望通过对话操作 WPS 云盘、且拥有个人 WPS 账号的 DeepSeek Harness 用户。
常见任务
- 查看最近文件或浏览 WPS 云盘根目录。
- 搜索 WPS 文件,并读取文档、表格、演示或 PDF 内容。
- 按内容新建文档,或将演示导出为 PDF。
权限与数据
需要登录个人 WPS 账号,并在本地保存访问令牌以调用 WPS SkillHub。
权限- 通过浏览器进行 WPS 登录授权。
- 通过已授权的 WPS 账号访问 WPS 云文档。
- 访问令牌保存在 ~/.dsh/dsh-wps.json;README 声明其权限为 0600。
- 向 WPS SkillHub MCP 发送已授权的 JSON-RPC 请求。
- 位于 mcp-center.wps.cn 的 WPS/金山 SkillHub MCP。
- WPS 授权与 API 端点。
- 个人 WPS 账号;文档说明企业账号会被拒绝。
局限
- 该包使用自定义 WPS 授权流程,而非标准 MCP OAuth 发现流程。
- 列出的 WPS 工具数量由动态发现决定,可能发生变化。
- 提供的证据未审计已发布 npm 包的内容。
DSHub 已核对
- 已验证固定 Git 源及 DSH Bundle 结构。
- 清单声明 Web 客户端,并要求 Node ^22.19.0 或 >=24.0.0。
- README 记录了 WPS 云文档功能、本地令牌存储和安装命令。
DSHub 未核对
- 未实际执行安装、授权或运行时行为验证。
- 未独立审计动态发现的 WPS 工具的实际权限范围与行为。
固定版本安装
安装 dsh-wps
这个Plugin Bundle没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。
维护者原文
项目 README
English | 中文
dsh-wps
WPS / 金山文档 (WPS Cloud Docs) integration for DeepSeek Harness (DSH).
Talk to your WPS cloud drive in the DSH conversation: list / search / read / create /
upload-download cloud documents, and read / write their text / spreadsheet /
presentation / PDF content. It connects to the official Kingsoft SkillHub MCP
(https://mcp-center.wps.cn/skill_hub/mcp) and registers its tools as mcp__wps__*.
- Custom browser authorization (auth-guide + exchange-poll token), no standard OAuth.
- Access token stored at
~/.dsh/dsh-wps.json(mode 0600). - 558 tools discovered dynamically from the official SkillHub (drive / wps / sheet / wpp / dbsheet / pdf / form / aippt).
- Auto-registers
mcp__wps__<name>tools + 4 helper tools (wps_status/wps_oauth_start/wps_test/wps_clear) + a web settings panel "WPS".
Install (from npm)
dsh plugin --profile web add dsh-wps
# or from Git:
# dsh plugin --profile web add github.com/zhengjy01/dsh-wps
Restart, then trigger authorization (browser opens the WPS login page, use a personal WPS account — enterprise accounts are rejected). After that you can just say things like "列一下我的 WPS 云文档根目录".
Usage (examples)
| You say | Tool |
|---|---|
| "看看我最近的 WPS 文件" | mcp__wps__list_latest_items |
| "列我的云文档根目录" | mcp__wps__list_my_files |
| "搜含『周报』的文件" | mcp__wps__search_files |
| "读这个文档/表/演示" | read_file / sheet.get_range_data / read_slide |
| "新建一个 docx,内容是……" | create_file_with_content |
| "把这个演示导出 PDF" | wpp.export.export.pdf |
Full tool list = whatever wps_test reports (558 tools).
Auth (implementation note)
mcp-center.wps.cn/.well-known/oauth-authorization-server returns 404, so WPS uses a
custom flow, not MCP OAuth discovery: generate auth_code → open
https://mcp-center.wps.cn/kdocs-auth/auth-guide?auth_code=<uuid> → user logs in →
poll POST https://api.wps.cn/office/v5/ai/skill_hub/wps_auth/exchange (body {code})
every second until {code:200, token}. 403 = enterprise account rejected, 409 = cancelled.
The token is then the Bearer credential on every JSON-RPC call to the SkillHub MCP.
Directory
dsh-wps/
├── src/
│ ├── index.ts # cordis plugin entry (apply + helper tools + announcement)
│ ├── store.ts # token store (~/.dsh/dsh-wps.json, 0600)
│ ├── auth.ts # browser authorization (auth-guide + exchange poll)
│ ├── mcp.ts # JSON-RPC-over-HTTP MCP client + dynamic mcp__wps__* registration
│ ├── routes.ts # /api/dsh-wps/* (settings panel)
│ └── client/ # web settings panel "WPS"
├── cordis.patch.yml # bundle patch (insert wps row)
├── tsdown.config.ts # host + client bundle build
└── package.json # dsh.bundle.patch declaration
License
MIT
有意识地管理
安装与管理
前置条件与目标 Profile
目标: Web Profile
交付方式: Git Bundle — zhengjy01/dsh-wps#73fec1843a64e7959a4f4f6b1c862577d42cbc6e。
验证、更新与移除
显示生命周期命令
dsh plugin --profile web list兼容性与访问范围
DSH web-profile bundle; requires Node ^22.19.0 or >=24.0.0: DSH peers: @deepseek-ai/dsh-* ^0.1.0-rc.6 through declared ^0.1.5-rc.1 ranges。
风险事实
证据与编辑审查Manifest、Bundle patch、分发与新鲜度
不可变证据
审查状态与源码活动
如需审查该确切制品,请从固定 Git 源安装;仅授权你愿意让 DSH 访问其云文档的账号。
AI 审查于 2026/9/11 UTC 14:27。GitHub 事实核对日期: 2026/9/11 UTC 14:27。
自当前证据基线以来,没有记录到重要源码变化。