Yab, Yet Another Browser

com.yetanotherbrowser由 yetanotherbrowser.com 发布v0.2.1更新于 Oct 26, 2026

Your own signed-in Mac browser for any agent: open, read and act in tabs. Local and free.

概览

AI 生成的概览

把 AI 助手连接到 Mac 上免费的 WebKit 浏览器 Yab,让它用用户已登录的会话打开标签页、读取页面、点击、输入并填写表单。

可以做什么
  • 在 Yab 中打开、导航、列出和关闭代理标签页,并把标签页显示到用户面前
  • 以无障碍树、纯文本、截图或 PDF 形式读取页面,并等待页面加载完成
  • 与页面交互:点击、输入、选择选项、按键、悬停、拖拽、滚动、应答对话框、上传和下载文件
  • 在标签页中运行 JavaScript,并读取开发者工具中的控制台消息、网络元数据、样式和性能记录
  • 使用用户保存的登录、自动填充、个人资料和表单答案,并可请用户接管、登录或做出选择
  • 搜索记忆与浏览历史,并在 Yab 中启用后读取或处理 Gmail 邮件和 Messages 信息
适用场景
适合需要以用户身份操作真实网站的助手,包括需要登录才能访问的页面,而无需搭建云端浏览器或调试端口。也适合希望代理浏览留在本机、并对发送、付款、删除等敏感操作由用户确认的 Mac 用户。
运行要求
需要 macOS 15.4 或更高版本的 Mac,并安装、启动过一次免费的 Yab 浏览器。需在 Yab 的设置中允许代理使用。使用 npx 包需 Node.js 18 或更高版本,也可让客户端直接调用应用二进制。可选环境变量包括 YAB_APP、YAB_MCP_AUTH_FILE 和 YAB_MCP_URL。邮件和 Messages 工具仅在 Yab 中启用相应功能后出现。
安装前请注意
助手在用户已登录的浏览器中操作,使用其 Cookie 和 IP,因此可接触到账号和私人数据。发送、付款、删除等操作默认需用户在 Yab 中确认,除非在 Yab 设置中开启 Bypass。保存的密码由 Yab 填写、不会展示给代理,但代理读取的邮件、信息和页面内容会发送给该代理所用的模型提供商。发邮件、发信息和修改原生设置属于写入操作。连接令牌保存在本地认证文件中。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

yab-mcp

The MCP server of Yab, Yet Another Browser, for Claude Code, Codex, Cursor and any MCP client.

Yab, Yet Another Browser, is a free WebKit browser for the Mac. With this server, any agent gets one real browser on your Mac: the one you're signed in to. Your agent opens tabs of its own beside yours, reads pages as text, clicks, types and fills forms with your sign-ins, your cookies and your IP. There is no cloud browser, no debug port and no Chrome to set up, and it's free. A press on Send, Pay, Delete and the like waits for your yes on a card in Yab, unless you chose Bypass in Yab's settings: the browser holds that yes, not the model. Saved passwords are filled by Yab and never shown to the agent. Agent tabs live in a window off screen and come in front of you only when you ask. With Yab closed, the first call opens it hidden, with no window and no Dock tile, and it quits after half an hour with nothing to do. yab serve keeps it running that way.

Download Yab · For developers · Manual

Remote assistants (0.2.0 preview)

On the assistant's own computer, run npx yab-mcp login --client dots. When Yab's Connect flow supplies a nonce, add --nonce with that value. It prints the code and returns immediately; a background process saves the connection after the person allows it in Yab. Yab on the Mac shows the eight-character code under Settings > AI > Assistants. After the person allows it there, choose who does the work:

  • Direct browser control: configure your assistant's MCP server with command npx and args ["-y", "yab-mcp", "--remote"]. The assistant calls open, snapshot, click, type, etc. itself, using its own model/account. --remote bridges JSON-RPC over stdio; it does not accept a natural-language prompt or start a Yab model run. Calling the task MCP tool still delegates.
  • Delegation: npx yab-mcp task "Find a table for Friday" starts a separate agent using the model selected for Tasks in Yab on the Mac. ChatGPT (via Codex) consumes the user's ChatGPT limits; Claude uses their Claude plan instead. Choose this when you intend to use that plan, including from a shell-only bot. It prints its session ID and returns; run npx yab-mcp status SESSION for the next update, or npx yab-mcp status for the newest task after a Mac reconnects. Repeat until it says done.

