dsh-cordis-mcp
在终端中运行以下命令:
dsh plugin install GeekRicardo/dsh-cordis-mcp
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在终端执行 dsh plugin install GeekRicardo/dsh-cordis-mcp 即可安装,源码仓库地址为 https://github.com/GeekRicardo/dsh-cordis-mcp
插件介绍
Dynamic Cordis plugins in DSH have always been managed through in-session commands like cordis_define, cordis_run, and cordis_stop, leaving no direct hook for external agents. dsh-cordis-mcp bridges the entire plugin lifecycle into MCP (Streamable HTTP) tools so that Claude Code can define Packages, activate them, stop runs, permanently delete plugins, and query internal state—all from a single conversational thread.
On the transport and security side, the MCP endpoint rides on DSHs existing web port with no new listener and no standalone service. Authentication is mandatory Bearer Token; missing or invalid credentials yield 401 or 503. The endpoint accepts only loopback connections (127.*/localhost/::1), rejects cross-site browser requests, and never emits CORS headers. Packages that contain a Client half still go through DSHs native approval flow: dsh_plugin_run returns awaiting-approval and the operator must approve via the Web GUI Run card, preserving the same safety semantics as manual operation.
If you already build dynamic plugins with the DSH Cordis toolkit and use Claude Code as your daily coding and orchestration entry point, this bridge eliminates the repetitive window-switching and hand-typed cordis_* commands. The agent can create, debug, deploy, retire, and inspect plugins end-to-end. Session resolution, multi-live-session disambiguation, and token rotation are handled internally; you simply grab the token from the settings page and wire it into your Claude Code configuration.
使用场景
- 在 Claude Code 对话中直接定义、运行、停止 DSH 动态插件
- 多会话环境下按 sessionId 定向管理不同插件实例
- 通过 MCP 端点只读查询插件状态、provider 目录与工具列表
适合人员
- 使用 DSH Cordis 工具集构建动态插件的开发者
- 以 Claude Code 为日常 AI 编排入口的工程师
- 需要自动化插件生命周期管理、减少手动 Web GUI 操作的团队