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

dsh-codex-mcp

建立桥梁,允许将开发任务派发给无头代理。 适合需要通过协议将编码任务无缝分发至后台执行的开发者。

套件
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

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.