About Browser Bridge
Browser Bridge is an MCP server published by hanelalo in the Browser category: 让你的agent真的像你一样操控你的浏览器窗口. Conduid read 40 tools from its source: activate_tab, begin_task, cancel_task, check, clear, click and 34 more. No package is published for it, so it installs from a source checkout.
The repository has 60 stars and 12 forks, is licensed MIT, and its last commit was on 29 Nov 2026. Conduid has no tagged release on record for it. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include dsh and dsh-plugin.
Install
git clone https://github.com/hanelalo/browser-bridgeTools (40)
activate_tab切换到指定标签页并聚焦窗口begin_task申请窗口任务租约;等待 server 全局额度和窗口空闲后返回 task_id。后续工具传入该 task_id,结束时调用 end_task;空闲租约 60 秒后释放cancel_task取消排队工作并停止接受新指令;在途浏览器操作确认结束后才释放窗口check勾选/取消 checkbox 或 radioclear清空 input/textarea/contenteditableclick点击匹配定位的元素click_at按页面坐标点击close_agent_window关闭本会话(当前 MCP 进程)的专用浏览器窗口(连同窗口内所有标签页),释放资源。任务执行完毕后请调用本工具关闭自己的窗口,避免窗口堆积;不影响其他会话的窗口close_auto_tabs关闭本会话(当前 MCP 进程)自动打开的标签页(new_tab / click --new-tab / googletrends 创建的),不影响其他会话。流程结束时请务必调用本工具,清理本次任务创建的标签页,避免浏览器堆积close_tab关闭标签页(默认当前激活页)close_window关闭指定浏览器窗口及其标签页end_task结束任务;若浏览器仍在执行,进入 closing 状态,确认执行结束后自动释放额度和窗口get_a11y_tree读取页面 a11y tree(无障碍树),返回 { tab_id, title, url, count, nodes[] }。每个节点含 role(角色)/ name(可访问名称)/ value(当前值)/ states(状态:enabled/disabled/checked/unchecked/expanded/collapsed/required/readonly 等)/ depth(DOM 深度)/ tag;heading 额外带 level。可交互节点(button/link/textbox/searchbox/checkbox/radio/combobox/listbox/slider/select 等)带 target,可直接喂给 click / set_value / check / select_option / clear / get_value。适合与页面交互前先了解页面结构、找出可点击或可填写的元素get_page_content读取页面标题/URL/文本get_page_markdown把指定页面内容转换为标准 Markdown(标题/段落/列表/表格/代码块/链接/图片),返回 { tab_id, title, url, markdown }。默认用 Readability 自动提取正文去除导航/页脚等噪音,可传 url 先导航;selector 只转换某个容器(如 article / #content);full=true 时跳过提取转换整个页面get_value读取元素当前值(用于验证)googlesearchGoogle 搜索,返回 { tab_id, results[] }(title/description/url/target)googletrendsGoogle Trends 趋势查询(新版探索页,懒挂载 + 纯前端分页),返回 { tab_id, query, date, geo, trend[], top[], rising[], regions[], top_table_available, rising_table_available, tables_available, regions_available, hydration }。available 表示表格已成功读取,即使 rows 为空也可能为 true;hydration 带各阶段页面年龄、分页次数与 complete 完整性标记;regions 为按地区的搜索热度(rank/region/geo_code/interest)googletrends_compareGoogle Trends 关键词对比,只读首屏多折线、不滚动页面,返回 { series[] },每个词一条趋势序列(共享 0-100 刻度,不返回热门/上升表),另带 hydration 耗时诊断list_tabs列出所有标签页list_windows列出浏览器窗口及其标签页navigate导航到指定 URL 并等待加载完成new_tab新建标签页(可选打开 URL)new_window创建一个可供任务绑定的浏览器窗口oldgoogletrends经典版 Google Trends(legacy)单关键词查询,支持 now 7-d。返回 { tab_id, trend[], top[], rising[], regions[], top_table_available, rising_table_available, tables_available, regions_available }。从页面 DOM 读取趋势表格、切换热门/上升并翻页,trend.date 保留页面时间标签;rising.interest 为 null,change 为增长百分比或 breakout。空榜单 available=true,读取失败为 false 并附 errors。新建标签页,收尾用 close_auto_tabs 清理oldgoogletrends_compare经典版 Google Trends(legacy)关键词对比,支持 now 7-d。返回 { series[] },每个词一条趋势序列(共享 0-100 刻度,无数据词整列为 0;trend.date 保留页面时间标签,不返回热门/上升表)。从经典页面 DOM 表格读取,新建标签页,收尾用 close_auto_tabs 清理press_key模拟按键(Enter/Escape/a/F5 等,支持修饰键)querydomains用 Query.Domains 按关键词批量查询域名注册情况与价格,返回 { tab_id, query, tlds, complete, results[] }(每项含 domain/tld/status/available/price/badges;status: available|unavailable|uncertain)redditsearchReddit 搜索,返回 { tab_id, results[] }(title/description/published/published_at/votes/comments/url/target;votes/comments 为整数 upvote/评论数量,published_at 为 ISO 时间戳)run_script在页面里执行任意 JS 表达式,返回 JSON 序列化结果scrape按 CSS 选择器提取结构化数据(字段映射:字段名:选择器[@属性])screenshot截取页面可见区域截图,返回一个标准 MCP 图片块(agent 可直接查看,无需解码)+ 一个文本块(元信息 { tab_id, url, title, mime, format, width, height, size })。窗口被其他应用完全遮挡时,截到的可能是遮挡内容,传 foreground=true 先把目标窗口拉到 OS 前台再截;format=jpeg 时可用 quality(0-100)控制质量scroll滚动窗口或指定容器select_option选中 <select> 的某个选项set_value设置 input/textarea/contenteditable 的值task_status查询任务的排队、运行、closing 或 finished 状态upload_file把本地文件填入 <input type=file> 并触发 input/change 事件(表单上传用)。files 是本地路径数组,总大小上限 30 MB;仅支持标准文件选择器,拖拽区等自定义上传控件不支持youtubeinfo获取指定 YouTube 视频详情,返回 { tab_id, video }(url/title/author/author_url/duration/duration_seconds/like_count/comment_count/subscriber_count/captions[],字幕为全文,各计数同时附 *_text 原始文本)youtuberinfo获取指定 YouTube 频道(youtuber)的视频列表,返回 { tab_id, channel, videos[] }(channel 含 name/url/subscriber_count/subscriber_count_text;videos 每项含 title/url/views/views_count/duration/published/target),最多返回 max 条(默认 10,至少 1)youtubesearchYouTube 搜索,返回 { tab_id, results[] }(title/channel/views/published/duration/url/target),支持上传日期(today/week/month/year)与优先顺序(relevance/popularity)筛选Security checks
- ✓README presentThe repository's README runs to about 2.5K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 24 source files and found 2 calls to eval or shell execution, in extension/entrypoints/background.ts among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
README
The repository's README runs to about 2.5K words, fetched a month ago. The original in the repository is authoritative.
Read full README