yuzi-ska/DSH-Chrome-devtools
用于DeepSeek Harness代理的真实Chrome浏览器控制,由Chrome DevTools MCP驱动
Project Overview项目介绍
This repository is a native plugin built exclusively for DeepSeek Harness (DSH), which enables DSH agents to control a locally installed Chrome-based browser via the Model Context Protocol (MCP). To install the plugin, users only need to run one command dsh plugin --profile web add github:yuzi-ska/DSH-Chrome-devtools in the terminal, and no manual cloning or extra configuration is required. After installation, you just need to restart the DSH host, and all 28 available browser tools will be automatically loaded for all your agent sessions, including parent agents and child sub-agents. On the first run, npx will automatically download the required chrome-devtools-mcp server, which takes about 30 to 60 seconds once.
The plugin supports cross-platform use on Windows, macOS, and Linux. It comes with an automatic reconnection mechanism that will restart the server with exponential backoff if it crashes, and it will stop retrying after 10 consecutive failures to avoid infinite loops. All sessions share the same browser instance by default, so the browser state like cookies, open tabs and console logs are accessible to all agents. If you need an isolated browser environment for specific tasks, you can configure a separate instance with custom parameters such as user data directory and proxy.
Before installing the plugin, you need to prepare the required dependencies on your local machine. You must have Node.js version 20 or higher installed, with npx available in your system PATH. You also need to install the pnpm package manager, which is the underlying tool DSH uses to manage plugins. Finally, you need to have Chrome, Chromium, or Edge installed locally, and you can specify which browser to use via the plugin configuration. When using the plugin, be careful not to open pages with sensitive information, because page content will be sent to the LLM for processing.
这是一个专为 DeepSeek Harness 开发的原生插件,可让 DSH Agent 通过 MCP 协议驱动本地真实 Chrome 浏览器,支持页面导航、点击输入、截图、DOM 快照、控制台日志获取、网络请求抓取、性能轨迹录制、Cookie 管理等能力。官方仅提供一键安装方式,通过 dsh plugin 命令即可完成安装,无需手动克隆仓库,安装后开箱即用。
用户安装后需要重启 DSH 宿主才能生效,首次使用时会通过 npx 自动下载 chrome-devtools-mcp 服务器,耗时约 30 到 60 秒,之后会命中缓存实现秒级启动。该插件支持 Windows、macOS 和 Linux 全平台,所有会话(包含子 Agent)都能共享同一个浏览器实例,工具崩溃后会自动重连恢复。
该插件对运行环境有一定要求,需要提前安装 Node.js 20 及以上版本、pnpm 包管理器,同时本地需要安装 Chrome、Chromium 或 Edge 浏览器。用户可通过修改配置指定浏览器渠道、无头模式、视口大小等选项,使用时需要注意敏感页面信息,避免内容被模型获取造成泄露。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:DSH-Chrome-devtools(yuzi-ska/DSH-Chrome-devtools)
仓库:https://github.com/yuzi-ska/DSH-Chrome-devtools
本站详情页:https://www.yhbd.top/plugins/yuzi-ska-dsh-chrome-devtools/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证未声明 · ⭐ 6 · 最近提交 2026-09-22 · 主语言 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 更稳。
- No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
- Only 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
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:yuzi-ska/DSH-Chrome-devtools
把 yuzi-ska/DSH-Chrome-devtools 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-chrome-devtools — DeepSeek Harness × Chrome DevTools 集成
English | 中文
让 DeepSeek Harness 的 Agent 通过 chrome-devtools-mcp 驱动一个真实 Chrome 浏览器:导航、点击、输入、截图、DOM 快照、控制台、网络请求、性能轨迹、Cookie。
唯一安装方式:官方 dsh plugin 一键安装(GitHub 源,无需克隆本仓库)。
本仓库根目录就是官方 bundle 插件包(package.json 声明 dsh.bundle,
cordis.patch.yml 是补丁层):MCP 服务器行由插件自带,安装后开箱即用,
不需要安装任何附加组件、不需要自己配置 MCP。
特性
- 一键安装:
dsh plugin add github:...一条命令,自动进入 profile 补丁层栈,零手工配置 - npx 开箱即用:服务器经
npx -y chrome-devtools-mcp@latest首次自动下载 (与 Claude Code / Claude Desktop / Cursor 的 chrome-devtools-mcp 用法一致), 之后命中 npx 缓存秒级启动——不需要全局安装、不需要任何前置步骤 - 全局可用:宿主重启后,所有会话(含子 agent)都能用
mcp__chrome-devtools__*工具 - 真实浏览器:有头或无头 Chrome、多标签、Cookie、网络拦截、性能轨迹,一应俱全
- 自动重连:服务器崩溃由
dsh-mcp-client指数退避重启,失败预算防无限重启 - 跨平台:Windows / macOS / Linux;仓库自带零依赖安装脚本(纯 Node 标准库)
环境要求
| 依赖 | 说明 |
|---|---|
| DeepSeek Harness | 随官方发布,自带 @deepseek-ai/dsh-mcp-client 桥接插件 |
| Node.js ≥ 20 | npx 在 PATH 上(Node 自带) |
| pnpm | dsh plugin 的底层包管理器(npm i -g pnpm 或 corepack enable) |
| Chrome / Chromium / Edge | 本机安装;可在插件 args 用 --channel 指定 |
安装
dsh plugin --profile web add github:yuzi-ska/DSH-Chrome-devtools
(非 web 界面可把 web 换成你的 profile 名,如 tui / headless。)
安装后重启宿主(dsh web / 你的启动方式)。重启后所有会话都会出现
mcp__chrome-devtools__navigate_page、take_snapshot、take_screenshot、
list_console_messages、get_network_request、performance_start_trace
等工具(以服务器实际声明为准),无需任何额外配置。
首次使用会经 npx 下载服务器(约 30-60 秒)+ 启动 Chrome;之后常驻、秒级启动。
卸载:
dsh plugin --profile web remove dsh-chrome-devtools
仓库一键脚本(开发/本机场景)
git clone https://github.com/yuzi-ska/DSH-Chrome-devtools.git
cd DSH-Chrome-devtools
node scripts/install.mjs # 安装到 web profile(本地 link,改代码重启即生效)
node scripts/install.mjs --check # 环境自检(只读)
node scripts/install.mjs --uninstall
node scripts/install.mjs [options]
--check 环境自检:node/pnpm/dsh/浏览器/DSH_HOME,不写任何文件
--uninstall 卸载(dsh plugin remove)
--profile <name> 目标 profile(默认 web)
--dsh-home <path> 覆盖 DSH_HOME(默认 $DSH_HOME 或 ~/.dsh)
--harness <path> harness 仓库/安装路径(dsh 不在 PATH 时用 node 直接跑 CLI)
--plugin-spec <s> 插件源(默认本仓库根目录;可填 npm 包名、git 源或本地路径)
--package-name <n> 卸载时按此包名移除(默认 dsh-chrome-devtools)
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Tencent/BrowserSkill
YaoApp/yao
anbeime/skill
Jesseovo/last30days-skill-cn
bowenliang123/dsh-context
platonai/Browser4
liustack/modsearch