GEB-lab/dsh-codex-mcp ↗★ 0

dsh-codex-mcp

MCP bridge for DSH: a loopback Streamable HTTP MCP server inside DeepSeek Harness that lets Codex dispatch coding tasks to a DSH headless agent. · 让 Codex 通过 MCP 把开发任务派给 DSH 的桥 适合需要通过协议将编码任务无缝分发至后台执行的开发者。

パッケージ
dsh-codex-mcp
互換性
未検証
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/10/18

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:GEB-lab/dsh-codex-mcp

ドキュメント

README 全文を読む ↗

Codex configuration

~/.codex/config.toml:

[mcp_servers.dsh_codex]
url = "http://127.0.0.1:39391/mcp"
http_headers = { Authorization = "Bearer " }
startup_timeout_sec = 30
tool_timeout_sec = 3600
enabled = true

codex mcp list should then show dsh_codex … enabled Bearer token.

Then, from Codex:

Use dsh_run to have DSH, in C:\work\proj, add typed input support to src/sum.mjs plus three node:test cases; only touch src/ and test/. After it returns, run node --test test\*.test.mjs yourself and report the result.

Configuration

All keys live under this entry's config in cordis.patch.yml (bundle default) or in ~/.dsh/profiles/ /cordis.patch.yml (your override):

- id: dsh-codex-mcp
  name: dsh-codex-mcp
  config:
    port: 39400
    defaultCwd: 'D:\code'
keydefaultmeaning
host127.0.0.1bind address; non-loopback is refused unless allowNonLoopback: true
port393910 picks a free port (dsh_env reports the real one)
path/mcpendpoint path
tokenFile$DSH_HOME/codex-mcp.tokenBearer token; created when missing
regenerateTokenfalserotate the token on next start
dshHome$DSH_HOME or ~/.dshchild DSH_HOME
profileheadlesschild DSH profile
permissionModedanger-full-accesschild DSH_PERMISSION_MODE
defaultCwdhost cwdused when a call omits cwd
defaultTimeoutSec3600per-call timeout
maxConcurrentRuns4parallel headless tasks
dshCliauto-detectedexplicit path to …/@deepseek-ai/dsh/lib/bin.js
nodePathauto-detectedexplicit Node executable
localezhen or zh for MCP tool text
includeEventsfalseappend the raw NDJSON event tail to results

~/, relative paths and $DSH_HOME are expanded; unknown keys are ignored.