DeepSeek Harness 插件

deepseek-harness-plugin-mcp

MCP server that lets any agent discover, install, and run DeepSeek Harness plugins.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
bobleer/deepseek-harness-plugin-mcp
最近更新
2026年8月13日
分类
自动化与任务
GitHub stars
3
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/bobleer/deepseek-harness-plugin-mcp
插件名:deepseek-harness-plugin-mcp
作者:bobleer

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器4 个文件
README.zh.md来源说明 · 只读预览
README 语言

DeepSeek Harness Plugin MCP

Made by BitFun

任意 agent 通过 MCP 发现、检视、安装并运行 DeepSeek Harness 插件的服务器。

目录来源:github.com/topics/dsh-plugin

English | 中文

它做什么

DSH 插件是 Cordis 组合包(dsh.bundle.patchcordis.patch.yml)。其他 agent 说 MCP,不说 Cordis。本项目是 @deepseek-ai/dsh-mcp-client 的反向:把 DSH 插件发布给外部 agent。

平面是否需要 DSHagent 能做什么
目录搜索/列出/检视所有公开 dsh-plugin 仓库,读取 README 与 cordis.patch.yml
ProfilePATH 上有 dsh对真实 profile 执行 dsh plugin add / remove
运行时PATH 上有 dsh--allow-runtime启动该 profile,把组合包工具桥成 dsh__*

UI / TUI / 皮肤类插件可以检索和安装,不会变成 MCP 工具;界面仍在 DSH 里。

安装

npm install -g deepseek-harness-plugin-mcp
# 或
npx deepseek-harness-plugin-mcp --help

需要 Node ^22.19 || >=24

接到 agent

Cursor / Claude Desktop / Claude Code / Codex(stdio)

{
  "mcpServers": {
    "dsh-plugins": {
      "command": "npx",
      "args": ["-y", "deepseek-harness-plugin-mcp"],
      "env": {
        "GITHUB_TOKEN": "ghp_建议填写以免限流"
      }
    }
  }
}

打开安装与运行时(会执行 dsh plugin 以及插件代码):

{
  "mcpServers": {
    "dsh-plugins": {
      "command": "npx",
      "args": ["-y", "deepseek-harness-plugin-mcp", "--allow-install", "--allow-runtime"],
      "env": {
        "GITHUB_TOKEN": "ghp_…",
        "DSH_PLUGIN_MCP_PROFILE": "mcp-bridge"
      }
    }
  }
}

Profile 与运行时平面要求 dshPATH 上。

Streamable HTTP

dsh-plugin-mcp --http --port 8765 --allow-runtime

把 agent 指到 http://127.0.0.1:8765/mcpGET /health 用于探活。

装进 DeepSeek Harness

本仓库本身也是 DSH 组合包:

dsh plugin --profile web add github:bobleer/deepseek-harness-plugin-mcp
dsh --profile web

运行中的 Harness 会提供 Streamable HTTP MCP(默认 http://127.0.0.1:8765/mcp),并镜像 ctx.tools——组合包里注册的一等工具和第三方工具都会出现。

MCP 工具

控制面:

  • dsh_plugin_status / dsh_plugin_refresh_catalog / dsh_plugin_list / dsh_plugin_search
  • dsh_plugin_get / dsh_plugin_inspect / dsh_plugin_readme
  • dsh_plugin_list_installed / dsh_plugin_install / dsh_plugin_uninstall
  • dsh_runtime_start / dsh_runtime_stop / dsh_runtime_load / dsh_runtime_unload / dsh_runtime_list_tools

dsh_runtime_start 之后,DSH 工具以 dsh__<name> 出现。

资源:dsh-plugin://catalogdsh-plugin://github/{owner}/{repo}(以及 /readme/package.json/cordis.patch.yml)、dsh-plugin://installed/{profile}dsh-plugin://runtime/tools

提示词:search-dsh-pluginsinstall-dsh-pluginuse-dsh-plugin

标志与环境变量

标志 / 环境变量默认含义
--httpstdioStreamable HTTP
--host / DSH_PLUGIN_MCP_HOST127.0.0.1监听地址
--port / DSH_PLUGIN_MCP_PORT8765端口
--allow-install / DSH_PLUGIN_MCP_ALLOW_INSTALLdsh plugin add/remove
--allow-runtime / DSH_PLUGIN_MCP_ALLOW_RUNTIME拉起 DSH 并桥接工具
--profile / DSH_PLUGIN_MCP_PROFILEmcp-bridge目标 profile
--dsh-root / DSH_ROOT未设Harness checkout(status 中展示)
--cache-dir / DSH_PLUGIN_MCP_CACHE_DIR~/.dsh-plugin-mcp目录缓存
--no-catalog / DSH_PLUGIN_MCP_CATALOG=0关闭 GitHub 目录工具
GITHUB_TOKEN / GH_TOKEN未设GitHub API 认证

安装与运行时默认关闭,需显式打开。目录平面始终可用。

典型流程

1. 用任务关键词调用 dsh_plugin_search。 2. 对 owner/repo 调用 dsh_plugin_inspect。优先 isDshBundle: true。 3. 可选:dsh_plugin_install,spec 为 github:owner/repo。 4. dsh_runtime_startplugins: ["github:owner/repo"]。 5. 调用列出的 dsh__* 工具。

开发

npm install
npm run check

协议冒烟(官方 MCP Inspector CLI,与 @modelcontextprotocol/sdk 同属官方客户端):

npx @modelcontextprotocol/inspector --cli node dist/cli.js --method tools/list
npx @modelcontextprotocol/inspector --cli node dist/cli.js --method tools/call \
  --tool-name dsh_plugin_status --tool-args-json '{}'

设计见 [docs/design.md](docs/design.md)。

License

MIT