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许可证开源,用户可以免费使用和修改。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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

Awesome DSH Plugin

中文 | 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

凭证(二选一)

  1. 推荐:先 codex login(OAuth 写 ~/.codex/auth.json),server 自动读取,无需任何配置。
  2. 免 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 →

← 上一个 Prev dsh-session-manager 下一个 Next dsh-archive-manager →