xxccdl/deepseek-harness-desktop--plugins-deepseek-ai-dsh-mcp-client ↗★ 3

@deepseek-ai/dsh-mcp-client

MCP 客户端桥接:连接 MCP 服务器并将其工具注册到 ctx.tools 供模型调用。 适合想接入 MCP 工具服务器的用户;每个服务器加一条配置,支持 stdio 与 streamable-http。

包名
@deepseek-ai/dsh-mcp-client
兼容性
待验证
Harness 依赖范围
^0.1.5-rc.2
Cordis 依赖范围
^4.0.2
版本
0.1.5-rc.2
许可证
NOASSERTION
最近更新
2026年9月13日

同名包的其他仓库

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

Minimal configuration

Add one entry per server; nothing else is required. After the harness starts, the server's tools appear in the model's tool list.

- id: mcp-github
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    serverName: github
    transport: stdio
    command: npx
    args: ['-y', '@modelcontextprotocol/server-github']
    env:
      GITHUB_TOKEN: !!js process.env.GITHUB_TOKEN

- id: mcp-web
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    serverName: web
    transport: streamable-http
    url: http://localhost:3000/mcp
    headers:
      Authorization: !!js '`Bearer ${process.env.MCP_TOKEN}`'
FieldDefaultMeaning
transportrequiredstdio or streamable-http
serverNamerequiredNamespace for the server's tool names; [A-Za-z0-9_-]{1,32}, unique inside one registration scope
command / args / env / cwd—stdio: executable, arguments, extra env merged over scrubbed ambient env, working directory
url / headers—streamable-http: endpoint URL and extra request headers
toolCallTimeoutMs60,000Timeout per tools/call invocation
failOnStartupErrorfalseReject plugin activation when the initial connection or tool synchronization fails
reconnect.enabledtrueReconnect automatically after a lost connection
reconnect.initialDelayMs500First reconnect delay; doubles per consecutive failed attempt
reconnect.maxDelayMs30,000Backoff ceiling; also the uptime after which the attempt budget resets
reconnect.maxAttempts10Consecutive failed attempts per outage before giving up

The generated configuration catalog is the exhaustive source for every accepted field.

After startup, the server's tools appear as mcp____ — try a prompt that uses one. If the initial connection fails, the harness still starts but no tools from that server appear, and an error is logged; set failOnStartupError: true to make a startup failure abort the harness instead.