dsh-relay-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
dsh-relay-mcp
把 dsh-session-relay 的本地 HTTP 接口包成 MCP 工具,让 Codex(或任何 MCP 客户端)能直接给一个真实的 DSH 会话派活。
零依赖,只用 Node 内置模块和全局 fetch(Node >= 18)。
六个工具
工具 | 作用 |
| 在指定工作空间派活,立刻返回 |
| 派活并等待;超时返回 |
| 按 |
| 等待任务最终状态,超时不取消、不重发 |
| 列出会话(含休眠),带类型与可投递原因 |
| 列出已注册的工作空间 |
目标用 workspace(项目绝对路径),不用记 session id:该目录下已有会话就复用,没有就自动新建。
Related MCP server: dsh-mcp
前置条件
DSH 正在运行
dsh-session-relay插件已启用(默认监听127.0.0.1:7391)
注册到 Codex
codex mcp add dsh -- /opt/homebrew/bin/node /绝对路径/dsh-relay-mcp/index.mjs
codex mcp list # 确认出现 dsh环境变量
变量 | 默认 | 说明 |
|
| 中继地址 |
| 无 | 中继设置了 token 时填 |
注册时带上:
codex mcp add dsh --env DSH_RELAY_URL=http://127.0.0.1:7391 -- /opt/homebrew/bin/node /绝对路径/index.mjs关于审批
Codex 对 MCP 工具调用默认要审批:
交互式(Codex App):第一次调用会弹窗,允许即可
codex exec/ 脚本:approval_policy = never时会直接拒绝,需要--dangerously-bypass-approvals-and-sandbox,或在~/.codex/config.toml里调整审批策略
协议说明
stdio 传输,每条 JSON-RPC 消息一行。支持 initialize / tools/list / tools/call / ping。
stdout 只写协议消息,不写日志——日志会污染协议流。
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Start and manage Reason cloud coding agents, projects and sessions from any MCP client.
Read and write shared BitsWeave context, projects, tasks, and work sessions through MCP.
Hosted MCP server for task-first delegation to remote workstations and workers.
MCP access to ELSHWORK agents, repositories, isolated runs, discovery and tasks.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables any MCP client to operate DeepSeek Harness sessions, execute tasks, and manage workspaces through an MCP server running inside the dsh process.601 npm1MIT
- AlicenseNot gradedqualityBmaintenanceLets 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.1,309 npm16MIT
- AlicenseNot gradedqualityBmaintenanceLets an external MCP client drive a running DeepSeek Harness instance: list its sessions, create or continue a session in a chosen workspace with an instruction, and wait for the finished answer. It also carries the instance's questions and approval decisions back to the caller, so a delegated turn never deadlocks waiting for a human.681 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables remote MCP clients to browse local Codex CLI sessions, launch and resume tasks in local projects, poll results, and stop runs over a bearer-token-protected HTTPS tunnel.MIT