brawsr

io.github.brawsr由 GitHub 帳號 brawsr 發布v0.2.0更新於 Oct 24, 2026

Browser sessions, checkpoints, rewind, fork, lineage, and lifecycle tools for brawsr.

已驗證STDIO僅桌面瀏覽器自動化開發者工具

概覽

AI 產生的概覽

針對 brawsr 瀏覽器工作階段的本地 MCP 橋接,讓助理建立、建立檢查點、回溯與分岔工作階段並檢視其譜系。

可以做什麼
建立、列出、檢視、標記與關閉瀏覽器工作階段,包含批次關閉及在可連線時取得 CDP URL。建立、取得、列出與刪除檢查點,並列出可回溯的檢查點。回溯工作階段,或將其分岔為獨立的子工作階段。檢視工作階段活動、譜系與分岔樹。查詢或等待長時間執行的操作。
適用情境
當你使用 brawsr 瀏覽器工作階段,並希望助理管理工作階段生命週期、建立檢查點、回復到先前狀態,或分岔工作階段以平行探索時適用。
執行需求
以 npm 套件形式透過 stdio 在本機執行,需要 Node.js 22 或更新版本。必須透過 BRAWSR_API_KEY 環境變數提供 brawsr API 金鑰。選用的 BRAWSR_BASE_URL 可覆寫內建正式端點,BRAWSR_MCP_TIMEOUT_MS 可設定預設操作等待時間。需要連線至 brawsr API 的網路存取。
安裝前請注意
此伺服器需要 BRAWSR_API_KEY 密鑰並與 brawsr API 通訊。工具會寫入與刪除資料:可關閉工作階段、變更標籤、刪除檢查點,回溯或分岔會改變瀏覽器狀態。回溯不會復原遠端網站上的副作用,並會使舊的 CDP 控制代碼失效。CDP URL 屬於敏感輸出;伺服器不代理 CDP,也從不傳回 Authorization 標頭。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 brawsr,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

brawsr MCP server

The authenticated local MCP bridge for brawsr browser sessions, checkpoints, rewind, and fork. It uses the official packaged @brawsr/sdk; it does not duplicate API models, poll orchestration, or browser/CDP behavior.

The v0.2 transport is local stdio and requires Node.js 22+.

Install and configure

MCP clients spawn the server locally. Pin the package version in client configuration so an MCP client restart cannot silently select a newer release:

json
{  "mcpServers": {    "brawsr": {      "command": "npx",      "args": ["-y", "@brawsr/[email protected]"],      "env": {        "BRAWSR_API_KEY": "your-brawsr-api-key"      }    }  }}

The npm package includes the official @brawsr/sdk; no second package install is required. BRAWSR_API_KEY is the only required environment variable. The production endpoint https://api.brawsr.io is built in.

For local development or another deployment, BRAWSR_BASE_URL may explicitly override that endpoint. BRAWSR_MCP_TIMEOUT_MS optionally changes the default bounded operation wait from 30 seconds and accepts an integer from 1 through 300000.

The API key is never a tool argument or result. Standard output is reserved for MCP protocol messages. Redacted lifecycle diagnostics use standard error. A direct shell launch uses the same executable:

bash
BRAWSR_API_KEY=... npx -y @brawsr/[email protected]

Tools

  • brawsr_create_session, brawsr_list_sessions, brawsr_get_session, brawsr_update_session_label, brawsr_close_session
  • brawsr_close_sessions
  • brawsr_create_checkpoint, brawsr_get_checkpoint, brawsr_list_checkpoints, brawsr_delete_checkpoint
  • brawsr_list_rewindable_checkpoints, brawsr_list_session_activity, brawsr_get_session_lineage
  • brawsr_rewind, brawsr_fork
  • brawsr_get_operation, brawsr_wait_operation

Session creation accepts an optional display_label. The same label can be changed or cleared with one brawsr_update_session_label call. Session lists are newest-first, bounded, and may include retained closed or expired sessions. brawsr_get_session includes a CDP URL only while the session is attachable.

brawsr_list_checkpoints is capture history: it can include deleted captures for audit and dashboard views. Use brawsr_list_rewindable_checkpoints when choosing a valid rewind or fork target. Lineage returns one session, its optional parent fork edge, and one bounded page of direct children; callers can follow child session IDs to browse a nested fork tree. Pagination cursors are opaque and may be passed back unchanged.

Checkpoint, rewind, and fork are one high-level tool call. The packaged SDK hides ordinary 202 polling. Rewind returns as soon as its result is CDP-usable; the operation may finish bounded post-restore work in the background. A timeout stops only local waiting and returns the operation/idempotency recovery fields; server work continues.

Fork children are independent peer sessions, not implicit winners or losers. There is no browser-state merge and no automatic sibling cleanup. Rewind restores browser/client state, not remote website side effects, and makes old CDP/browser handles stale. Long-lived WSS/SSE/WebRTC streams may need application-level reconnection.

CDP URLs are sensitive structured outputs. The MCP server never returns the Authorization header. Use the ordinary SDK or a supported framework to attach; the MCP server does not proxy CDP.

Remote Streamable HTTP, OAuth, hosted multi-tenancy, legacy HTTP+SSE, and resumable MCP sessions are deferred beyond the local v0.2 stdio boundary.

Development

bash
npm cinpm run verify

Release archives are built reproducibly with the pinned Node 24 and npm 11.5.1 toolchain. CI also exercises the server and its real MCP client boundary on Node 22 and Node 24. npm hosts the executable package; the official MCP Registry hosts discovery metadata for io.github.brawsr/brawsr.

來源:README.md,提交 c6aa3a6

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分