Newton Browser

io.github.Koala-Studios由 GitHub 账号 Koala-Studios 发布v0.4.1更新于 Oct 25, 2026

Local-only Chrome and Edge control for MCP clients through an origin-scoped extension.

概览

AI 生成的概览

本地 MCP 服务器,可启动隔离的 Chrome 或 Edge 会话,让助手观察页面、操作控件、读取文档并截图。

可以做什么
启动、列出和停止隔离的浏览器会话,并在页面和标签页之间切换,弹窗会作为会话页面附加。观察页面以获得带引用的有限控件,或在记录模式下读取链接、表格和表单。执行单个或一组类型化操作,并返回包含派发与后置状态的回执。通过续读游标读取页面文本,并截取屏蔽敏感字段的截图。在启用记录时查看控制台输出和网络活动,并可发现或设置已有的浏览器。
适用场景
适合助手需要驱动本地真实 Chrome 或 Edge 完成网页任务、表单交互、页面阅读或视觉检查的场景,且每个会话与用户日常配置隔离。适用于本地 stdio MCP 客户端能够启动浏览器进程的桌面环境。
运行要求
以本地 stdio 进程在用户机器上运行。需要 Node.js 24 或更高版本、当前版本的本地 Chrome 或 Edge,以及支持所述协议版本、本地 stdio 服务器和图像内容的 MCP 客户端。未声明 API 密钥或账号;可选设置用于选择默认浏览器和共享登录源。
安装前请注意
这是未发布的开发检查点,尚未完成真实环境验收,也没有 npm 或浏览器商店发布版本。默认情况下浏览器流量使用普通 Chromium 网络,没有代理、来源白名单或请求过滤。控制台和网络记录需主动开启,因为页面可感知。导入配置文件会复制含认证信息的文件,浏览器加密可能使其无法使用。页面内容被视为不可信数据。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Newton Browser

Newton Browser is a local MCP browser-control product for agents. Each session launches an isolated Chrome or Edge process and controls it through inherited private CDP pipes. By default browser traffic uses Chromium's normal networking with no Newton proxy, origin allowlist, request interception, or resource filtering.

The default runtime requires no browser extension, relay, daemon, debug TCP port, database, telemetry, hosted service, or model-provider integration.

Status

The default source runtime now uses the replacement shared engine, with isolated workers from a shared Newton login source and an optional thin existing-browser adapter. Native actions, precise editing, contextual controls, records/documents, screenshots, tab ownership and update foundations are implemented. This is an unreleased development checkpoint, not completed real-world acceptance.

The legacy direct runtime is retired (2026-09-25): the session engine is the only action, receipt and ref authority. Build, typecheck, boundary lint and the full suite pass. Feedback/reading refinements, platform and authenticated task QA, and three unchanged packed release gates remain open. See the current progress ledger, remaining roadmap and consolidation record.

Version 0.7.2 is published as a GitHub prerelease tarball verified on macOS Chrome; Windows and Linux receipts for it remain open. No npm or browser-store release exists.

Newton implements only stateless MCP 2026-07-28 over newline-delimited stdio JSON. Clients send protocol version and capabilities in every request. Newton exposes no legacy handshake or framing mode.

Requirements

  • Node.js 24 or newer.
  • A current local Chrome or Edge installation.
  • An MCP client that supports MCP 2026-07-28, local stdio servers, and image content.

Build and connect

powershell
pnpm install --frozen-lockfilepnpm buildnode apps/mcp-server/dist/index.js doctor --live

That is enough for ephemeral sessions: Newton discovers Chrome or Edge and creates a fresh isolated identity per session. Optional setup only selects a default browser:

powershell
node apps/mcp-server/dist/index.js setup --browser chrome

Every owned session is an isolated copy of a shared login source (default unless the session names another). To sign in once for later sessions, open the source's visible browser, sign in personally, and confirm:

powershell
node apps/mcp-server/dist/index.js source login --id default --browser chrome

Newton never asks an agent to enter or retrieve credentials. The published sign-in becomes the source's next generation; running sessions keep their own copies, and nothing a session does is merged back.

MCP configuration

