mcp-visualizer: Visualize and Manage MCP Servers in DSH

Introduction

After connecting multiple MCP servers in DeepSeek Harness (dsh), the dsh-mcp-client line in the profile keeps increasing: knowing which one is connected, which is disabled, and which tools are exposed often requires flipping through patches or guessing status. Official settings allow you to start and stop plugins, but there is a lack of a “centralized view of all MCP lines under the current profile”.

mcp-visualizer (package name dsh-mcp-visualizer-ad) is a community-maintained client plugin: it mounts a panel in the top bar of the chat and the settings page, listing MCP configurations and loading status in read-only format, and allows you to enable or disable individual servers via toggles. The write-back method is consistent with “Settings → Plugins”.

What is it

  • Plugin Name: dsh-mcp-visualizer-ad (Display name: mcp-visualizer)
  • Maintainer: GitHub user zmq6931
  • Category: Client (Pure JS module-loader, no build steps)
  • License: MIT (Current documentation version 1.2.0)

It solves the problem of: listing, viewing details, and enabling/disabling configured MCP servers in the current profile; it does not provide adding, modifying, or deleting MCP lines. New or modified lines still need to be completed through profile patches or the MCP client management panel.

Core Features

Two Entry Points, Same Panel

  1. Chat View: Adds mcp-visualizer next to Chat / Trajectory / Statistics in the top tag row of the session. Click to view in the chat area.
  2. Settings Page: Settings → mcp-visualizer. Can be viewed without opening a session.

Both render the same UI: read-only information + enable/disable toggle on the right of each line.

List and Statistics

The list displays for each server:

  • Service name, line ID
  • Transport method: stdio or streamable-http
  • Status: Connected, Enabled · No tools, Loading, Disabled, Load failed, Line locked, etc.

Top statistics include: total number of servers, number enabled, number disabled, total number of exposed tools.

View Details

Clicking a line reveals:

  • Status and Loader loading phase
  • stdio: Command, parameters, working directory, environment variable key names (not returning values)
  • streamable-http: Masked endpoint (up to protocol//host/...), request header key names
  • The current list of mcp__<server>__* tools registered by this server
  • Line ID, whether startup failure rejected activation, single call timeout, reconnection strategy, host lock reason, etc.

Enable / Disable

Each line’s toggle uses the official pluginManager.setPluginEnabled, writing a disabled override to the top level of the profile’s cordis.patch.yml; no manual editing of the profile file. After disabling, the line hot-reloads, and tools are removed from the model tools table; after re-enabling, tools are restored. The panel auto-refreshes every 10 seconds, or you can manually click “Refresh”.

Security Boundaries

  • Only handles lines for @deepseek-ai/dsh-mcp-client; passing other plugin IDs to the host will be rejected.
  • URLs, sensitive headers, and env values are not echoed back, meeting the expectation of “visible but not leaking secrets”.
  • This plugin runs with the current dsh process permissions; it is advisable to browse the repository source code and confirm the license and behavior before installing.

Installation and Activation

It is recommended to install the bundle from GitHub (command as in original text):

plugin_manager  action: install_bundle  target: github:zmq6931/dsh-mcp-visualizer-ad

After installation, refresh the Web GUI once (e.g., Ctrl+F5), and mcp-visualizer will appear in the settings page and chat tag row.

Note: This plugin is a profile-level bundle. Installation writes dependencies and dsh.profile.bundles to the current profile, affecting only that profile.

Local directory installation (Windows example) requires preparing the plugin directory first, then executing:

plugin_manager  action: install_bundle  target: C:\path\to\dsh-mcp-visualizer-ad

Use your local clone path; the example path in the documentation is just a placeholder.

Typical Usage

  1. Open any session, click mcp-visualizer at the top; or open Settings → mcp-visualizer.
  2. Click a line in the list to expand details, verify command, transport method, and tool list.
  3. Use the toggle on the right to switch enable/disable; the panel will refresh immediately after switching. If the host prompts for a restart or is overridden by higher priority, the panel will explain.
  4. If a line shows “Line locked”, it means the host determines this line cannot be managed by this panel (e.g., multi-layer duplicate declarations), the toggle will be grayed out, and manual editing of the profile patch is required.

Enable/Disable write-back location (for your reference when checking the patch):

  • Written by pluginManager.setPluginEnabled to the top level disabled override in cordis.patch.yml
  • Your original manually written insert line (including comments) remains unchanged.

Applicable Scenarios and Notes

Who is it for

  • Have multiple MCP servers mounted in dsh and need to quickly see connection status, exposed tools, and transport types.
  • Want to temporarily turn off a specific MCP without editing YAML, and don’t want inconsistent behavior with “Settings → Plugins”.

Compatibility

  • Developed and verified on dsh 0.2.2-rc.1 (DeepSeek Harness 0.2); for lower or higher versions, please refer to your local testing.

What you cannot expect it to do

  • Does not provide adding, modifying, or deleting MCP lines.
  • Cannot resolve “Line locked” issues; it can only prompt you to edit the patch.

The community plugin directory entry on SkillHub and the GitHub repository are independently listed; they are not the DeepSeek / Hypothesis official app store. Please review the source code and permission scope yourself before choosing.

Conclusion

mcp-visualizer brings “which MCPs are in the current profile, their status, and which tools are exposed” into the chat tab and settings page. Enable/disable follows the same path as the official plugin manager, making it suitable as a read-only dashboard for daily MCP operations.

  • Directory page: https://www.skillhub.cn/plugins/zmq6931/dsh-mcp-visualizer-ad
  • Source code and README: https://github.com/zmq6931/dsh-mcp-visualizer-ad
羽毛球分组比赛记分
小程序二维码

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

Xiaoye