Zenpilot

io.github.beSaif由 GitHub 账号 beSaif 发布v0.5.1更新于 Oct 29, 2026

Let Claude use your Zen Browser, like Claude in Chrome. No extension, only sites you allow.

概览

AI 生成的概览

让 Claude 操作 macOS 上的 Zen 浏览器:开关标签页、读取页面、点击、输入和截图,且仅限你允许的网站。

可以做什么
  • 打开、切换和关闭标签页,并访问网址
  • 读取页面内容并滚动页面
  • 点击、输入、从下拉框选择并截图
  • 从 upload_dirs 中列出的文件夹附加文件用于上传
  • 查看会话报告和 Claude 操作审计日志
适用场景
当你希望 Claude 在 Mac 上真实的 Zen 浏览器会话中操作时适用,例如填写或提交网页表单,而不是只处理抓取的页面文本。它仍是 alpha 版本且仅支持 macOS,适合愿意测试并配置允许列表的用户。
运行要求
需要一台在 /Applications 中装有 Zen 的 Mac(仅在 Zen 1.23 上测试过)。Claude Desktop 可安装 .mcpb 包,Claude Code 需先安装 uv 再运行 zenpilot setup。安装时会询问使用哪个 Zen 配置文件和允许哪些网站,设置保存在配置文件中。Zen 会以远程控制方式启动,端口 9222。
安装前请注意
Claude 可在允许的网站上点击、输入和提交,因此只应允许你信任的网站;在主配置文件下,恶意页面可能诱导它操作你已登录的账户。以这种方式运行时远程控制保持开放,Mac 上的其他应用也可能连接。上传仅限 upload_dirs 中的文件夹。输入的文字不会被记录,只记录长度。会话报告可能被提交为 GitHub issue,提交前请先阅读。dangerously_allow_all_sites 选项会跳过允许列表。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Zenpilot,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[zenpilot]

[CI] [License: MIT]

Let Claude use your Zen browser. Works with Claude Desktop and Claude Code, kind of like Claude in Chrome but for Zen.

[zenpilot demo: install, set up, then Claude fills in and submits a form in Zen]

There's no browser extension. zenpilot opens Zen with its remote control turned on and talks to it directly.

Alpha. Only tested on macOS with Zen 1.23.

Install

You need a Mac with Zen in /Applications.

Claude Desktop: download zenpilot-<version>.mcpb from the latest release and open it. That's it.

Claude Code (or both): with uv installed, run:

sh
uv tool install zenpilotzenpilot setup

Setup asks which Zen profile to use and which sites Claude may visit. Then it connects zenpilot to Claude Code (and Claude Desktop, if you have it) and opens Zen. Restart Claude Desktop afterwards.

Either way, zenpilot updates itself to the newest release each time Claude starts it. To stay on one version with uv, install it pinned: uv tool install zenpilot==0.5.0.

Use it

Just ask Claude: "order a large pizza with bacon on httpbin.org/forms/post for Sam, then submit it".

The first time, a few popups may show up. Only you see them, not Claude:

  • Which profile? zenpilot is a fresh profile that isn't logged in to anything. Pick your own profile if you want Claude to use sites you're logged into.
  • Reopen Zen? If Zen is already open without remote control, zenpilot offers to restart it. Your tabs come back.
  • Allow this site? Claude only works on sites you allow. Choose Don't Allow, Allow for 12 Hours or Always Allow. If you miss it, it asks again next time. After Don't Allow it waits 10 minutes before asking again, or run zenpilot allow <site>.

Pressing Enter always picks the safe answer.

While Claude works in a tab, an orange glow goes around the page and a zenpilot badge in the bottom-left corner says so. Press Stop on it and Claude stops and asks you what to do. If it tries again anyway, a popup asks whether to let it continue.

Claude can open, switch and close tabs, go to a URL, read the page, click, type, pick from dropdowns, scroll and take screenshots. It can attach files to upload, but only from folders you list in upload_dirs. It can't touch cookies, passwords or downloads, and it can't run its own JavaScript.

