Nichts0v0/dsh-mcp-manager ↗★ 1
dsh-mcp-manager
用于 DeepSeek Harness 的 MCP 服务管理器,支持从 Web 设置页面管理 MCP 服务,实现运行时的连接、断开与热配置。
AI 分析
核心用途是可视化管理 MCP 服务。适合需要在 DSH 中动态添加、编辑、开关或重连 MCP 工具源的开发人员和高级用户。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 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 (
serverNameis immutable); saving hot-reconfigures the live connection. - Delete — lives at the top of the edit page, behind a two-step confirm (3 s window).
- Add —
streamable-http(URL + optional headers) orstdio(command + args), with a configurable connection-wait timeout.
Statuses
| Status | Meaning |
|---|---|
| Connected (n tools) | tools are registered |
| Connecting | handshake / reconnecting in progress |
| Offline | was connected, but the server process is unreachable (probed) |
| Error | initial connect failed (reason shown) or 30 s connect timeout |
| Disabled | switched 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
| Method | Path | Purpose |
|---|---|---|
| GET | /mcp-manager/api/health | liveness + version + store path |
| GET | /mcp-manager/api/servers | list with live (probed) status |
| GET | /mcp-manager/api/servers/ | single server |
| POST | /mcp-manager/api/servers | add & connect |
| POST | /mcp-manager/api/servers//update | update config & hot-reconnect (serverName immutable) |
| POST | /mcp-manager/api/servers//toggle | enable / disable (`{"enabled": true |
| POST | /mcp-manager/api/servers//reconnect | disconnect & reconnect |
| DELETE | /mcp-manager/api/servers/ | disconnect & delete |
| POST | /mcp-manager/api/reload | re-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.