Nichts0v0/dsh-mcp-manager1

dsh-mcp-manager

用于 DeepSeek Harness 的 MCP 服务管理器,支持从 Web 设置页面管理 MCP 服务,实现运行时的连接、断开与热配置。

AI 分析

核心用途是可视化管理 MCP 服务。适合需要在 DSH 中动态添加、编辑、开关或重连 MCP 工具源的开发人员和高级用户。

套件
dsh-mcp-manager
版本
0.4.0
最近更新
2026年8月14日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Usage

Open Settings → MCP Server Manager:

  • Server cards show the name, transport, status badge and endpoint; disabled cards are dimmed.
  • Enable/disable switch — disabling disconnects immediately and unloads the server's tools.
  • Reconnect — waits for the connection result and refreshes automatically (configurable wait, default 15 s).
  • Edit — change transport / URL / command / headers (serverName is immutable); saving hot-reconfigures the live connection.
  • Delete — lives at the top of the edit page, behind a two-step confirm (3 s window).
  • Addstreamable-http (URL + optional headers) or stdio (command + args), with a configurable connection-wait timeout.

Statuses

StatusMeaning
Connected (n tools)tools are registered
Connectinghandshake / reconnecting in progress
Offlinewas connected, but the server process is unreachable (probed)
Errorinitial connect failed (reason shown) or 30 s connect timeout
Disabledswitched off — not connected, no tools

Configuration file

$DSH_HOME/mcp-servers.json — shared by every profile and session:

{
  "version": 1,
  "servers": [
    { "serverName": "my-server", "transport": "streamable-http", "url": "http://127.0.0.1:8080/mcp", "enabled": true }
  ]
}

The file is watched live: manual edits (add / remove / change / enable) take effect within ~1 s; POST /mcp-manager/api/reload triggers it on demand.

HTTP API

MethodPathPurpose
GET/mcp-manager/api/healthliveness + version + store path
GET/mcp-manager/api/serverslist with live (probed) status
GET/mcp-manager/api/servers/single server
POST/mcp-manager/api/serversadd & connect
POST/mcp-manager/api/servers//updateupdate config & hot-reconnect (serverName immutable)
POST/mcp-manager/api/servers//toggleenable / disable (`{"enabled": true
POST/mcp-manager/api/servers//reconnectdisconnect & reconnect
DELETE/mcp-manager/api/servers/disconnect & delete
POST/mcp-manager/api/reloadre-read the config file from disk

Configuration file

$DSH_HOME/mcp-servers.json — shared by every profile and session:

{
  "version": 1,
  "servers": [
    { "serverName": "my-server", "transport": "streamable-http", "url": "http://127.0.0.1:8080/mcp", "enabled": true }
  ]
}

The file is watched live: manual edits (add / remove / change / enable) take effect within ~1 s; POST /mcp-manager/api/reload triggers it on demand.