kyo615/dsh-browser-control
让AI通过Playwright MCP控制真实可见的Chrome浏览器,并在DeepSeek Harness GUI中实时查看每一步操作。
Project Overview项目介绍
This plugin is built natively for DeepSeek Harness as a dynamic Cordis plugin, designed to let DSH’s AI control a real, visible Chrome browser instance running on your local machine. It wraps Microsoft’s open-source playwright-mcp project, connecting to it via the Model Context Protocol’s stdio transport, and registers approximately 80 browser operation tools directly to DSH’s tool system. Two installation methods are supported: you can install it as a formal DSH plugin with the single command dsh plugin add <repository-url>, or load it dynamically as a custom Cordis plugin directly from the DSH chat interface.
After installation or dynamic loading, the plugin adds a real-time view panel to DSH’s conversation GUI. Every time the AI performs an action on the browser, the plugin automatically captures a screenshot of the current page, marks all clickable elements with numbered boxes, and displays the updated image in the conversation panel. You can also interact with the browser directly from the plugin’s panel: enter a URL to navigate, refresh the displayed screenshot, restart the browser instance, or shut it down completely. This plugin is intended for DSH users that need their AI agent to perform interactive web tasks like web searching, completing online forms, or scraping dynamic web content.
Before installing or running this plugin, you need to have three prerequisites set up on your machine: a working DeepSeek Harness installation, Node.js version 18 or newer, and a system-installed copy of Google Chrome or Microsoft Edge. After installing the plugin via DSH, you also need to run npm install @playwright/mcp in your target workspace to pull in the core dependency. All configuration options have auto-detected defaults, so you don’t need to edit any config files to start using it. It is released under the permissive MIT license, and you are responsible for ensuring your use of the plugin complies with any website terms of service.
这是专为 DeepSeek Harness 开发的原生 Cordis 插件,可让 DSH 中的 AI 操控你桌面上真实可见的 Chrome 浏览器。它基于微软开源的 playwright-mcp 项目,通过 MCP 协议 stdio 连接,为 AI 提供了约 80 个浏览器操作工具,涵盖导航、点击、输入、截图等。你可以直接通过 DSH 内置的 dsh plugin add 命令使用本仓库地址安装,也可以作为自定义 Cordis 插件动态加载。
使用过程中你可以在 DSH 的对话 GUI 中实时看到 AI 的每一步操作,每次 AI 执行动作后,插件会自动截图并给可点击元素标注编号方框,直接展示在对话面板中。你也可以通过面板手动操控浏览器,比如输入网址跳转、刷新画面、重启或关闭浏览器。它适合需要 DSH AI 完成网页交互任务的用户,比如网页搜索、自动化填表、动态网页抓取等。
运行本插件需要三个前提:已安装 DeepSeek Harness、Node.js 18 或更高版本,系统装有 Chrome 或 Edge 浏览器,并且需要在工作区通过 npm 安装 @playwright/mcp 依赖。所有配置都有自动探测的默认值,无需手动修改即可开箱使用。它以 MIT 许可证开源,用户使用该插件自动化操作浏览器时需自行承担合规责任。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-browser-control(kyo615/dsh-browser-control)
仓库:https://github.com/kyo615/dsh-browser-control
本站详情页:https://www.yhbd.top/plugins/kyo615-dsh-browser-control/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 7 · 最近提交 2026-08-15 · 主语言 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 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
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 add https://github.com/kyo615/dsh-browser-control
把 kyo615/dsh-browser-control 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-browser-control
让 DeepSeek Harness 里的 AI 像 Codex 一样操控一个真实、可见的 Chrome 浏览器,并在对话 GUI 里实时看到每一步操作(自动截图 + 可点击元素的数字编号)。
底层基于微软官方开源项目 microsoft/playwright-mcp,通过 MCP(Model Context Protocol)stdio 连接。
本项目是 DeepSeek Harness 的动态 Cordis 插件(Host + Client 两部分)。它只调用 DSH / Cordis 的公开插件 API,不包含、不修改它们的源码。
✨ 特性
- 真实有头 Chrome:不是无头浏览器,你桌面上直接看到 AI 在操作(鼠标移动、输入、点击)
- 约 80 个
browser_*工具注册给 AI:browser_navigate/browser_click/browser_type/browser_snapshot/browser_press_key/browser_mouse_click_xy/browser_tabs/browser_evaluate等 - GUI 内嵌实时画面:每次 AI 动作后自动截图(
live.png),经宿主 HTTP 路由/dsh-browser/shot.png实时刷新到对话面板,数字方框 = AI 可点击的元素编号 - 面板操作:网址栏跳转、刷新画面、重启浏览器、关闭浏览器
- 零硬编码路径:所有路径自动探测或可配置,clone 下来即可用
🏗 架构
┌──────────────────── DeepSeek Harness 进程 ────────────────────┐
│ Host(code.host) │
│ ├─ 拉起 @playwright/mcp 子进程(真实有头 Chrome) │
│ ├─ 最小 MCP stdio 客户端(换行分隔 JSON-RPC,手写实现) │
│ ├─ 把 ~80 个 browser_* 工具注册为动态工具(harness.registerTool)│
│ └─ HTTP 路由 /dsh-browser/shot.png 提供实时截图 │
└──────┬─────────────────────────────┬──────────────────────────┘
│ MCP stdio(stdin/stdout) │ HTTP(GUI 同源)
▼ ▼
┌──────────────────┐ ┌──────────────────┐
│ @playwright/mcp │ │ Client(code.client)│
│ (node 子进程) │ │ 实时画面面板(轮询 rev)│
│ └─ 真实 Chrome │ └──────────────────┘
└──────────────────┘
📦 依赖与前提
- DeepSeek Harness(或兼容其动态 Cordis 插件机制的环境)
- Node.js ≥ 18
- 系统已安装 Google Chrome(或 Edge)
- 依赖包(在你打算放置
node_modules的工作区里执行):
npm install @playwright/mcp
🧩 方式一:作为正式插件安装(dsh plugin add)
本项目声明了标准的 dsh.bundle manifest(cordis.patch.yml + package.json 的 dsh 字段),可通过 DSH 的插件安装命令直接安装:
dsh plugin add <本仓库 URL>
# 例如:
dsh plugin add https://github.com/kyo615/dsh-browser-control
安装后插件以 browser-control 作为实例 id 插入 Cordis 组合树,host 半加载 lib/index.js、client 半加载 lib/client.js。
前提同样需要:在对应工作区
npm install @playwright/mcp,且系统装有 Chrome。
🚀 方式二:动态插件(cordis_define / cordis_run)
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