证据快照复核于 2026-09-16GitHub 数据核对日期: 2026-08-21
证据已验证Plugin Bundle集成与连接Web Profile

dsh-wps

在 DeepSeek Harness 对话中操作 WPS 云文档。

快速了解

它能做什么

在 DeepSeek Harness 对话中操作 WPS 云文档。

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

使用场景
集成与连接集成文件自动化
适配技术
deepseek-harnesswps-cloud-docswps-skillhub-mcp
兼容性

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 增加什么

WPS 云文档 MCP 工具

将动态发现的 WPS SkillHub 工具注册为 mcp__wps__*,并提供授权、状态、测试和清除辅助工具。

机制证据
WPS 设置面板

为 DSH Web 客户端添加名为“WPS”的设置面板。

机制证据

选择前先看

这是一个面向 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

查看 commit 73fec18 对应的 README
维护者编写的上游内容原文于 2026/9/11README.md 获取,正文和仓库相对媒体固定到 commit 73fec1843a64,内容哈希为 341f22c574c2。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。

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

检查兼容性证据

风险事实

credential_storage

Stores a WPS access token locally at ~/.dsh/dsh-wps.json; the README states mode 0600.

证据
external_service

Connects to the WPS/Kingsoft SkillHub MCP and uses its bearer token for JSON-RPC calls.

证据
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

AI 已审查

如需审查该确切制品,请从固定 Git 源安装;仅授权你愿意让 DSH 访问其云文档的账号。

AI 审查于 2026/9/11 UTC 14:27GitHub 事实核对日期: 2026/9/11 UTC 14:27

自当前证据基线以来,没有记录到重要源码变化。

下一步

按 Plugin 安装流程操作

订阅重要变化: dsh-wps