inkyi/dsh-mcp-management ↗★ 1

@inkyi/dsh-mcp-management

Workspace-scoped MCP servers for DeepSeek Harness: each project directory gets its own MCP tools.

包名
@inkyi/dsh-mcp-management
兼容性
待验证
Harness 依赖范围
^0.2.1-rc.3
版本
1.0.1
许可证
MIT
最近更新
2026年10月30日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add @inkyi/dsh-mcp-management

Usage

Settings page

  1. Add workspace. In the desktop app this opens the native chooser; in a plain browser (the dsh web page, which has no in-window chooser bridge) it opens an in-page dialog where you paste an absolute directory path or pick a workspace already registered in the sidebar.
  2. Add server inside that workspace, for example:
    • name idea, transport streamable-http, URL http://127.0.0.1:64343/stream, fail on startup error off (the IDE is not always running);
    • name github, transport stdio, command npx, args -y @modelcontextprotocol/server-github, env GITHUB_TOKEN=${env:GITHUB_TOKEN}.
  3. Changes apply to live sessions of that workspace immediately; new sessions are ready before their first step.

/.dsh/mcp.json (optional, takes precedence)

{
  "mcpServers": {
    "idea": {
      "url": "http://127.0.0.1:64343/stream",
      "failOnStartupError": false
    },
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": { "GITHUB_TOKEN": "${env:GITHUB_TOKEN}" }
    },
    "disabled-example": {
      "command": "node",
      "args": ["server.mjs"],
      "disabled": true
    }
  }
}

A url selects streamable-http, a command selects stdio; transport may be set explicitly. disabled: true means "configured but not connected". Invalid entries are skipped and logged, and do not affect the other servers.

Precedence

defaultServers  /.dsh/mcp.json (default true)
    fileConfigPath: .dsh/mcp.json  # location inside the workspace
    matchSubdirectories: true      # a session in a subdirectory inherits the workspace config