
让您的AI代理使用您的真实浏览器: MCP 服务器和 Chromium 扩展名
概览
让你的AI代理使用真正的浏览器:你的分页,你的登录,你的扩展. 一个MCP服务器和一个Chrimium扩展,用于开码和任何其他MCP客户端. 特工们得到一个浏览的MCP服务器. 他们与Playwright一起打开并驱动标签,取取出截图,捕捉网络流量并记录屏幕,以背景标签组合出出你的方式. 当轮到你(登录、2FA提示、付款)时,他们把标签交给你,然后点击后继续。 它在克罗姆,爱奇,勇敢,阿尔克,赫利姆,维瓦尔第,歌剧和克罗姆等地工作. 在 Windows 上,运行 irm https://opencode.ai/browse/install.ps1 在 PowerShell 中运行 iex. 有了Node.js,npx@opencode/浏览器也安装了工程:它在全球安装软件包,所以代理从 PATH 运行浏览. 安装器将浏览命令放入~/.local/bin(设定时为XDG BIN HOME)并运行浏览安装.
概述(AI 翻译)
让你的AI代理使用真正的浏览器:你的分页,你的登录,你的扩展. MCP 服务器和铬 扩展名,用于Opencode和任何其他MCP客户端。
– – . . .
代理获得一个browseMCP服务器. 他们打开和驱动标签 与Playwright,拍摄截图,抓取网络
以背景标签来记录屏幕, 当它轮到你(登录,
当您点击 ** 继续 ** 时, 他们会把标签交给您。
它在克罗姆,爱奇,勇敢,阿尔克,赫利姆,维瓦尔第,歌剧和克罗姆等地工作.
□ 安装
在Windows上,运行 [[T1] 在PowerShell. 与节点.js,
npx @opencode/browse install也起作用:它在全球安装软件包,使代理从PATH运行[T3]. 这个
安装器将 browse 命令放入 [[T5] ([T6] 设定时)并运行 [[T7]. 上面写着
频道从 Anomaly 的发布服务中显示, 下载此二进制
[[T8] 选择信道
([[T9] 默认); --version 从 npm 安装一个特定版本, 对照 npm 已发布
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Let your AI agents use your real browser: your tabs, your logins, your extensions. A small native MCP server and a Chromium extension, for OpenCode, Claude Code, Codex, Cursor and any other MCP client.
Agents get a browse MCP server. They open tabs in the background, read pages, click, type, take screenshots,
capture network traffic and record the screen, in tabs grouped out of your way. When it’s your turn (a login, a 2FA
prompt, a payment), they hand the tab back to you and continue once you click Continue.
It works in Chrome, Edge, Brave, Arc, Helium, Vivaldi, Opera and Chromium.
Install
curl -fsSL https://opencode.ai/browse/install | bash
Or paste this into your agent: “Set up browse so you can use my Chrome: run
curl -fsSL https://opencode.ai/browse/install | bash”. It sets browse up for the agent that ran it.
Other ways to install, all of which end in the same browse install:
| How | Command | Where browse lives, and what updates it |
|---|---|---|
| Install script (macOS, Linux) | curl -fsSL https://opencode.ai/browse/install | bash |
~/.local/bin/browse ($XDG_BIN_HOME when set); updates itself |
| Install script (Windows) | irm https://opencode.ai/browse/install.ps1 | iex in PowerShell |
%USERPROFILE%\.local\bin\browse.exe; updates itself |
| npx, bunx | npx @opencode/browse install |
copied to ~/.local/bin/browse once; updates itself from then on |
| npm | npm i -g @opencode/browse, then browse install |
npm’s global browse; browse runs npm install -g to update |
| bun | bun add -g @opencode/browse, then browse install |
~/.bun/bin/browse; browse runs bun add -g to update |
| pnpm, yarn, volta | pnpm add -g / yarn global add / volta install @opencode/browse, then browse install |
that manager’s browse; updated with the same manager |
There’s always exactly one browse: a global package install is left to its package manager (nothing is copied next
to it, and a leftover ~/.local/bin/browse from an earlier install is removed), and agents run the same browse your
terminal does. If browse install finds another browse on your PATH it tells you which one and how to remove it.
The install script reads the channel’s manifest from Anomaly’s release service, downloads
the binary for this computer and checks its size and SHA-256 before installing it. --channel stable|beta|dev picks
the channel (stable by default); --version installs a specific version from npm, checked against npm’s
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{ "mcpServers": { "browse": { "command": "/home/you/.local/bin/browse", "args": ["mcp"] } } }