Both modes keep the assistant's existing account access and approval settings. The connection token stays in ~/.config/yab-mcp/auth.json (mode 0600), or the path in YAB_MCP_AUTH_FILE. When the home folder is read-only, as on some bots' computers, it goes to the first writable of /workspace/shared/.yab-mcp/, /workspace/.yab-mcp/ and .yab-mcp/ in the current folder. If the computer ends the background process that waits for the person's Allow, the next task, status or --remote finishes connecting. YAB_MCP_URL selects a test server; production uses https://yab-sync.21st.workers.dev. Plain npx yab-mcp starts the local app's MCP server.

Requirements

  • A Mac with macOS 15.4 or later.
  • Yab, free: download. It updates itself.
  • Agents allowed in Yab: Settings › AI › Agents › Let agents use Yab. Until then, every call says so.
  • Node.js 18 or later, for npx. A client can also run Yab directly, without Node: see Without Node.

Chrome is your main browser? Yab can still be the one your agents use, usually closed. yab import chrome brings Chrome's sign-ins into Yab after you say yes in Yab, so your agent hits fewer sign-in pages.

Already use Yab? Settings › Developers adds it to Claude Code and Codex with one click, and Copy Config gives the JSON for any other client. You don't need this package for that.

Install

Claude Code

The plugin brings the tools and Yab's skill:

/plugin marketplace add yetanotherbrowser/yab-mcp/plugin install yab@yab-mcp

From a shell: claude plugin marketplace add yetanotherbrowser/yab-mcp, then claude plugin install yab@yab-mcp.

Only the tools:

sh
claude mcp add --scope user yab-browser -- npx -y yab-mcp

If Yab's Settings › Developers already added Yab to Claude Code, skip this: you'd have the same tools twice.

Codex

The plugin, tools and skill:

sh
codex plugin marketplace add yetanotherbrowser/yab-mcpcodex plugin add yab@yab-mcp

Or only the tools, in ~/.codex/config.toml:

toml
[mcp_servers.yab-browser]command = "npx"args = ["-y", "yab-mcp"]tool_timeout_sec = 900default_tools_approval_mode = "approve"

tool_timeout_sec lets a call wait up to 15 minutes while Yab asks you something; the plugin keeps Codex's default of 5. default_tools_approval_mode stops Codex asking before every Yab tool; Yab still asks you before Send, Pay and Delete. Leave it out if you want Codex to ask too.

Cursor

[Add to Cursor]

Or add it to ~/.cursor/mcp.json:

json
{  "mcpServers": {    "yab-browser": {      "command": "npx",      "args": ["-y", "yab-mcp"]    }  }}

VS Code

sh
code --add-mcp '{"name":"yab-browser","command":"npx","args":["-y","yab-mcp"]}'

Or in .vscode/mcp.json:

json
{  "servers": {    "yab-browser": {      "type": "stdio",      "command": "npx",      "args": ["-y", "yab-mcp"]    }  }}

Windsurf (Devin Desktop)

In ~/.config/devin/mcp_config.json (older Windsurf builds: ~/.codeium/windsurf/mcp_config.json):

json
{  "mcpServers": {    "yab-browser": {      "command": "npx",      "args": ["-y", "yab-mcp"]    }  }}

Claude Desktop

Download yab-mcp-<version>.mcpb from Releases and open it: Claude Desktop installs it as an extension. Or add this to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "yab-browser": {      "command": "npx",      "args": ["-y", "yab-mcp"]    }  }}

Any other client

The same mcpServers entry: command npx, arguments -y yab-mcp, over stdio.

Without Node

Point the client at the app itself. This is what Yab's Copy Config gives:

json
{  "mcpServers": {    "yab-browser": {      "command": "/Applications/yab.app/Contents/MacOS/yab",      "args": ["mcp"],      "env": { "YAB_CLI": "1" }    }  }}

What yab-mcp does

  1. It finds Yab: YAB_APP if set, then the app the yab command runs (~/.local/bin/yab), then yab.app in /Applications and ~/Applications, then Spotlight (mdfind, bundle id dev.serafim.fast).
  2. It runs yab.app/Contents/MacOS/yab mcp with YAB_CLI=1. Your client talks to Yab directly: stdin and stdout go straight through, signals are passed on, and the exit code comes back.
  3. Without Yab, or off a Mac, it serves a short built-in server instead. It lists Yab's tools from a snapshot and answers every call with how to get Yab.

It has no dependencies and makes no network requests of its own. npx yab-mcp --help says where it found Yab.

Tools

These come from a real tools/list of Yab, made by scripts/snapshot.mjs. The app you run is the final word: newer versions may list more.

