dsh-mcp-manager
dsh-mcp-manager

DeepSeek Harness(DSH)向けの耐久性のあるMCPサーバーマネージャー — 構成ローダープラグイン(動的セッションプラグインではありません)であるため、DSHの再起動やアップグレード後も存続します。
DSHプラグイン開発標準に基づいて構築されています(公式ドキュメント参照:第一个插件、开发一个工具):
オブジェクト形式のCordisプラグイン(
export default { name, inject, apply })injectで宣言された必須サービス — フレームワークはapplyが実行される前にそれらが準備されていることを保証し、いずれかのサービスが消えた場合はプラグインをリロードします(これによりプラグインはDSHのアップグレード後も存続します)エージェント向け機能は登録済みモデルツールとして公開:
ctx.tools.register(defineTool(...))経由のmcp_manager_list、mcp_manager_set_enabled、mcp_manager_restart、mcp_manager_addUI向け機能は
webServerの正確なルート(POST /dsh-mcp-manager/api)経由で、クライアント側が消費します
機能:
設定 → MCP 管理ページ(クライアント側が追加)
ホスト側は実際のパッチファイル内の
@deepseek-ai/dsh-mcp-client行を管理:プロジェクトレベル →
~/.dsh/profiles/<profile>/cordis.patch.ymlグローバル →
~/.dsh/cordis.patch.yml追加/編集/有効化/無効化/再起動/削除、ライブツールカウントの健全性、JSONエクスポート/インポート、ファイルごとの書き込みロック
仕組み
要素 | ファイル | 役割 |
ホストプラグインソース |
| TypeScriptソース(文書化されたプラグイン形状); |
ホストプラグイン(コンパイル済み) |
| Cordisオブジェクト形式プラグイン:パッチファイルCRUD + 4つのモデルツール + |
クライアントバンドル |
| ブラウザモジュール:設定ページを登録; |
ローダー行 | プロファイルの | ホストエントリを構成; クライアントモジュールサービスは有効なエントリをスキャンし、クライアントバンドルを提供 |
ローダーエントリは両方の部分の単一の構成ポイントです — 出荷されたDSHパッケージへの変更は一切不要です。パッケージ自体はプラットフォームに依存しません(純粋なJS; パス区切り文字は実行時に検出)。そのためWindows、macOS、Linuxで動作します。ビルド(npm run build)にはdevDependencies(typescript、@deepseek-ai/cordis、@deepseek-ai/dsh-tools、@types/node)が必要です。出荷/インストールされたパッケージにはそれらは必要ありません。
Related MCP server: Deepseek MCP Server
インストール(任意のプラットフォーム)
最速 — 1コマンド、npm経由(Node.js >= 18 が必要):
# Option A — one-shot with npx, nothing to install
npx -y @xxxyz/dsh-mcp-manager
# Option B — global npm install, then run the command any time
npm i -g @xxxyz/dsh-mcp-manager
dsh-mcp-manager # install the plugin
dsh-mcp-manager-uninstall # uninstall the plugin
npm i -g @xxxyz/dsh-mcp-manager@latest # upgrade両方のオプションですべてのフラグがそのまま渡されます:npx -y @xxxyz/dsh-mcp-manager --dsh-home /path/.dsh --profile web --repair --port 3080
npmパッケージ名:
@xxxyz/dsh-mcp-manager(裸の名前dsh-mcp-managerはnpm上で無関係のパッケージに使用されています)。デプロイされたプラグイン名は依然としてdsh-mcp-managerです — npm/npxは配信手段に過ぎません。インストーラーはファイルを以下の同じ固定場所にコピーします。
npmなしの代替手段 — GitHubから直接:
npx -y github:xxxyz/DeepSeekHarness-MCP-Manager代替手段 — ソースチェックアウトからインストーラースクリプトを実行(すべてのインストーラーは1つのクロスプラットフォームロジックファイル install.mjs を共有します)。インストール手順:
パッケージを
<dshHome>/local-packages/dsh-mcp-managerにコピー(node_modulesの外部に保持される真のソース。DSHのアップグレードが触れることはありません)それを
<dshHome>/profiles/node_modules/dsh-mcp-managerにコピー(意図的にプレーンコピー — シンボリックリンクにすると、Node ESMがプラグインの実パスを解決し、@deepseek-ai/dsh-toolsが見つからなくなります)ローダー行を
profiles/<profile>/cordis.patch.ymlに追加(冪等; パッチを有効なトップレベル配列のままにします)
Windows(PowerShell):
.\dsh-mcp-manager\install.ps1 # default: ~/.dsh, web profile
# or: .\install.ps1 -DshHome D:\path\.dsh -Profile webmacOS / Linux:
./dsh-mcp-manager/install.sh # default: ~/.dsh, web profile
# or: ./install.sh --dsh-home /path/.dsh --profile web任意のプラットフォーム(直接):
node dsh-mcp-manager/install.mjs [--dsh-home <path>] [--profile <name>] [--port <n>] [--repair] [--skip-patch]その後DSHを再起動し、設定 → MCP 管理を開きます。4つの mcp_manager_* ツールはその再起動後にモデルから呼び出し可能になります。
アンインストール(任意の方法):
dsh-mcp-manager-uninstall # if installed via npm -g
# or: .\dsh-mcp-manager\uninstall.ps1 | ./uninstall.sh | node uninstall.mjs [--dsh-home <path>] [--profile <name>]その後DSHを再起動します。アンインストールにより、デプロイされたコピー、local-packages の真のソース、およびローダー行が削除されます。
DSHアップグレード後:--repair
DSHのアップグレード(またはHMRの状態不良)により、プラグインのホスト部分がアンロードされたままファイルが残っている場合があります。1つのコマンドで修正できます — レコードのソースからパッケージを再コピーし、ローダー行の config.version をバンプしてHMRの再適用を強制し、APIが応答するまでポーリングします:
node dsh-mcp-manager/install.mjs --repair # default ~/.dsh, web, port 3080
node dsh-mcp-manager/install.mjs --repair --port 3080
# PowerShell: .\install.ps1 -Repair -Port 3080 bash: ./install.sh --repair --port 3080--repair は、POST /dsh-mcp-manager/api が再度 {ok:true} を返した場合にのみ成功を返します。30秒経ってもAPIが応答しない場合は、DSHを一度再起動してください(ローダーは常に起動時に新たにインポートします)。
APIリファレンス
すべての操作は POST /dsh-mcp-manager/api に {"op": "<op>", "args": {...}} を送信します(同一オリジン)。
op | args | 結果 | |
|
|
| |
| `{serverName, transport, url | command, args?, headers?, env?, level, enabled?}` |
|
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
|
モデルツール
ctx.tools.register(defineTool(...)) を使用してホストに登録されます(標準の @deepseek-ai/dsh-tools):
ツール | 説明 | |
| 設定されているすべてのMCPサーバーを一覧表示(レベル、有効状態、ライブローダーステータス、ツール数) | |
| 1つのサーバーを有効化/無効化(id、level、enabled) | |
| 1つのサーバーを再起動(id、level) | |
| サーバーを追加(serverName、transport、url | command、…、level) |
注意事項 / 制限
HTTPルートはローカルWebサーバー上で認証されていません — ローカルのシングルユーザーマシンでは問題ありません。DSHのWebポートを公開しないでください。
管理対象の行には
# dsh-mcp-manager:server:<id>マーカーが付いています。ローダー行はid: mcp-manager、name: dsh-mcp-managerを追加するinsertブロックです — DSHのパッチ方言では、プレーンな- id:行は既存のエントリのオーバーライドとして扱われます(存在しない場合は黙ってスキップされます)。したがって、プラグインを追加するにはinsert形式が必要です。実行中のWebページがインストールより古い場合、クライアントモジュールを認識するためにページのリフレッシュまたはDSHの再起動が必要です(ブートグラフはページ読み込み時に構築されます)。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables integration of DeepSeek's language models with MCP-compatible applications, offering features like chat completion, custom model selection, and parameter control for enhancing language-based interactions.62,198351MIT
- AlicenseAqualityAmaintenanceMCP server for DeepSeek AI models (Chat + Reasoner). Supports multi-turn sessions, model fallback with circuit breaker, function calling, thinking mode, JSON output, multimodal input, and cost tracking.32,81017MIT
- FlicenseAqualityCmaintenanceA robust MCP server with tools to search, install, configure, repair, and uninstall MCP servers, automating setup and maintenance across multiple AI and developer tools.417
- Alicense-qualityCmaintenanceEnables LLMs to manage MCP server configurations, including listing, enabling, disabling, and version control.10MIT
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
A MCP server built for developers enabling Git based project management with project and personal…
Cloud-hosted MCP server for durable AI memory
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xxxyz/DeepSeekHarness-MCP-Manager'
If you have feedback or need assistance with the MCP directory API, please join our Discord server