Skip to main content
Glama
dsh-inbox-mcp

dsh-inbox-mcp

by johnx438-hub

dsh-inbox-mcp

DSH inbox MCP(stdio):外部 agent 向运行中的 dsh web 投递 queue/steer/task —— dsh-boss 的 delegate_task 依赖的配套 transport。

装

npm install -g dsh-inbox-mcp   # 或 npx dsh-inbox-mcp

mcp.json(客户端配置):

{
  "mcpServers": {
    "dsh-inbox": {
      "command": "dsh-inbox-mcp",
      "env": {
        "DSH_INBOX_URL": "http://127.0.0.1:3080",
        "DSH_INBOX_HOUSE": "dsh-local",
        "DSH_INBOX_TRUST": "与 dsh web 端一致的 trust_id(可选,设了才校验)"
      }
    }
  }
}

Related MCP server: dsh-ops-mcp

工具

  • dsh_inbox_deliver — 向指定/最近 session 投递消息(kind: auto | steer | task)

  • dsh_inbox_status — 查询 session 运行状态 / title / house / trust_required

安全

  • 门牌 + trust:DSH_INBOX_HOUSE/DSH_INBOX_TRUST(env)——本地共享信任串, 不是完整鉴权;未设 trust 时 gate 关闭(dev open)

  • 危险命令拦截:rm -rf / curl|sh / powershell -enc / 私钥头 / api-key 模式 等默认 deny 列表,投递前拒绝(DSH_INBOX_DENY 可追加)

  • 回环默认:127.0.0.1:3080,仅供本机/内网 MCP

开发

npm install
npm run build    # tsc → dist + node shebang
npm test         # 信任/deny 逻辑 7 用例

许可

MIT

Available Tools

2 tools
dsh_inbox_deliverA

Deliver a message into a DeepSeek Harness (DSH) Web session via session.prompt. kind=auto (default): busy → steer, idle → queue. kind=steer forces mid-turn inject; kind=task always queues. Requires matching house_id + trust_id when DSH_INBOX_TRUST is set; pass from_id so DSH can see which agent sent this. Dangerous shell/exfil patterns are blocked. Requires local dsh web (default http://127.0.0.1:3080).

Inputs: body (required), kind, from_id, house_id, +2 more.

dsh_inbox_statusA

Poll DSH session status via session.list (running, title, updatedAt). Omit session_id to inspect the most recently updated non-blank session.

Inputs: session_id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 2 tools

    Disambiguation5/5

    dsh_inbox_status reads/polls session state while dsh_inbox_deliver writes/sends a prompt; there is no overlap in their actions. An agent can easily choose the right tool based on whether it needs to observe or act.

    Naming Consistency4/5

    Both tools share the clear dsh_inbox_ prefix and use snake_case, so they are instantly recognizable as part of one server. The minor deviation is that one name uses a noun (status) and the other uses a verb (deliver), rather than a uniform verb_noun pattern.

    Tool Count3/5

    Two tools is at the low end of the acceptable range and feels thin for a general MCP surface. For the narrow status-and-deliver purpose the count is reasonable, but it is borderline rather than solidly well-scoped.

    Completeness4/5

    The core poll-and-deliver loop is covered: status tells whether the session is ready or busy, and deliver handles the different queueing modes. Mino gaps exist around inspecting queued messages or listing multiple sessions, but agents can generally work around these.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables any MCP client to operate DeepSeek Harness sessions, execute tasks, and manage workspaces through an MCP server running inside the dsh process.
      730 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Lets Claude Code, Codex, or any MCP client drive DeepSeek Harness as a long-lived coding agent: starting and resuming conversations, dispatching tasks in the background, streaming live output and reasoning stats, interjecting or interrupting mid-turn, handling approval prompts, and collecting results later. Sessions persist by ID, so work survives process restarts and can be handed back to a DSH GUI when needed.
      16
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes a running DeepSeek Harness as an MCP endpoint so any other agent or script can create workspaces and sessions, hand coding tasks to the DSH agent, read and write files, run shell commands, and invoke permitted harness tools under the same sandbox, transcript, and permission policy as the DSH UI.
      1,888 npm
      6
      MIT