A Codex plugin and MCP server that runs DeepSeek Harness locally, delegates tasks through visible web sessions, and lets Codex independently review the results.
DeepSeek Harness for Codex 让 Codex 在本地启动 DeepSeek Harness,返回可点击的实时 Web 会话链接,将任务委派给它执行,并由 Codex 独立检查真实的工作区变更。
除非你只需要独立的 MCP 服务,否则推荐安装 Codex 插件。插件会同时安装 MCP 工具和委派工作流,让 Codex 在 Harness 完成任务后独立验收结果。
- Node.js 22 或更高版本,并包含 npx - 支持插件的 Codex 客户端 - DeepSeek API Key
推荐把 API Key 放在目标仓库根目录中不提交到 Git 的 .env 文件里:
不要提交这个文件。你也可以把 DEEPSEEKAPIKEY 注入启动 Codex 的环境,或者稍后在 Harness 页面中的 Settings → Models 配置。
在 macOS 上,如果找不到 codex,或者其他全局安装覆盖了桌面客户端的命令,请直接使用客户端内置的可执行文件:
插件会在新任务启动时加载。安装完成后新建一个 Codex 任务,并要求它使用 DeepSeek Harness,例如:
使用 DeepSeek Harness 在可见的本地会话中实现这个需求。不要自动打开浏览器,把 Harness 实时页面链接发给我;完成后由你检查 diff 并运行相关测试。
Codex 会在本地启动 Harness,在空闲的回环端口提供 Web 页面,返回可点击链接,提交任务并跟踪同一个可见会话,最后独立验收结果。浏览器不会自动打开;需要查看过程时,由你点击 Codex 消息中的链接。你不需要手动启动 Harness,也不需要另外注册 MCP 服务。
首次运行可能会下载固定版本的 MCP 和 Harness npm 包,后续运行会使用本地 npm 缓存。
项目已从 deepseek-harness-mcp 更名为 deepseek-harness-for-codex。如果安装过旧版插件,请先移除旧插件和旧市场,再按照上面的“安装插件”重新安装:
旧版 npm 包不会自动替换为新包。默认数据目录仍保留为 ~/.deep-seek-harness-mcp,因此重新安装后可以继续使用原有的本地 Harness 设置和会话。
仅当你只需要 MCP 工具、不需要插件的委派工作流和 Codex UI 入口时使用:
插件通过 npx 启动已发布的 MCP 服务。某个工作区首次运行任务时,MCP 服务会在本地回环地址执行 @deepseek-ai/dsh web --port 0,但不会自动打开浏览器。Codex 通过 Harness Web API 创建工作区和会话,并把对应 URL 作为可点击链接发给用户,因此用户按需打开后看到的就是 Codex 正在控制的实时任务。后续任务会复用该本地服务,不会通过托管中转服务执行。
1. Codex 使用绝对工作区路径和完整任务调用 startrun。 2. MCP 服务启动或复用 Harness Web,提交可见会话,并向 Codex 返回页面链接。 3. Codex 展示可点击链接;用户需要时手动打开,同时 Codex 通过 waitrun 或 getrun 跟踪同一会话。 4. Codex 检查实际 diff,并运行自己的验证流程。
工具 用途 --- --- doctor 检查 Node、npx、包版本、凭据可见性、数据目录和工作区限制。 startservice 为工作区启动或复用 Harness Web,并返回页面链接;默认不打开浏览器。 openservice 在用户明确要求时打开正在运行的 Harness 页面。 listservices 列出本地 Harness Web 服
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/Seann0824--deepseek-harness-for-codex.html)
ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.
qybaihe/bla🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> H
INK-Q/agy-fastNon-invasive MCP accelerator plugin for Google Antigravity (CLI/Desktop/IDE): cuts LLM turns (-34%), token quota (-31%), and upload traffic (-40%) without affecting native UI or diffs.
shinthink/blitzstrike⚡ Blitz Strike — a universal MCP penetration-testing toolbelt. Structured methodology: reconnaissance & attack-surface mapping, source-to-sink analysis, and live validation. 57 escalation chains, 130-
0xwilliamortiz/openclaude-improvedruns anywhere. uses anything
halofyai/halofyHalofy is the open access and governance layer for AI agents across your organization. Identity, policy, provenance, audit, and signed erasure.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.