Browser Use 云端桥接:通过 Browser Use API 让 dsh agent 执行真实网页任务,包括打开页面、点击、输入、填表和提取数据。
安装
# npm 包(预构建)
dsh plugin --profile web add dsh-browser-use
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:zoahdev/dsh-browser-use
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
Browser Use bridge for DeepSeek Harness: let your
dshagent run real web tasks — open pages, click, type, fill forms, extract data — through the Browser Use Cloud API.
English | 中文
What it is
A thin, honest bridge. It registers one model-facing tool, browser_use_run,
forwards the task to Browser Use's cloud endpoint, and returns the raw run
result. It does not reimplement Browser Use and does not claim to be a
full integration.
Install
dsh plugin --profile web add dsh-browser-use
Then set your Browser Use API key (config apiKey, or the BROWSER_USE_API_KEY
env var).
Two modes: cloud vs. local
| Mode | Needs | Tools you get |
|---|---|---|
| Cloud (this plugin) | Browser Use API key | browser_use_run |
| Local (free, no key) | Python + browser-use installed |
mcp__browser_use__browser_exec, mcp__browser_use__browser_screenshot |
Local mode (no Browser Use API key)
Browser Use also runs locally as an MCP stdio server — no cloud subscription.
DeepSeek Harness already ships @deepseek-ai/dsh-mcp-client, so you do not
need this plugin for the local path. Install Browser Use once
(pip install 'browser-use[cli]'), then add this to your profile's
cordis.yml:
- insert:
- id: browser-use-local
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: browser_use
transport: stdio
command: browser-use
args: ['--cli-mcp']
cwd: !!js process.cwd()
That registers mcp__browser_use__browser_exec and
mcp__browser_use__browser_screenshot. A ready-to-copy file is in
examples/local-mcp.cordis.yml.
Tool
| Parameter | Type | Description |
|---|---|---|
task |
string | The task, e.g. "Find the stars of the browser-use repo". |
model |
string | Optional provider-prefixed model id, e.g. openai/gpt-5.5. |
Returns { result } — the raw Browser Use run result.
Config
| Key | Type | Default | Description |
|---|---|---|---|
apiKey |
string | (env) | Browser Use API key |
baseUrl |
string | https://api.browser-use.com |
Cloud API base URL |
timeoutMs |
number | 300000 |
Request timeout |
model |
string | (none) | Default model |
Verified
pnpm typecheck·pnpm build·pnpm test(4 tests, mocked HTTP).- Tested with
@deepseek-ai/dsh-tools ^0.1.0-rc.6.
Honest limits
- This is a cloud-API bridge; it needs a Browser Use API key.
- Local mode is provided by DeepSeek Harness's own
mcp-client, not by this package; this README documents both so you can pick the cheaper path. - It returns the raw response; it does not stream or poll for completion.
- Community plugin, not an official Browser Use or DeepSeek product.
中文
给 DeepSeek Harness 的 Browser Use 桥接:让
dshagent 通过 Browser Use 云 API 执行真实网页任务(打开页面、点击、输入、填表、抽取数据)。
注册一个 browser_use_run 工具:把任务转发给 Browser Use,返回原始运行结果。
这是薄桥接,不重新实现 Browser Use,也不冒充官方。
dsh plugin --profile web add dsh-browser-use
需要配置 Browser Use API key(apiKey 配置项,或环境变量 BROWSER_USE_API_KEY)。
两种模式:云端 vs. 本地
| 模式 | 需要 | 得到的工具 |
|---|---|---|
| 云端(本插件) | Browser Use API key | browser_use_run |
| 本地(免费,无需 key) | Python + browser-use 已安装 |
mcp__browser_use__browser_exec、mcp__browser_use__browser_screenshot |
本地模式(无需 Browser Use API key)
Browser Use 也能以本地 MCP stdio 服务运行,无需云订阅。DeepSeek Harness 已经内置
@deepseek-ai/dsh-mcp-client,所以本地路径不需要本插件。先安装一次
Browser Use(pip install 'browser-use[cli]'),然后把你 profile 的
cordis.yml 加上:
- insert:
- id: browser-use-local
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: browser_use
transport: stdio
command: browser-use
args: ['--cli-mcp']
cwd: !!js process.cwd()
这会注册 mcp__browser_use__browser_exec 和
mcp__browser_use__browser_screenshot。现成可复制的文件在
examples/local-mcp.cordis.yml。
链接
同类插件
Tencent/WeKnora#dsh-weknora★ 33572
把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己带引用的 RAG 或 ReAct agent 回答(含可续聊的 session id)。
superdesigndev/treg★ 5130
给 Agent 的工具目录:按「要做的事」检索约 2,600 个外部接口(SEO 与 SERP、外链、社交、人物与公司信息补全、广告库、抓取),查看参数与单次调用价格后直接调用,凭据由服务端注入。附带技能,MCP 行在未设置 TREG_TOKEN 前保持禁用。
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1136
把腾讯云 CloudBase 后端接入 DeepSeek Harness——在对话里搭好并部署全栈应用,查询结果渲染为表格卡片(分页、排序、导出 CSV),部署后可预览真实域名,并提供 CloudBase MCP 工具集(`mcp__cloudbase__*`),登录走 device-code 流程。
gitroomhq/postiz-agent#dsh-postiz★ 514
通过 MCP 将 DeepSeek Harness 连接到 Postiz:列出已连接的社交媒体渠道、获取各平台发帖规则,并向 X、LinkedIn、Instagram、Facebook、Threads、TikTok、YouTube、Reddit、Bluesky、Mastodon、Discord、Slack、Telegram 等平台排期、存草稿或发布帖子;附带 postiz 工作流技能。
EthanYoQ/Invoice-Downloader#dsh-invoice-downloader★ 508
面向 DeepSeek Harness 的本地 IMAP 发票下载、OCR 识别、归档与 Excel 报销汇总。
anysearch-team/anysearch-dsh★ 459
基于 AnySearch 的实时网页与垂直搜索插件,为 DeepSeek Harness 提供搜索工具。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。