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

@deepseek-ai/dsh-mcp-client

MCP client bridge: connects to MCP servers and registers their tools on ctx.tools 适合想接入 MCP 工具服务器的用户;每个服务器加一条配置,支持 stdio 与 streamable-http。

패키지
@deepseek-ai/dsh-mcp-client
호환성
미검증
Harness peer 범위
^0.1.5-rc.2
Cordis peer 범위
^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.