json
{  "mcpServers": {    "newton-browser": {      "command": "node",      "args": ["C:\\absolute\\path\\newton-browser\\apps\\mcp-server\\dist\\index.js"]    }  }}

The local installer can update Codex configuration or print a generic entry:

powershell
node apps/mcp-server/dist/index.js install codex --dry-runnode apps/mcp-server/dist/index.js install generic

Codex installation enables Codex's mcp_2026_07_28 feature, pins CODEX_MCP_PROTOCOL_VERSION=2026-07-28, and verifies the exact candidate's live stateless discovery, self-reported package version, and required browser-tool catalog before atomically replacing its configuration. The resulting entrypoint/version pair is pinned; incompatible or stale candidates cannot displace a working install.

Agent workflow

Tools (tools/list is authoritative): browser.session.start, browser.observe, browser.act, browser.command, browser.document.read, browser.document.continue, browser.screenshot, browser.console, browser.network, browser.pages.list, browser.page.select, browser.sessions.list, browser.session.stop, and the operator-selected existing-browser tools browser.existing.discover and browser.existing.setup.

A normal loop:

  1. browser.session.start with a complete URL returns the session, its first page and nextCommandId.
  2. browser.observe returns bounded controls with refs; records mode reads links, tables and forms; browser.document.read reads text with a continuation cursor.
  3. browser.act performs one typed action or a sequence and returns a receipt: dispatch, postcondition, and the next state when it changed. Reuse a commandId only for the identical command; after an uncertain receipt, reconcile with browser.command rather than replaying.
  4. browser.session.stop ends the session independently of its queue.

Popups and new tabs are attached as session pages without changing the selected page; browser.pages.list and browser.page.select move between them. A hung renderer is reopened on the same page and the receipt says so. Console and network recording is opt-in because enabling it is visible to pages.

Identities and opaque profile import

Identities are the store's opaque browser profiles; login sources and session copies are built on them. Operator utilities:

powershell
newton-browser identity create --browser chromenewton-browser identity listnewton-browser identity lease-inspect --id nbi_<opaque-id>newton-browser identity lease-recover --id nbi_<opaque-id>newton-browser identity delete --id nbi_<opaque-id>newton-browser identity import --browser chrome `  --user-data-root "C:\path\to\User Data" `  --profile-directory Default

Import byte-copies a narrow allowlist of authentication-bearing files from a closed, stable local profile and never modifies the source. Passwords, autofill, history, downloads, extensions, sessions, service workers, and caches are excluded. Browser encryption may prevent copied authentication from remaining usable; Newton does not bypass that protection.

Security boundary

  • Browsers run on inherited private CDP pipes: no debug port, relay or extension in owned mode.
  • A hosting process can restrict owned browsers to public internet addresses (NEWTON_BROWSER_EGRESS=public); otherwise networking is ordinary Chromium networking.
  • Page content is untrusted data; it cannot authorize effects or select local files.
  • Screenshots mask password and sensitive-autocomplete fields across frames and shadow roots, plus any explicit sensitive zones.
  • Network response bodies are available only as bounded text from the page's own origin; headers are never kept.

See Security, Privacy, and MCP clients.

Development and release

powershell
pnpm buildpnpm lintpnpm typecheckpnpm testpnpm evalpnpm eval:agent-costpnpm pack:checkpnpm eval:real-sitespnpm release:check

Run pnpm eval:real-sites once per required browser/platform. Release then requires pnpm release:check to pass from the exact packed candidate three consecutive times on Windows and Linux with no skipped critical tests, plus the pinned Linux Chrome for Testing matrix and matching cross-platform tarball hashes.

Repository layout

text
apps/mcp-server/      stateless stdio MCP host and owned-browser runtimepackages/core/        schemas, redaction, provenance, and safety policypackages/driver/      strict TypeScript CDP driverscripts/              builds, release checks, and live harnessesskills/newton-browser agent operating guidancetest/                 fixtures, regressions, and bounded evidence

License

The source is licensed under the MIT License. Publishing or distributing a Newton Browser release remains a separate maintainer-controlled action.

来源:README.md,提交 e2cb84f

工具

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

版本历史

1
  1. v0.4.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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