dhicoc/dsh-codex-web-search-mcp
dsh插件:将codex-web-search-mcp(与模型无关的OpenAI Codex / Grok网络搜索与深度研究MCP服务器)注册为原生dsh MCP工具集(mcp__codex-web-search__*)。
Project Overview项目介绍
This repository is a one-click native plugin for DeepSeek Harness (DSH) that wraps the independent, model-agnostic codex-web-search-mcp MCP server. The upstream codex-web-search-mcp is a standalone Rust binary that provides web search and deep research capabilities built for OpenAI Codex. Once you install the plugin and restart the dsh web process, three new tools are added as native DSH MCP tools: single-step web search, multi-step deep research, and web content fetching. Unlike MCP integrations for other agents, this plugin does not depend on any specific LLM vendor, so it works with any model you use in DSH, including Gemini, OpenRouter, and local models.
To install the official release, you can run a single command via DSH's plugin manager: dsh plugin --profile web add @dhicoc/dsh-codex-web-search-mcp, then restart dsh web for the changes to take effect. If you get a 404 error from your default npm mirror, you can add the --registry=https://registry.npmjs.org flag to the install command to retry. Once installed, you can verify the installation by running dsh --profile web --dump-config to check that the plugin is correctly registered. After verification, you can call the three search and fetch tools directly from your DSH agent conversations whenever you need up-to-date web information.
The plugin automatically pulls all required dependencies from npm, including the core plugin package, the upstream codex-web-search-mcp tool, and precompiled platform-specific binaries, so you do not need to install any dependencies manually. You can authenticate either by running codex login which saves your OAuth credentials to ~/.codex/auth.json, or by setting the CODEX_ACCESS_TOKEN environment variable for a keyless, non-disk configuration. This project is released under the open source MIT license, which permits free use, modification, and redistribution. If you ever want to remove the plugin, you can run dsh plugin remove to uninstall it without affecting other DSH functionality.
这是一个专为DeepSeek Harness(DSH)制作的一键原生插件,用于将独立的模型无关MCP服务器codex-web-search-mcp接入DSH。codex-web-search-mcp是用Rust编写的独立二进制联网搜索工具,本插件安装完成并重启dsh web后,会在DSH中新增三个原生MCP工具,分别是单步搜索、多步深度研究和网页正文抓取。和其他Claude Code、Cursor的MCP接入不同,它不依赖任何特定模型厂商,无论搭配Gemini、OpenRouter还是本地模型都能正常使用。
普通用户可以通过DSH的插件管理命令直接安装,推荐使用npm官方源安装已发布版本,只需要执行dsh plugin --profile web add @dhicoc/dsh-codex-web-search-mcp然后重启dsh web即可完成安装。如果国内镜像提示404,可以临时指定npm官方registry重试。安装完成后,用户在和DSH Agent对话时,可以直接调用这三个搜索工具,满足日常信息查询、深度主题研究和网页内容提取等各类需求,适合所有需要给Agent添加联网能力的DSH用户。
本插件依赖多个npm包分发跨平台二进制,包括核心插件包@dhicoc/dsh-codex-web-search-mcp、上游工具包codex-web-search-mcp以及分平台预编译二进制包,DSH插件管理器会自动解析安装这些依赖,用户无需手动处理。凭证可以通过codex login生成,或者设置环境变量保存,不依赖本地落盘的密钥文件。本插件采用MIT许可证开源,用户可以免费使用和修改。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-codex-web-search-mcp(dhicoc/dsh-codex-web-search-mcp)
仓库:https://github.com/dhicoc/dsh-codex-web-search-mcp
本站详情页:https://www.yhbd.top/plugins/dhicoc-dsh-codex-web-search-mcp/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-09-29 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:dhicoc/dsh-codex-web-search-mcp
把 dhicoc/dsh-codex-web-search-mcp 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-codex-web-search-mcp
中文 | English
把 codex-web-search-mcp(模型无关的 OpenAI Codex / Grok 联网搜索与深度研究 MCP server,Rust 独立二进制)接进 DeepSeek Harness (dsh) 的 一键插件。
安装并重启 dsh web 后,3 个工具会以 dsh 原生 MCP 工具形式出现:
| 工具 | dsh 内名称 |
|---|---|
| 单步搜索 | mcp__codex-web-search__codex_web_search |
| 多步深度研究 | mcp__codex-web-search__codex_web_research |
| 抓正文 | mcp__codex-web-search__web_fetch |
与普通 Claude Code / Cursor 的 MCP 接入不同——本插件不依赖任何模型厂商, 搜索走 Codex 独立搜索端点,换 Gemini / OpenRouter / 本地模型都不受影响。
前置条件(重要)
本插件依赖以下已发布到 npm 的包来分发跨平台二进制:
@dhicoc/dsh-codex-web-search-mcp:本 dsh 插件;codex-web-search-mcp:跨平台命令及其平台二进制依赖;@dhicoc/codex-web-search-mcp-*:各平台的预编译二进制包。
正常使用时不需要手动安装这些依赖,dsh plugin 会自动解析并安装它们。
二进制分发包源码在
dhicoc/codex-web-search-mcp,
发布维护流程见下方「发布二进制包」。
安装
npm 发布版(推荐)
# 安装已发布的 npm 版本,并注册到 web profile
dsh plugin --profile web add @dhicoc/dsh-codex-web-search-mcp
# 重启 dsh web 生效(Web bundle 无 HMR,必须重启进程)
dsh web
安装后验证:
dsh --profile web --dump-config
输出中应出现 mcp-codex-web-search,并包含 serverName: codex-web-search 和
command: codex-web-search-mcp。在会话中即可让 agent 调用
codex_web_search / codex_web_research / web_fetch。
如果默认 npm 镜像提示
404 Not Found,通常表示镜像尚未同步新包。可临时指定 npm 官方 registry 重试:dsh plugin --profile web add @dhicoc/dsh-codex-web-search-mcp --registry=https://registry.npmjs.org
从 GitHub 安装(开发/预发布)
只有在测试仓库中尚未发布的提交时才使用 GitHub 源:
dsh plugin --profile web add github:dhicoc/dsh-codex-web-search-mcp
dsh web
凭证(二选一)
- 推荐:先
codex login(OAuth 写~/.codex/auth.json),server 自动读取,无需任何配置。 - 免 auth.json:设环境变量
CODEX_ACCESS_TOKEN(可选CODEX_ACCOUNT_ID)。 在cordis.patch.yml里取消env:注释,用 dsh 的!!js process.env.*引用, 密钥不落盘。
没有有效凭证时,3 个工具会返回清晰的中文报错,而不是崩溃。
本地测试(未发布 npm 包时)
如果需要测试本地源码,可在 web profile 内使用 link: 指向本插件仓库的绝对路径:
dsh plugin --profile web add link:<本插件仓库绝对路径>
dsh web
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
anysearch-team/anysearch-dsh
DDDMUC/dsh-free-search
wxkingstar/SpecFusion
A3Boy/dsh-web-tools
UncleK/dsh-think-translate
cyijun/dsh-surfing-plugin
phoenixlucky/zerotoken-skill