Yab 0.0.18 lists 69 tools. Some appear only when you turn on what they need, as noted.

ToolWhat it does
devtools_commentsRead user-authored comments on elements of an already inspected, non-private tab.
devtools_consoleRead recorded Console messages from an already inspected, non-private tab.
devtools_networkRead sanitized request metadata recorded by the tab's Developer Tools.
devtools_traceRead the WebKit Performance recording's event names, durations and nesting.
devtools_stylesRead the currently selected element's matched and computed styles from Developer Tools.
native_contextRead Yab's own current settings, spaces, tabs, mail accounts, permissions and this task's native operations.
native_actionsList native Yab actions with their strict argument schemas, targetKind, undo support and permission requirements.
native_applyPerform a native Yab action explicitly requested by the user: settings, spaces, tabs, page fonts or connecting Gmail.
native_operationRead this task's native operation by operationId, or wait for a change up to seconds (0 to 10).
native_undoUndo a native change of this task by its changeId (or the last undoable change).
tabsList the tabs open in Yab, the user's web browser: the user's and the agents'.
openOpen a web page (URL) in a new agent tab in Yab, the user's browser, signed in to their sites, beside the user's tabs.
spacesList the user's spaces: sets of tabs, some signed in as someone else, with cookies of their own.
navigateSend an agent tab to a URL, or back, forward or reload.
snapshotRead a web page in a browser tab as an accessibility tree with ref ids.
clickClick an element by ref, as a real mouse click.
typeReplace the text in a field by ref (inputs, text areas, editors), or without ref, type into whatever has focus.
choosePick an option in a
pressPress keys on the focused element, as real key events.
hoverRest the pointer on an element, as a mouse would: menus that open on hover open.
dragDrag an element with the mouse: onto another element (to, its ref; the dragged one lands before it) or by dx, dy pixels.
dialogAnswer what the page asked with alert, confirm or prompt: accept (OK) or not (Cancel), and text for a prompt.
scrollScroll the page, or the box around an element by ref (lists marked scrolls), by dy pixels (negative is up).
runRun JavaScript that drives tabs with the same tools, several steps in one call.
textA tab's whole visible text, for reading articles and results.
screenshotA picture of a tab as it is now, for when the snapshot is not enough.
waitWait for a tab to finish loading, or until its text contains for.
evalRun JavaScript in an agent tab (isolated from the page's own scripts, same DOM) and return its value.
closeClose an agent tab.
showPut a tab in front of the user as one of theirs.
memory_searchSearch what you know about the user from earlier tasks, who they are, their accounts and sites, people, projects.
memory_readRead one memory page whole: USER (who the user is), MEMORY (how to work for them), TAXONOMY.
profileThe user's profile for forms: name, headline, company, role, location, linkedin, x, github, website, telegram.
form_answersAnswers the user typed into web forms, kept with nothing asked once the form went through.
rememberKeep something for later tasks.
historyThe user's browsing history.
watchWatch a thread for someone's reply: every two hours for days.
suggestHand the user what needs them, as quiet rows under a new tab's field.
boostsList saved site boosts, their sites, permissions and state.
boost_readRead the files of a saved boost or this task's trial before changing it.
skillsYab's skills: how particular sites work for an agent (Gmail, GitHub, LinkedIn, Amazon, …), a line each.
skillRead one skill whole, by name.
handoffAsk the user to take over a tab, sign in, pass a captcha, enter a code, and wait until they say they are done.
askAsk the user to pick: a question with up to four options (they may also write their own), shown at the foot of a tab.
sign_inSign in on this tab's page with a password Yab has saved for the site (the user may be asked first).
autofillFill a form on this tab with what Yab keeps for the user.
uploadGive the page files from this Mac (the user may be asked first).
downloadDownload a file: click ref (a download link or button), or fetch url with the tab's cookies.
pdfSave a tab's page as a PDF in the task's folder; returns the path.
fetchRead a URL with the user's cookies, no tab needed.
mail_triageThe user's mail as yab already sorted it on this Mac. Listed with a Gmail account connected in Yab (Settings › Mail).
mail_searchSearch all of the user's mail, of any age. Listed with a Gmail account connected in Yab (Settings › Mail).
mail_readA thread of the user's mail as text, oldest message first, with its labels by name, the files each message carries. Listed with a Gmail account connected in Yab (Settings › Mail).
mail_fileThe words of a file a thread of the user's mail carries. Listed with a Gmail account connected in Yab (Settings › Mail).
mail_draftWrite a reply in a thread (thread), a forward of a thread's last mail (thread, forward: true, to), or a new mail. Listed with a Gmail account connected in Yab (Settings › Mail).
mail_sendSend a mail that is in yab's mail page, only when the user asked for exactly that mail to go. Listed with a Gmail account connected in Yab (Settings › Mail).
mail_actTidy a thread of the user's mail, as they would in yab's mail page. Listed with a Gmail account connected in Yab (Settings › Mail).
mail_labelsThe user's own labels in their Gmail, and the list itself. Listed with a Gmail account connected in Yab (Settings › Mail).
mail_recallSearch all of the user's mail of the last 5 years, kept on this Mac, by what it says as well as its words. Listed when agents may search all your mail (Settings › Mail).
mail_codeRead the one-time code the tab's own site mailed to the user in the last minutes (default 10), from their Gmail. Listed when Yab may read sign-in codes from Gmail (Settings › Autofill).
messagesThe user's Messages (iMessage and texts): with no chat, their chats, most recent first, each with its last line. Listed when agents may use Messages (Settings › AI › Agents).
send_messageSend a message through Messages to a phone number or an address. Listed when agents may use Messages (Settings › AI › Agents).
messages_codeRead the latest one-time code from the user's Messages. Listed when agents may use Messages (Settings › AI › Agents).
nameName this task: once it has more than one tab they sit in a folder in the user's tab list.
taskHand a whole browser job to an agent Yab runs itself (Claude Code, or Codex), and wait for its answer.
task_statusWhat a task is doing now, and its answer when it is done.
task_stopStop a task.
task_steerRedirect a running task now: it reads this at its next step.
task_queueGive a task something to do after what it is doing now.

What leaves your Mac

  • This package: nothing. It reads a few files and asks Spotlight to find Yab, then starts it. npx downloads the package from the npm registry.
  • Between your agent and Yab: nothing leaves the Mac. yab mcp talks to the browser over a socket in Yab's folder that only your macOS user can open.
  • To your agent's model: what your agent reads with these tools, pages and, if you allow it, mail and messages, goes to the provider of the model your agent uses (Anthropic, OpenAI or another), under your account, as with anything else you give it. The task tool asks Yab to run Claude Code or Codex with your own plan, so the same applies there.
  • Yab itself: it checks yetanotherbrowser.com for updates, counts active days with a random installation ID (Settings › About › Share daily activity turns it off), and sends crash reports only if you say yes. Sync is off until you turn it on, and then end to end encrypted. Yab has no account, and no server of ours sees your browsing. Mail comes from Google straight to your Mac.
  • Websites get what any browser sends them.

Privacy Policy

Yab's privacy policy is at yetanotherbrowser.com/privacy. In short:

  • Collection: yab-mcp collects nothing. Yab keeps your tabs, history, passwords and mail on your Mac.
  • Use and storage: what Yab keeps stays in your user folder and the macOS keychain. Sync, if you turn it on, stores only end to end encrypted records.
  • Sharing: nobody at Yab gets your pages or mail. What an agent reads goes to that agent's provider, as above.
  • Retention: data on your Mac stays until you delete it. Sync data stays until you delete it in Settings › Sync. Yab's own records of updates and daily activity keep no IP address; the web host's request logs last a day at most.
  • Contact: [email protected], or Send Feedback in Yab.

Troubleshooting

  • "Agents are off in Yab": turn on Settings › AI › Agents › Let agents use Yab.
  • "Yab isn't installed on this Mac": install Yab, open it once, then restart the MCP server (in Claude Code: /mcp).
  • "The Yab that's running is older": quit Yab and open it again, so the running app matches the one on disk.
  • Yab lives somewhere else: set YAB_APP=/path/to/yab.app in the server's environment.

Development

sh
npm test                 # node --test, no dependenciesnpm run snapshot         # new src/tools.json and README tool list from the Yab on this Macnpm run pack:mcpb        # dist/yab-mcp-<version>.mcpb for Claude Desktopnpm run links            # the Cursor and VS Code install links

npm run snapshot sends Yab only initialize and tools/list, never a tool call. Releases and directory listings: PUBLISHING.md.

License

MIT, see LICENSE. Yab itself is free and closed source; this repository is its open part for agents.

来源:README.md,提交 3ac083b

工具

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

版本历史

3
  1. v0.2.1最新Oct 12, 2026
  2. v0.1.1Oct 10, 2026
  3. v0.1.0Oct 9, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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