Preface

When integrating an existing MCP Server into DeepSeek Harness (DSH), common issues include tool naming conflicts, the lack of DSH-side routing and error handling rules, and a lack of clear feedback when startup fails. dsh-plugin-wps-office is an unofficial DSH adapter layer. It starts wps-office-mcp from lc2panda/wps-skills via DSH’s MCP Client and registers the wps-office-dsh Skill.

What is this

dsh-plugin-wps-office is maintained by CatNebulaaaa, with the repository located at https://github.com/CatNebulaaaa/wps-dsh-plugin.

It solves the problem of mounting the wps-office-mcp stdio service into DSH, exposing the tools as mcp__wps-office__<upstream_tool_name>, and registering a dedicated DSH wps-office-dsh Skill.

This project is unofficial and is not an official project of Kingsoft Office, DeepSeek, or the maintainers of wps-skills. The license is MIT; wps-skills is still released by its original author under their own MIT License.

Core Features

Below are the capabilities it provides:

  1. Mount the wps-office-mcp stdio service into DSH.
  2. Expose tools as mcp__wps-office__<upstream_tool_name> to avoid conflicts with other MCP Servers.
  3. Register the wps-office-dsh Skill to provide DSH-specific routing, security, and error handling rules.
  4. Provide a read-only environment check script that reports the status of Node, DSH, WPS MCP, and Windows Add-ins.

Installation and Enabling

When installing the GitHub version, it is recommended to pin the commit. COMMIT_SHA in the command below is a placeholder and needs to be replaced with the actual commit you wish to pin:

dsh plugin --profile web add github:CatNebulaaaa/wps-dsh-plugin#COMMIT_SHA

If DSH is already installed globally, you can execute the following commands in the plugin directory. The first line is for installing the plugin in the current directory, the second for dumping the configuration, and the third for starting the DSH web interface:

dsh plugin --profile web add .
dsh --profile web --dump-config
dsh web

The uninstall command is as follows:

dsh plugin --profile web remove dsh-plugin-wps-office

Typical Usage

First, configure the upstream path. It is recommended to set WPS_SKILLS_ROOT to the absolute path of the upstream repository:

$env:WPS_SKILLS_ROOT = 'D:\path\to\wps-skills'

You can also set only the compilation entry point:

$env:WPS_OFFICE_MCP_ENTRY = 'D:\path\to\wps-skills\wps-office-mcp\dist\index.js'

The upstream MCP defaults to writing to .wps-office-mcp/logs. If the log directory is restricted, you can set WPS_MCP_HOME to a writable directory:

$env:WPS_MCP_HOME = 'D:\path\to\writable-home'

Run the diagnostic script to check the status of Node, DSH, WPS MCP, and Windows Add-ins:

node scripts/doctor.mjs --wps-skills-root 'D:\path\to\wps-skills' --dsh-source-root 'D:\path\to\deepseek-harness'

Security and Precautions

Before using it, please pay attention to the following points:

  1. Currently developed and validated against DeepSeek Harness 0.1.0-rc.5. DSH is still in Developer Preview, and subsequent versions may introduce breaking changes.
  2. DSH will start the stdio MCP Server as a trusted local subprocess. It does not run inside the Agent’s filesystem sandbox.
  3. WPS tools can modify real documents. Before performing batch or overwrite operations, you should confirm the scope and keep backups.
  4. Do not commit personal paths or any credentials to Git.
  5. The plugin sets failOnStartupError: true. When there is an incorrect WPS MCP path, a failed service startup, or a failed tool discovery, DSH should report the error clearly instead of loading an empty shell without WPS tools.
  6. The upstream MCP defaults to writing to .wps-office-mcp/logs. This plugin preserves this behavior and allows changing the log root directory via WPS_MCP_HOME.

Conclusion

The value of dsh-plugin-wps-office lies in reusing the existing wps-office-mcp within DSH, reducing naming conflict risks by using mcp__wps-office__<upstream_tool_name>, and supplementing DSH-side routing, security, and error handling rules through the wps-office-dsh Skill.

Repository address: https://github.com/CatNebulaaaa/wps-dsh-plugin.