dsh-mcp-more-panel: MCP Server Management Panel for DeepSeek Harness

Introduction

When using multiple MCP clients, the same MCP server often needs to be declared separately in each client’s configuration file. These files differ in table names, transport fields, variable references, and enable/disable syntax, meaning a single configuration change may require editing multiple files. The DeepSeek Harness (DSH) plugin dsh-mcp-more-panel provides a unified panel that centrally reads and manages various MCP configurations within a project. It supports both global and project scopes, and introduces a configuration approval and fingerprint verification mechanism.

What It Is

dsh-mcp-more-panel is the MCP server management panel for DeepSeek Harness, developed by maintainer xuanfenglajiao. It consolidates MCP configurations declared in global, project, and other Agent contexts into a single page, supporting addition, modification, enable/disable, deletion, connection testing, and bulk JSON import.

The panel manages servers across two scopes: Global and Project. Global servers are available to all sessions, while project servers are only mounted in sessions under the corresponding directory. Two projects can each declare a github server with the same name, each referencing its own independent token, without sharing configuration.

The following MCP configuration files may coexist in a project directory. The plugin reads and merges them by priority:

项目目录
├── .codex/config.toml     # Codex(只读,可一键导入)
├── .mcp.json              # Claude Code
├── .agents/mcp.json       # 跨工具通用
├── .cursor/mcp.json       # Cursor
├── .vscode/mcp.json       # VS Code
├── .gemini/settings.json  # Gemini CLI
├── .zcode/config.json     # ZCode
├── .pi/mcp.json           # pi
└── .dsh/mcp.json          # DSH(优先级最高)

          ↓ 按优先级读取、合并,标出重复项

    面板:全局 / 项目两个页签
       ├── 已批准 ──→ 挂载到会话,模型可以使用对应工具
       └── 未批准 ──→ 只在面板显示,不启动任何进程

Why Use dsh-mcp-more-panel

  • One panel reads multiple configuration formats. A project may contain up to nine MCP configuration files simultaneously. The plugin reads them directly—no pre-import or conversion to DSH format required. Codex uses TOML; VS Code uses the servers table and supports JSONC comments; Gemini CLI’s legacy syntax uses httpUrl. Different notations such as ${env:X}, ${VAR:-default}, as well as disabled and enable, are all recognized during reading.
  • Repository configuration and execution permissions are separated. Servers originating from project files are always marked as “pending approval” first. The full command line, working directory, environment variables, and request header values can all be inspected before approval. Unapproved servers do not start processes and do not register tools to sessions.
  • Approval is bound to a specific definition. Each approval saves a SHA-256 fingerprint computed from the command, arguments, working directory, environment variables, address, and request headers. If any of these changes, the fingerprint no longer matches, the original approval is invalidated, and the running server is stopped. Approval determines whether a server can run; the toggle determines whether it is currently running; toggling off does not remove the approval, and re-approving does not re-enable a server that has been toggled off.
  • Global and project scopes are managed independently. Global servers are available in all sessions. Project servers only appear in sessions under their corresponding directory; sessions in other projects cannot see or invoke these tools. Same-named servers remain independent across projects.
  • Unknown fields are preserved on write-back. When saving to a project file, only the fields managed by the form (such as command, arguments, and environment variables) are replaced. Extended fields in the file such as dev, sandbox, oauth, as well as the original indentation, line endings, and BOM are all preserved. If the file contains comments, or if the file has been externally modified since it was read, the plugin refuses to overwrite it.
  • Changes take effect immediately. Adding, modifying, enabling/disabling, and reconnecting all act directly on running instances without requiring a DSH restart. After a project file is externally modified, the plugin remounts within two seconds.

Supported Configuration Files

When any of the following files exist in the project directory, the panel reads the MCP servers defined within them directly—no pre-import or conversion to DSH format is required.

Agent File Editable in Panel
Codex .codex/config.toml Read-only, one-click import available
Claude Code .mcp.json ✓
Universal .agents/mcp.json ✓
Cursor .cursor/mcp.json ✓
VS Code .vscode/mcp.json ✓
Gemini CLI .gemini/settings.json ✓
ZCode .zcode/config.json ✓
pi .pi/mcp.json ✓
DSH .dsh/mcp.json ✓

When multiple files declare a server with the same name, the source listed later in the table takes priority, with DSH’s own configuration having the highest priority. The panel highlights duplicates and allows expanding to view the specific definitions in each file.