When it gets stuck

zenpilot is far from perfect, and every site is different. When Claude can't do something (say, drag and drop), it notes what it tried. zenpilot also notes tool calls that failed or took over 5 seconds. If anything went wrong, a notification at the end of the session points you to a report in ~/.local/state/zenpilot/reports/.

sh
zenpilot report           # show the latest reportzenpilot report --issue   # open a GitHub issue with it filled in

What you typed and the pages' text stay out of it, Claude is asked to leave out personal data, and URLs lose their ?query part. Still, read it before you submit.

Staying safe

  • Allowlist. Claude only works on sites you've allowed. Add one with zenpilot allow github.com.
  • Stick to the zenpilot profile if you can. It's logged out of everything. On your main profile, a shady page could try to trick Claude into doing stuff in your accounts, so only allow sites you trust.
  • Read-only mode. Set read_only = true and Claude can look but not click or type.
  • Log. Everything Claude does is written to ~/.local/state/zenpilot/audit.jsonl, with what it clicked. Typed text isn't logged, only its length. zenpilot log shows it as a timeline.
  • Remote control is open while Zen runs this way. Other apps on your Mac could connect to it too, and some sites (banks, Cloudflare checks) may think you're a bot. When you're done, quit Zen and open it normally.

zenpilot also stops Zen from switching off its own protections (Safe Browsing, the popup blocker and so on), which would otherwise happen when remote control is on.

Commands

CommandWhat it does
zenpilot setupSet everything up (see above)
zenpilot allow [site...]Allow sites. --remove takes them off (12-hour ones too). No sites lists them.
zenpilot launchOpen Zen with remote control on
zenpilot doctorCheck your setup and say how to fix anything that's broken
zenpilot reportShow the latest session report. --issue files it on GitHub, --list lists them all.
zenpilot logShow what Claude did lately. -n 200 for more, --errors for failures only

Settings

They live in ~/.config/zenpilot/config.toml, and changes apply right away.

toml
allowlist = ["localhost", "127.0.0.1"]   # "example.com" covers its subdomains tooread_only = false                        # true: Claude can look but not click or typeprofile = "zenpilot"                     # which Zen profile Claude usesauto_launch = true                       # open Zen when Claude needs itprompts = true                           # show the popups aboveport = 9222audit_log = "~/.local/state/zenpilot/audit.jsonl"report_dir = "~/.local/state/zenpilot/reports"audit_redact_urls = false                # true: leave ?query and #fragment out of the logupload_dirs = []                         # folders Claude may upload files from, e.g. ["~/Documents/CV"]dangerously_allow_all_sites = false      # skips the allowlist. Please don't.

Uploads need one Firefox setting (dom.file.createInChild) in the profile. zenpilot adds it once upload_dirs isn't empty, and it takes effect the next time Zen starts.

Good to know

  • Only one Claude can drive Zen at a time. zenpilot lets go after 2 minutes of doing nothing, so Claude Desktop and Claude Code can take turns.
  • Zen can be hidden or behind other windows. It still works.
  • Zen loads restored tabs lazily, so Claude only sees an old tab once you've opened it.
  • Stuck? Run zenpilot doctor. If Zen says it already has a session after a crash, restart Zen.

Hacking on it

sh
git clone https://github.com/beSaif/zenpilot.git && cd zenpilotuv sync && uv run zenpilot setup     # points Claude at your cloneuv run pytest -m "not integration"   # unit testsuv run pytest                        # all tests, needs Zen running (zenpilot launch)ZENPILOT_TEST_PORT=9333 uv run pytest   # against a second Zen on a test profile

License

MIT

来源:README.md,提交 8f155ec

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

3
  1. v0.5.1最新Oct 29, 2026
  2. v0.2.4Oct 21, 2026
  3. v0.2.2Oct 17, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分