DeepSeek Harness plugin

dsh-mcp-manager-haode01

MCP connection manager for DeepSeek Harness: list, add, remove, and test MCP server connections at runtime

Jump to install

Source facts

Repository
haode01/dsh-mcp-manager
Latest update
Aug 18, 2026
Category
Development & Runtime
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/haode01/dsh-mcp-manager
Plugin: dsh-mcp-manager-haode01
Author: haode01

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only
README language

dsh-mcp-manager

English | 中文

MCP connection lifecycle management plugin for DeepSeek Harness.

Manage MCP server connections from the DSH Web GUI Settings → Plugins page, and from chat via mcp_list_connections / mcp_add_connection / mcp_remove_connection / mcp_test_connection tools. All changes persist to ~/.dsh/mcp-connections.json and survive restarts.

Features

FeatureUI (Settings → Plugins)Chat (tools)
List connectionsmcp_list_connections
Add connection (HTTP/stdio)mcp_add_connection
Remove connectionmcp_remove_connection
Test connection + show toolsmcp_test_connection
Persist across restarts✅ (auto)✅ (auto)
Stdio auto-download + progress bar

Architecture

┌──────────────┐     GET/POST      ┌─────────────────────────┐
│  Browser UI  │ ─────────────────→│  /mcp-manager/connections│
│ (client.js)  │ ←── JSON array ── │  (index.js handler)      │
└──────────────┘                   └───────────┬─────────────┘
                                               │ read/write
                                    ┌──────────▼──────────────┐
                                    │ ~/.dsh/mcp-connections.json
                                    └──────────┬──────────────┘
                                               │ startup restore
                                    ┌──────────▼──────────────┐
                                    │  ctx.loader.create()     │
                                    │  @deepseek-ai/dsh-mcp-client
                                    └──────────────────────────┘

All reads and writes go through a single JSON file. The UI calls the HTTP endpoint; server tools write the same file. At startup, connections are restored automatically.

Installation

Option 1: dsh plugin add (recommended)

dsh plugin --profile web add github:haode01/dsh-mcp-manager

Installs into ~/.dsh/profiles/web/, auto-adds to cordis.yml as a profile bundle layer. No manual symlink or --patch needed.

Restart DSH:

dsh web

Option 2: Git clone + symlink

git clone https://github.com/haode01/dsh-mcp-manager.git /path/to/dsh-mcp-manager
ln -s /path/to/dsh-mcp-manager ~/.dsh/profiles/web/node_modules/dsh-mcp-manager
dsh web --patch /path/to/dsh-mcp-manager/cordis.patch.yml

Option 3: Cordis config

- insert:
    - id: mcp-manager
      name: 'dsh-mcp-manager'

Verify

Open Settings → Plugins — an MCP Manager card should appear. In chat, mcp_list_connections should respond.

Usage

Add from UI

1. Settings → Plugins → MCP Manager → expand card 2. Choose HTTP or Stdio tab 3. HTTP: server name + URL (optional Bearer token) 4. Stdio: server name + full command (e.g. npx -y @mozilla/firefox-devtools-mcp@latest) 5. Click Add → auto-save → auto-test → tool list with progress bar

Add from chat

> Add MCP connection http://10.118.81.110:3100/mcp/openwrt with name "openwrt"

AI calls mcp_add_connection — connection is immediately available and persisted.

Test connections

Every connection has a Test button. HTTP tests in-browser; Stdio tests via server endpoint with download progress.

File structure

dsh-mcp-manager/
├── index.js              # Server plugin: tools + HTTP endpoints + startup restore
├── lib/
│   ├── client.js         # Browser plugin: Settings UI card
│   ├── mcp-manager.js    # Runtime connection create/list/remove via ctx.loader
│   └── test-connection.js # One-shot connection test
├── cordis.patch.yml      # Cordis loader patch
└── package.json

License

MIT