The “Configuration Source” setting can be scoped to a project to read from only one file, and can be switched at any time. Switching sources does not delete existing approval records.

Other Features

  • Connection Test: Actually starts the server once before saving, reporting whether it can connect and the number of available tools. The test does not save anything.
  • Bulk Import: Paste mcpServers configuration from Claude Desktop, Cursor, or VS Code to import multiple global servers at once.
  • Manage Existing Configuration: MCP entries in cordis.patch.yml can be enabled/disabled or have their literal fields modified; !!js expressions remain unchanged.
  • Status Display: Shows connected, connection failed (with reason), pending approval, requires re-approval, same-name overridden, and other statuses, along with the tool count for each server.

It is recommended to use ${variable_name} for secrets. Values are read from the DSH process’s environment variables at connection time; only the variable name is stored in the configuration file. Environment variable and request header values in the plugin’s storage are displayed as dots on the page and are not sent to the browser; values in project files are already stored in the repository and are displayed as-is when editing.

The interface follows the application’s light and dark themes and supports Chinese and English.

Installation and Setup

Requires DSH 0.2.2-rc.1 or later, and Node.js 22.19 or later. The plugin has not yet been published to npm and is currently installed from a local directory.

Desktop

First fully quit the desktop application, then run:

dsh plugin --profile desktop add link:<absolute path to this directory>

You can also install this directory directly from the Plugin Manager within the application. After installation, restart the application. The entry point is located below “Automation Tasks” in the left sidebar.

Web

dsh plugin --profile web add link:<absolute path to this directory>

After installation, restart dsh web and refresh the page.

To uninstall: replace add with remove dsh-mcp-more-panel. On desktop, you can also remove it via the Plugin Manager.

Security

Risk Plugin’s Handling
Repository files declare executable commands Servers in files are not started by default. They must first be reviewed and approved in the panel before being mounted.
Need to review server behavior The approval dialog provides the full command line, working directory, environment variable and request header values, and lists the environment variables that will be read. Cases such as download-then-execute, execution via shell, running repository files, and setting environment variables that load additional code are explicitly flagged.
An already-trusted configuration changes Approval records store a SHA-256 fingerprint of the current definition. If the command, arguments, working directory, environment variables, address, or request headers change, the original approval is invalidated and the running server stops.
Temporarily disabling an approved server The toggle and approval are independent. Toggling off only stops execution without removing the approval; re-approving a modified definition also does not re-enable a disabled server.
Model attempts to modify MCP configuration The mcp_servers tool only provides list and diagnose actions; there is no path to write configuration or approvals.

Configurations, approval records, and pre-write-back backups of project files are all stored in <DSH_HOME>/dsh-mcp-more-panel/. They are not distributed with the repository and do not leave .bak files in the repository.

Two additional protections exist on write-back: files with JSONC comments are not rewritten; if a file is externally modified after being read but before saving, it is not overwritten. In either case, you can edit manually or import into .dsh/mcp.json.

The fingerprint only covers the configuration content, not files read at command execution time. After approving node server.js, if server.js is later modified, the current approval remains valid; npx -y may fetch a new version on each start. The approval dialog flags both of these cases.

Compatibility

  • DSH 0.2.2-rc.1 or later, Node.js 22.19 or later. Depends on @deepseek-ai/dsh-mcp-client and @deepseek-ai/dsh-tools provided by the host. Development and testing environment: DeepSeek Harness Desktop (Windows 11, desktop profile).
  • Supports stdio and Streamable HTTP; does not support SSE or OAuth.
  • Do not install dsh-project-mcp or dsh-mcp-autoload simultaneously. They load the same set of files by their own rules, bypassing the approval mechanism here.
  • Switching the working directory mid-session does not switch the project. The session continues to use the project configuration identified at creation time.

Use Cases and Notes

Suitable for scenarios where you already use multiple MCP clients and want to centrally manage configurations and control execution permissions within DSH. The plugin runs with the privileges of the current DSH process. It is recommended to review the source code and license (MIT) before installing.

Conclusion

dsh-mcp-more-panel centralizes MCP configuration reading, approval, and management into a single panel, controlling execution behavior through global/project scopes and fingerprint verification. After installation, the entry point is located below “Automation Tasks” in the left sidebar.

  • Directory page: https://www.skillhub.cn/plugins/xuanfenglajiao/dsh-mcp-more-panel
  • GitHub: https://github.com/xuanfenglajiao/dsh-mcp-more-panel
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye