DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

zhuyan1085 /

mcp-deliverable

Topic repository only

MCP server settings components for DeepSeek Harness

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@00444e02

mcp-deliverable

English | 中文

中文

面向 DeepSeek Harness 的 MCP 服务器配置组件源码交付仓库。仓库包含 Host 配置服务与 Web 设置页两个包,保持 DeepSeek Harness 的插件布局和包名,可作为源码覆盖层复制到匹配版本的 Harness 工作区。

这是社区维护的源码交付仓库,不是 DeepSeek Harness 的独立发行版,也不发布 npm 包。

包含内容

包 目录 用途
@deepseek-ai/dsh-host-mcp-servers packages/host/mcp-servers 列出、写入和删除当前 profile 的 MCP 配置,并投影 Loader 与工具注册状态
@deepseek-ai/dsh-client-ui-settings-mcp packages/client/ui-settings-mcp 在 Web Settings → Plugins 中提供 MCP 服务器列表与 stdio/Streamable HTTP 编辑器

Host 写入 cordis.patch.yml 时保留无关补丁与 !!js 表达式,并通过跨进程锁和原子替换提交。动态或无效配置保持可见、可删除,但不会将原始表达式发送到浏览器。Web 表单支持参数、环境变量、工作目录、HTTP 请求头、调用超时、启动失败策略及完整重连策略。

Streamable HTTP 配置会在进入 Schemastery 规范化前复制为可变对象,兼容 Typert Remote 冻结的只读输入,因此包含 headers、reconnect 等嵌套字段的配置可以正常保存。

部署到 DeepSeek Harness

要求目标工作区使用 Node.js ^22.19 或 >=24、pnpm,并与这些包的依赖和集成点保持兼容。

rsync -a --delete packages/host/mcp-servers/ /path/to/deepseek-harness/packages/host/mcp-servers/
rsync -a --delete packages/client/ui-settings-mcp/ /path/to/deepseek-harness/packages/client/ui-settings-mcp/
cd /path/to/deepseek-harness
pnpm install

目标 Harness 还必须完成以下组装:

  1. 在 Web App bundle 中挂载 @deepseek-ai/dsh-host-mcp-servers 与 @deepseek-ai/dsh-client-ui-settings-mcp。
  2. 在 @deepseek-ai/dsh-api-remotes 客户端组装中导入 Host 包生成的 remote 入口。
  3. 由启动层在 Loader 挂载前提供当前 profile 的 cordis.patch.yml 路径。
  4. 将两个包加入相应 TypeScript face、workspace 依赖和文档/包校验配置。

当前 DeepSeek Harness 集成版已包含这些接线。仅把两个目录复制到较旧或不同结构的 Harness 版本中并不足以完成部署。

验证

先在 DeepSeek Harness 检出目录执行 pnpm install,再从本仓库运行:

DSH_CHECKOUT=/absolute/path/to/deepseek-harness bash scripts/verify.sh

脚本临时使用目标检出目录的工具链和依赖,执行严格 TypeScript 检查及两个包的 Vitest 测试,不会修改目标检出目录。复制进 Harness 后,还应按目标仓库规则运行相关 typecheck、build、hygiene 与 Web 快照检查。

安全说明

字面量 env 和 headers 会返回可信 Host 的设置客户端用于编辑,因此能被浏览器读取。秘密值应使用 profile 中由环境变量求值的 !!js 表达式;这类配置会在表单中只读显示。不要提交 .env、令牌或真实凭据。

English

Source delivery repository for MCP server settings components targeting DeepSeek Harness. It contains a Host configuration service and a Web settings contribution using the Harness plugin layout and package names. Copy it only into a compatible Harness workspace as a source overlay.

This is a community-maintained source delivery repository, not a standalone DeepSeek Harness distribution or an npm release.

The Host package atomically manages profile-owned MCP rows and reports current Loader/tool state. The Web package provides localized stdio and Streamable HTTP editing. Dynamic !!js and invalid rows remain visible and removable without exposing raw expression values to the browser.

Deploy both package directories to their matching locations in a compatible Harness checkout, then complete the Web bundle, generated Remote, profile-boot, TypeScript face, dependency, and documentation integration described above. Verify the source against an installed Harness checkout with:

DSH_CHECKOUT=/absolute/path/to/deepseek-harness bash scripts/verify.sh

Literal env and headers values are browser-readable by the trusted-host settings client. Keep secrets in environment-backed !!js profile expressions and never commit credentials.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout
—/ 5

No ratings yet

Manifest verification required

Commit 00444e0288f7

Community comments

No comments yet. Be the first to write one.