byob
by wxtsky·★ 121·综合分 49
byob 是一个本地 MCP 服务器,让 AI 助手能控制你已登录的 Chrome 浏览器。
概述
byob 是一个全面的 MCP 服务器,它将 AI 编码工具与你实际的 Chrome 浏览器连接起来。它无需无头浏览器,而是让 AI 代理与你已登录各种服务的浏览器会话交互。项目通过 MCP 提供了广泛的浏览器自动化工具,包括导航、交互、内容提取和评估功能。通过适当的安全措施和零出站数据传输,byob 完全在本地运行。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
当您需要 AI 代理像已登录的人类用户一样与网站交互,无需复制 cookie 或处理机器人检测时。
什么时候不要选它
如果您需要在没有可见浏览器实例的情况下自动化无头浏览器交互,或者您正在使用阻止自动化框架的网站。
此 server 暴露的工具
从 README 抽取出 12 个工具browser_readOpen a page, scroll through, read all text
browser_read_markdownOpen a page, scroll through, return clean markdown
browser_extract_tableExtract table elements from a page as JSON
browser_screenshotTake a screenshot of a webpage and save to disk
browser_clickClick a button or link on the page
browser_typeType text into an input field, optionally press Enter
browser_navigateOpen a URL in a new or existing tab
browser_wait_forWait for an element to appear on the page
browser_list_tabsList all currently open browser tabs
browser_switch_tabSwitch to a specific tab by tabId
browser_get_cookiesExport cookies for a website to use with curl or scripts
browser_print_pdfSave current page as a PDF file
可对比工具
安装
安装
快速安装(推荐)
curl -fsSL https://raw.githubusercontent.com/wxtsky/byob/main/install.sh | bash该脚本检查先决条件(Node.js ≥ 20、bun、Chrome),克隆仓库,构建所有内容,并引导您完成 MCP 注册。
手动安装
git clone https://github.com/wxtsky/byob
cd byob
bun install
bun run setupClaude Desktop 配置
添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"byob": {
"command": "/path/to/tsx",
"args": ["/path/to/byob-mcp.ts"]
}
}
}FAQ
- byob 是否需要设置单独的浏览器账户?
- 不需要,byob 使用您已有的 Chrome 浏览器,您已登录所有服务。
- 浏览器评估安全吗?
- browser_eval 默认关闭,必须使用 BYOB_ALLOW_EVAL=1 显式启用。每次调用都会记录并通知。
byob 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。