gxinxing/dsh-plugin-mcp-connector ↗★ 0

dsh-plugin-mcp-connector

带 WebUI 管理面板的 MCP 连接器,可增删启停并注册工具。 适合需接入多个 MCP 服务的用户;需自行构建并配置服务列表。

包名
dsh-plugin-mcp-connector
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.8
Cordis 依赖范围
^4.0.1
版本
0.1.0
许可证
MIT
最近更新
2026年8月20日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gxinxing/dsh-plugin-mcp-connector

MCP 一站式连接器

基于 DeepSeek Harness 的 MCP 协议可视化管理插件。

功能特性

  • 可视化面板:在 DSH Web GUI 中通过 /mcp 路径访问管理页面
  • 动态管理:添加 / 删除 / 启用 / 禁用 / 重启 MCP 服务
  • 自动注册工具:启动的服务会自动把 MCP tools 注册到 DSH
  • 调用日志:捕获 MCP 工具的调用参数与返回结果
  • 配置持久化:服务列表保存在 ~/.dsh/mcp-servers.json

快速开始

# 1. 安装依赖
pnpm install

# 2. 构建
pnpm build

# 3. 安装到 DSH Profile
dsh plugin --profile web add .

# 4. 重启 DSH 并打开面板
dsh --profile web
# 浏览器访问 http://127.0.0.1:3080/mcp

传输模式

支持以下 MCP 传输模式:

  • stdio:本地子进程通信
  • sse:Server-Sent Events
  • streamable-http:Streamable HTTP

工具命名规则

每个 MCP 工具在 DSH 中的公开名称为:

mcp____

License

MIT