Rocketwright MCP Server
Drive a real Chrome live, record a flow once, replay it in milliseconds without an LLM.
Rocketwright scores 68 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 30 tools. Filed under AI and memory. GitHub shows 2 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "soflutionltd-rocketwright": { "command": "npx", "args": [ "-y", "https://github.com/Soflutionltd/rocketwright/releases/download/v2.11.0/rocketwright.mcpb" ] } }}
Environment variables
This server does not declare environment variables.
Tools30Tool docs quality grade C
All capabilitiesfl_acttoolRun many actions in one call: click, dblclick, hover, drag (to toRef, toSelector or toText), fill, type, select, check, press, upload, download, goto, back, wait, scroll, mouse, dialog, resize, eval, request. within: "my-token" picks the ma
fl_adopttoolTake control of a tab you already opened yourself, for example right after signing in by hand, found by its number (tab 47, on the extension's icon), by part of its address, by its name or by the #id fltabs all:true lists. In your own brows
Store a secret a site shows once (a new GitHub, Cloudflare, Stripe, npm, OpenAI, Anthropic or Resend token) from your open tab straight into a vault (mcphub:NAME or 1password:Vault/Title). The agent only gets its kind, length and public pre
fl_consoletoolConsole errors and uncaught exceptions of a tab (level: "all" adds warnings and logs). flact says when new ones appear.
fl_desktoptoolSnapshot a native desktop app (Finder, Mail, Preview, Notes...) with [dN] refs, through the OS accessibility tree. Browsers, password managers, terminals, code editors and system settings are refused. Without app, lists running apps. See De
fl_desktop_acttoolRun many actions on a desktop app in one call: click, dblclick, rightclick, fill, type, clear, press, select, check, uncheck, toggle, expand, collapse, focus, scroll, get, wait, launch, quit. Recorded like browser actions.
fl_downloadstoolThe latest downloads of your browsers: where each file is on your computer, size, type, date, the address it came from and whether it finished, with each profile's download folder (and where its latest file really went), plus the files Rock
fl_emulatetoolMake a tab look like a phone or tablet (device: "iPhone 15", or width, height and mobile), with another user agent, position, language, time zone, color scheme, or offline. Back to normal with reset, flrelease or flclose. In your own browse
fl_extensiontoolBrowsers Rocketwright can drive: the dedicated one and every connected user browser, by name.
fl_extracttoolRun JavaScript in the page and return the result. frame (f1, or part of its address) runs it in an embedded frame instead, even one of another site the page cannot read. Code without return is read as an expression, and a result of nothing
fl_flow_exporttoolA recorded flow as a Playwright Test file (.spec.ts) for your project's test suite: it runs with npx playwright test in Chromium, Firefox and WebKit. Variables come from FLOW<NAME> environment variables, a sign-in step from LOGINUSERNAME an
fl_flow_set_vartoolTurn a recorded value into a {{variable}}, for flows taught by demonstration.
About
Why
A browser MCP server usually has the model do everything, every time: read the page, pick one element, click, read the page again. Each click is a tool call, and each tool call is a model turn that costs seconds. Do the same task tomorrow and the agent pays the full price again.
Rocketwright treats the browser like a JIT compiler treats code:
- Live, the agent drives the page, but batches a whole sequence of actions into one call and gets back a compact snapshot with clickable refs.
- Record, the same calls are captured with multi-clue element fingerprints and
{{variables}}. - Replay, the flow runs at browser speed with no model between steps. When a site changes, the run stops at the exact failing step and hands the page back so the agent repairs only that part.
- API replay, Rocketwright sees the site's own fetch/XHR calls and can replay them from inside the page, with the same cookies and session. No rendering, no clicking. When a recorded flow ends on a single write request, Rocketwright finds it by itself, ties each flow variable to the place of the request that carried its value, and
fl_run(direct: true)sends that request alone.
Is it for you?
- Yes, if you use an AI agent that speaks MCP and runs on your computer (Claude Desktop, Claude Code, Cursor, or any client that can start a local program or call a local HTTP server) and you want it to work in a real browser: your own, with the sessions you are signed in to (through the extension), or a separate browser kept for the agent. It helps most with a task you repeat: recorded once, it is replayed without a model.
- Probably not, if you want a browser hosted in the cloud, an agent that plans by itself (Rocketwright is a set of tools; the agent you connect does the thinking), or a way past CAPTCHAs and bot detection (it has none). If you only need an agent to click through a page now and then, Playwright MCP (Microsoft) and Chrome DevTools MCP (Google) do that. To write a cross-browser test suite, write Playwright tests directly;
fl_flow_exportonly turns a recorded flow into one. - Where it runs. On your computer, with Node.js 20 or later. macOS is where every feature works. On Linux the extension pairs by itself and browser profiles are recognised by name, but Rocketwright does not open a browser or a profile for you, and the dedicated browser must be named with
ROCKETWRIGHT_CHROMEor already listen onROCKETWRIGHT_CDP_URL. On Windows the extension is paired by pasting a token and profiles are not recognised by name. The test suite runs on Linux in CI; nothing is tested on Windows there. - Which browsers. Chromium-based ones only: Chrome, Edge, Brave, Arc, Vivaldi, Opera (version 125 or later for the extension). Not Firefox, not Safari.
- Which assistants. Those that run on your computer. claude.ai in a web browser and the mobile apps cannot start a program on your computer. The HTTP mode can be reached from another machine only if you expose it yourself; that setup is not tested here.
Before you install
- License. MIT (LICENSE).
- What an agent can do with it. In a browser where the extension is installed, the agent acts as you. It opens pages with your signed-in sessions, reads them, clicks and types, runs JavaScript in them (
eval,fl_extract), sees the site's API calls with their bodies (fl_network), downloads files, and can upload a file of your computer to a site (any file your account can read, except Rocketwright's own). By default it may also take over a tab you already have open: password manager sites are excluded from the start, and you add your bank or turn this off in the extension settings (Browser extension). Rocketwright does not judge whether an action is wise, and a web page can contain text written to mislead an agent.ROCKETWRIGHT_ALLOWED_DOMAINSkeeps the agent on the sites you list (Allowed sites). - Passwords.
fl_loginfills the passwords saved in your browser or your password manager, by default without asking you each time (Ask me before each fill is off until you turn it on in the extension settings). The agent is not given the password, but it ends up signed in to the account.ROCKETWRIGHT_PASSWORDS=offremoves the tool (Sign in). - What it installs and changes on your computer (Uninstall removes each of them):
~/.rocketwright: a token, recorded flows, logs, and in launch mode a browser profile;- a native messaging host named
com.soflution.flintrail, written into theNativeMessagingHostsfolder of every Chromium browser found for your account (macOS and Linux), so the extension can pair without a token to copy; - a small relay process listening on
127.0.0.1:8932, started with Rocketwright and gone 10 minutes after the last one; - its own updates, in
~/.soflution/mcp/rocketwright; - files the agent downloads or produces (PDF, traces, videos), in
~/Downloads/Rocketwright; - in attach mode on macOS, it may quit and restart Chrome for Testing (never another browser) to open a debugging port on
127.0.0.1:9222; - only when you run
--separate-profileyourself: a copy of a browser profile, a launcher in~/Applications, and a renamed original profile.
- It does not install a browser. The extension drives the browsers you already have. The dedicated browser of the default
attachmode is a Chrome for Testing that you install;launchmode needs a Chromium that Playwright can find (Browser modes). - It updates itself from npm, unless you turn that off (Automatic updates). The extension installed from the Chrome Web Store is updated by the browser.
- One maintainer, a young project, no outside audit. The first release is from 26 October 2026 and releases are frequent (CHANGELOG.md). No audit report by an outside security firm has been published. What Rocketwright protects and what it does not is written in SECURITY.md, and the benchmark below was run by the author.
Install
The shortest path: add Rocketwright to your agent, then install the extension in the browser you use.
1. Add Rocketwright to your agent.
Claude Desktop: download rocketwright.mcpb and double-click it.
Claude Code: claude mcp add rocketwright -- npx -y rocketwright@latest
Cursor, Claude Desktop by hand, or any other client that starts MCP servers over stdio:
{
"mcpServers": {
"rocketwright": {
"command": "npx",
"args": ["-y", "rocketwright@latest"]
}
}
}
2. Install the extension from the Chrome Web Store in the browser and profile you use (Chrome, Edge, Brave, Arc). Open its popup and click Connect once: the browser asks to allow native messaging, and the extension then pairs with Rocketwright by itself (macOS and Linux). On Windows, paste the token from ~/.rocketwright/token in the popup instead. Details, and loading it without the store, are in Browser extension.
3. Ask the agent to open a page in that browser. fl_extension lists the browsers it can drive.
Without the extension, Rocketwright drives a dedicated browser that you provide: see Browser modes.
From a local clone (git clone https://github.com/Soflutionltd/rocketwright.git && cd rocketwright && npm install && npm run build), start node /absolute/path/to/rocketwright/bin/supervise.cjs.
Automatic updates
Started through npx, the .mcpb bundle or bin/supervise.cjs, Rocketwright keeps itself up to date without restarting Claude or Cursor. The MCP client talks to a small supervisor (bin/supervise.cjs) that stays connected while the server runs behind it. About ten seconds after start-up and every 6 hours it asks npm for the latest rocketwright, installs it in the background with npm install in ~/.soflution/mcp/rocketwright/<version>, and switches over as soon as no request is in flight (the client is told the tool list may have changed). A version that fails to start is rolled back at once and never picked again on that machine. npm checks the integrity of every download, and releases are published from GitHub Actions with provenance; the supervisor itself does not verify that provenance.
That means a new release reaches your machine within hours of being published, with nobody reviewing it in between. To decide yourself when to update, set NO_UPDATE_NOTIFIER=1 (or SOFLUTION_AUTO_UPDATE=0) and pin a version in the configuration (rocketwright@2.8.0 instead of rocketwright@latest). Updates are also off when the CI variable is set.
The only network call is that version check to registry.npmjs.org (then the download of the package when there is a new version); nothing about your machine or your use is sent. Started directly with node dist/cli.js, Rocketwright does not update itself: it makes the same version check once and mentions a newer version in its first tool result. The HTTP mode below does not check at all.
Any agent, any machine (HTTP)
node dist/cli.js --http --host 127.0.0.1 --port 8931
# token is generated once in ~/.rocketwright/token (or pass --token / ROCKETWRIGHT_TOKEN)
Clients connect to http://host:8931/mcp with Authorization: Bearer <token>. Put it behind a tunnel or reverse proxy with TLS if it leaves the machine: anyone holding that token drives the browser.
Your data
- Nothing is sent to Soflution, and there is no telemetry. Rocketwright talks to the agent that started it, to the browser, and to the sites the agent visits.
- The network calls it makes on its own: the version check to
registry.npmjs.organd the download of a new version (Automatic updates). Everything else is local: the relay on127.0.0.1:8932, the debugging port of the dedicated browser on127.0.0.1:9222, the HTTP mode on the address you give it. - What goes to the agent, and so to the company that runs its model: what the tools return. That is the text and elements of the pages it reads, screenshots, console messages, the site's API calls with their bodies, and the origin and title of your open tabs when it lists them (
fl_tabs all:true, never the full address). Passwords and codes Rocketwright filled, and values that look like credentials, are masked in those results. The masking is a guard against accidents, not a guarantee (SECURITY.md). - What it reads on your computer besides web pages: each Chromium browser's
Local Statefile (profile names) and, per profile, its preferences and the Rocketwright extension's own storage, to name browsers and to say why an extension is not connected. A password manager's command-line program when you configured one. Your webmail tab, whenfl_mail_codeorfl_mail_linklooks for one e-mail from one sender. Files the agent uploads. With the desktop tools, the accessibility tree of the app it is asked to drive. - What it stores, all in
~/.rocketwright(orROCKETWRIGHT_HOME):
| File | What it holds |
|---|---|
token | The secret shared by the relay, the extension and the HTTP mode. Readable by you only. |
flows/*.json | Recorded flows, in clear: addresses, element fingerprints, the values typed (never a password field or a one-time code), and for some flows one API request (Security). |
sessions/ | Cookies and local storage saved by fl_session from the dedicated browser. Readable by you only. Anyone who gets these files is signed in as you on those sites. |
profile/ | The browser profile of launch mode, with its cookies. |
fill-audit.log | One line per password fill, secret capture or paste: when, which browser, which site, which saved login or vault name, how it was approved. Never the value. |
browsers.json | The names given to your browsers. |
relay.log, native-host.log | Diagnostics of the relay and of the pairing host. |
native-host | The script the browsers start for pairing. |
- In the extension (the browser's extension storage, on your computer): its settings, the relay port and token, the names of the browser, windows and tabs, and the history of fills.
- In
~/Downloads/Rocketwright(orROCKETWRIGHT_DOWNLOADS): downloaded files, PDFs, traces and videos. A trace or a video shows what was on screen. - Secrets captured by
fl_capture_secretgo to the vault you name (the McpHub vault or 1Password), not to Rocketwright's files.
Uninstall
Remove the server from each agent first, so nothing starts it again:
claude mcp remove rocketwright # Claude Code
In Claude Desktop, remove the extension in Settings > Extensions (or the rocketwright entry of claude_desktop_config.json). In Cursor and other clients, remove the rocketwright entry of their MCP settings file.
Remove the browser extension in each browser and profile where you installed it (chrome://extensions, brave://extensions, edge://extensions).
Then delete what Rocketwright wrote (macOS):
pkill -f 'cli.js --relay' # the shared relay, if it is still running (it also exits by itself after 10 minutes)
rm -rf ~/.rocketwright # token, flows, saved sessions, logs, launch-mode profile
rm -f ~/.flintrail # the link an install from before the rename left
rm -rf ~/.soflution/mcp/rocketwright # downloaded updates
rm -rf ~/Downloads/Rocketwright # downloads, PDFs, traces and videos, if you do not want to keep them
# the pairing host, in every Chromium browser of your account:
find ~/Library/Application\ Support -name com.soflution.flintrail.json -path '*NativeMessagingHosts*' -delete
On Linux the pairing host files are under ~/.config (find ~/.config -name com.soflution.flintrail.json -path '*NativeMessagingHosts*' -delete).
npx keeps a copy of the package in npm's cache (~/.npm/_npx); npm cache clean --force empties it.
If you ran --separate-profile: the copied profile is in ~/Library/Application Support/Rocketwright/Browsers/<brand>/<name> and its launcher in ~/Applications. That copy is a full browser profile with your sign-ins: move back what you need before deleting it. The original profile, renamed <name> (old), is still in the browser, with a backup of Local State next to the original file (Local State.rocketwright-<date>).
Chrome for Testing, when you installed one for the dedicated browser, is yours to remove.
Known limits
- Chromium-based browsers only. Firefox and Safari are not driven.
- Several features exist on macOS only: finding and starting the dedicated browser by itself, opening a closed browser profile,
--separate-profile. Automatic pairing is for macOS and Linux. Windows is not tested in CI. - Rocketwright does not install a browser: the default
attachmode fails with a clear message until a Chrome for Testing is there, while the extension works without it. - While a tab is driven through the extension, the browser shows its "started debugging this browser" bar in every window of that browser. The extension cannot hide it.
- Extensions cannot use browser-level CDP: download folder, permissions and window size behave differently in extension mode, and Chrome keeps time zone and language emulation from extensions (Teach by demonstration).
- Another extension (a password manager's autofill menu) can make the browser stop Rocketwright from driving a tab;
fl_reopenworks around it. - A replay stops when a site changed too much for the recorded fingerprints; the agent then repairs the flow. Direct API replay is kept for a narrow kind of flow only (Security).
- One-time codes sent by SMS or a phone prompt, Apple Passwords, CAPTCHAs: the agent asks you.
- The password manager sources and the desktop tools are tested against stand-ins of those programs (
test/fake-*.mjs), not against the real ones. - Secret masking is pattern-based. It hides what Rocketwright filled and values in known formats; it cannot promise that an agent never sees a secret a page displays.
- The separation between conversations keeps agents out of each other's way; it is not a security boundary.
- The benchmark numbers were measured by the author, on local pages, and none was reproduced by a third party. The first chart dates from 26 October 2026 and has not been run again on later versions.
- The extension and the server are released separately (Chrome Web Store review, npm): for a while one can be newer than the other.
fl_extensionflags an outdated extension.
Benchmark
All numbers in this section were measured by the author on one machine, with headless Chromium and pages served locally. They are tool-side wall time: they do not include the model's own time, which dominates a real session. The harness is in bench/, with the raw results (bench/results.json, bench/tasks-results.json).
Same 5-step task (fill a field, tick a box, change page, click a client-rendered button that calls an API, wait for the result), median of 10 runs, headless Chromium, 26 October 2026, with the version of that day (then called Flintrail) against Playwright MCP 0.0.83. The numbers are tool-side wall time only. In a real agent every tool call also costs a model turn, so going from 7 calls to 2 saves several more seconds on top.
The hatched bar is the floor: the same clicks as a raw Playwright script, with no MCP and no agent. Any tool that clicks through the UI is bounded by it, which is why the per-call ratios stay modest. Rocketwright adds about 50 ms per call on top of that floor, Playwright MCP about 260 ms. The only way under the floor is to stop clicking, which is what API replay does.
Reproduce it: npm run bench (installs nothing global; Playwright MCP is a dependency of bench/ only, now pinned to 0.0.86, so today's numbers will differ from the chart).
Four everyday tasks
Signing in with a password manager and a one-time code, creating a GitHub-style fine-grained token, creating a Cloudflare-style token with three permission rows, and filling a 30-field form, on local copies of those pages that check what they receive. Median of 5 runs, headless Chromium, 25 November 2026. Each tool is scripted the way that suits it best: CSS selectors and one browser_fill_form for Playwright MCP, a snapshot then one fill_form for Chrome DevTools MCP, one fl_act batch for Rocketwright.
| Task | Playwright MCP 0.0.86 | Chrome DevTools MCP 1.14.0 | Rocketwright |
|---|---|---|---|
| Sign in (password manager + code) | 1,100 ms · 4 calls | 668 ms · 5 calls | 221 ms · 4 calls |
| GitHub-style token | 1,668 ms · 5 calls | 1,045 ms · 7 calls | 429 ms · 3 calls |
| Cloudflare-style token | 2,682 ms · 7 calls | 1,869 ms · 12 calls | 712 ms · 3 calls |
| 30-field form | 1,300 ms · 4 calls | 1,662 ms · 5 calls | 1,112 ms · 3 calls |
Every tool succeeded 5 times out of 5 on every task. Each call is one more model turn in real use, which costs seconds on top of these numbers. Rocketwright's counts include opening and closing its own tab. What the table does not show: with Playwright MCP and Chrome DevTools MCP the agent has to be given the password and the code, and it reads the new token in the page; with Rocketwright the password and code come from the password manager, a token in a known format (GitHub, Cloudflare, Stripe…) is masked in every result, and fl_capture_secret stores it without returning it to the agent. Claude in Chrome is left out: it runs through its extension and claude.ai, and cannot be scripted.
Reproduce it: npm run bench:tasks (the pages are in bench/task-site.mjs, the script in bench/tasks.mjs).
Architecture
Browser modes
| Mode | When | How |
|---|---|---|
attach (default) | Your desktop. A browser kept for the agent, which stays signed in between runs. | Connects over CDP to a dedicated Chrome for Testing that you install. On macOS Rocketwright finds it, restarts it with a local debugging port if needed (tabs are restored) and opens its own tabs in the background. Elsewhere, set ROCKETWRIGHT_CHROME, or start the browser yourself with a debugging port. |
launch | Servers, CI, Docker. | ROCKETWRIGHT_MODE=launch starts Chromium with a persistent profile in ~/.rocketwright/profile, headless by default. It needs Playwright's Chromium (npx playwright-core install chromium) or a browser named with ROCKETWRIGHT_CHROME. |
extension | Any Chromium browser, no debugging port, nothing else to install. | ROCKETWRIGHT_MODE=extension: no dedicated browser, only the user's browsers through the extension. See below. |
In every mode, the browsers where the Rocketwright extension is installed are also reachable, several at once: fl_open takes browser: "brave", "chrome", "edge"... (fl_extension lists them), and without it uses the dedicated browser ("agent"). Several agents (one Rocketwright per conversation) can drive them at the same time.
Rocketwright does not install Chrome for Testing. On macOS it looks for one in /Applications, ~/.cache/puppeteer/chrome and ~/chrome; one way to get it is npx @puppeteer/browsers install chrome@stable, then ROCKETWRIGHT_CHROME set to the path that command prints. Until one is found, calls to the dedicated browser fail with a message that says so, and the browsers connected through the extension keep working.
In attach mode Rocketwright refuses to attach to a personal browser (Brave, Edge, Opera, or on macOS anything that is not Chrome for Testing) unless ROCKETWRIGHT_ALLOW_ANY_BROWSER=1: your everyday browser is only ever driven through the extension. To drive a regular Chrome instead (for example so a password manager can connect to it), start it with its own --user-data-dir and set ROCKETWRIGHT_DEDICATED_PROFILE to that same path: only a browser running that profile is accepted.
Browser extension
The extension is the easiest way in: no command-line flags, no debugging port, works in Chrome, Edge, Brave, Arc or any Chromium 125+. It asks for the debugger, tabs, storage, alarms and webNavigation permissions, for nativeMessaging (at the first Connect in the store version) and for access to every site, since the agent can be asked to work on any of them.
- Install from the Chrome Web Store (works in Chrome, Edge, Brave and Arc). Or load it without the store: open
chrome://extensions, enable Developer mode, click Load unpacked and pick theextensionfolder of a clone of this repository, or of the installed package (when a browser's extension is not connected, the message offl_opennames that folder). - Run Rocketwright, for example in Claude Desktop (any mode works;
extensionif you have no dedicated browser):{ "mcpServers": { "rocketwright": { "command": "npx", "args": ["-y", "rocketwright@latest"], "env": { "ROCKETWRIGHT_MODE": "extension" } } } } - Connect. Installed from the store, open the popup and click Connect once: the browser asks to allow native messaging (the store version asks for that permission only then). Loaded unpacked, there is nothing to click. The extension then pairs with Rocketwright by itself and reconnects whenever both are running. Ask the agent to "open this in Brave" and it drives Brave.
Pairing
At startup Rocketwright registers a native messaging host (com.soflution.flintrail) in every Chromium browser installed for your user account (macOS and Linux). The browser lets only the Rocketwright extension start it, and it hands the extension the relay token, so you never copy it. On Windows, or with ROCKETWRIGHT_PAIRING=off, paste the token from ~/.rocketwright/token in the extension popup instead.
How it works
The first Rocketwright that needs it starts a small relay process on 127.0.0.1:8932, shared by every Rocketwright on the computer (one per conversation in Claude Desktop, Cursor...). It belongs to no conversation, so closing one never cuts the others off, and it exits by itself 10 minutes after the last Rocketwright left. Each extension connects to it and executes CDP commands with chrome.debugger, one tab at a time. Each Rocketwright gets its own CDP endpoint per browser: Playwright sees an ordinary CDP browser, so every tool, recording and replay works unchanged, and each agent only sees the tabs it opened itself, or a tab it took over with fl_adopt: one you shared with Share with agent, or, unless you turned it off, any tab you have open (the first agent to adopt it gets it, and a tab another conversation drives is never taken). The native messaging host kept the name it had before the project was renamed, so that an extension and a server of different versions still find each other.
Your open tabs
In the extension settings (the gear at the top of the popup, section Your open tabs), Agents may take over a tab I have open is on by default. Turn it off to require Share with agent first. Sites in Never these sites are never taken over: password manager vaults are listed from the start, add your banks. Only you can change these settings, in the extension; no Rocketwright tool can.
Several browsers or profiles
Each connected browser is named after its browser profile, e.g. brave-work for the Brave profile called "Work", and agents can simply say browser: "Work". Rocketwright reads the profile names from the browser's Local State file and finds which profile an extension runs in from the extension's own storage (read only, nothing else). A name typed in the popup (Name of this browser) wins over the profile name; without either, browsers are called after their brand (brave, chrome), with a short suffix when two of the same brand are open. fl_extension with tabs: true lists the windows and sites open in each browser (origin and title, never the full URL), so an agent can find the profile where an account is signed in.
Windows of a browser
Every window has a short number, the smallest that no open window has (W1, W2), kept while it is open, kept when it is renamed and given back after the browser restarts, and a name, its browser profile's and its number (Antoine 1, Antoine 2; its id until the profile is known), that you change in the popup (This window, which shows both): a window's sites change, so its name does not follow them. Every tab also has a number of its own (tab 47), unique across all your browsers and kept while it is open; the extension's icon shows the number of the tab you are on, its tooltip and the popup the whole address (Antoine › Window 1 › Tab 47), and fl_adopt with number takes that tab (with browser and window checked against where it is). fl_tabs with all: true lists them, and fl_open and fl_adopt say where the tab is: Where: brave-work, window 1 "Invoices" (id W1), tab 47 "Github" (3 from the left) (its number, name and place counted from the left). Tell your agent "work in window 1": fl_open takes window: "W1" (or the name) once, and that conversation then stays in that window, taking over a tab of the site there or opening one more, until the window is closed. One task stays in one window: newWindow: true opens a window only once per conversation, and never while the site is already open in a window (the tab goes there, and the answer says so; evenIfSiteOpen forces a new window).
Several conversations at once
Launched by your agent app (one Rocketwright per conversation) or over HTTP (one MCP session each), conversations are already apart, and each is named by the MCP protocol alone: the app's name (clientInfo) and its project folder (roots/list). Behind a hub that runs one Rocketwright for all your agents, the hub says which conversation each tool call comes from, in the call's _meta: com.soflution.mcphub/session ({ "id": "...", "client": "claude-code" }, any hub may send it; McpHub, by the same publisher, does), else the project folder in com.soflution.mcphub/roots (a roots/list answer). A conversation sees and drives its own tabs only: another one's tab is refused, with the name of the conversation it belongs to. The agent names its task (fl_open with task: "Entra sign-in"), and the popup lists Who drives what: for each driven tab, the conversation (Claude Code · my-project: Entra sign-in), the window, the tab's place from the left and the site; a click goes to the tab. A recording (fl_record_start) and the captured requests (fl_network) belong to the conversation that made them. A tab stays with its conversation while it works: another one that asks for it by id (fl_adopt) gets it only once that conversation has released it or been quiet for 5 minutes (ROCKETWRIGHT_ORPHAN_MS), which is how a conversation whose agent restarted finds its tabs again. This keeps agents out of each other's way; it is not a security boundary, since the caller states who it is.
Behind a hub
A hub that runs one Rocketwright for every agent can do three more things for it, each offered in the experimental capabilities of its initialize (McpHub's keys; any hub may speak them, and without them Rocketwright works as described above):
- It keeps Rocketwright alive while tabs are driven (
com.soflution.mcphub/state). Rocketwright sendsnotifications/com.soflution.mcphub/statewithholdsState: trueat its first driven tab andfalsewhen the last one is gone, so a hub that stops idle servers does not stop it, and lose every conversation's tabs, in between. - It says when a conversation has ended (
com.soflution.mcphub/session, which Rocketwright asks for in its own capabilities). Onnotifications/com.soflution.mcphub/session/closed, that conversation's tabs are let go at once: those Rocketwright opened are closed, those of yours are given back, instead of staying held for 5 minutes. - It opens the browser for Rocketwright (
com.soflution.mcphub/launch), when a sandbox forbids Rocketwright to. Rocketwright asks the hub for the entry whoseappis the browser's, with the arguments it would have used itself. In McpHub, that is alaunchlist on the rocketwright server; write the folder of your installation in place of the--load-extensionone (the message of a failedfl_opennames it):
"launch": {
"brave": {
"app": "Brave Browser",
"args": [
"--profile-directory=*",
"--load-extension=/path/to/rocketwright/extension",
"--disable-features=DisableLoadExtensionCommandLineSwitch"
]
}
}
A browser instance of its own (a separate data folder) also needs "--user-data-dir=~/Library/Application Support/Rocketwright/Browsers/*". With no entry for a browser, Rocketwright runs open itself as before.
Opening a browser or a profile
Rocketwright never restarts one of your own browsers (the dedicated Chrome for Testing of attach mode is the one it may restart). When an open profile's extension is not connected, fl_open and fl_adopt fail and say why, from that profile's own preferences (read only): the extension is not installed, turned off, loaded unpacked from a folder that moved (with the folder it should be loaded from now), or set to Site access: On click. A profile of this computer that is not open (fl_extension lists them) is opened by fl_open when it names it (launch: false prevents it): on macOS the browser starts in the background (open -g, your current app stays in front) on that profile with the Rocketwright extension of this installation loaded (--load-extension, with the switch that Chrome 137 and later need to accept it), unless the Chrome Web Store copy is installed and on there. Instances made by flintrail --separate-profile (in ~/Library/Application Support/Flintrail/Browsers) are still found. An extension loaded from the installation's folder (unpacked, or opened by Rocketwright) takes the code of a new Rocketwright version the next time its browser starts, with nothing to reload by hand: up to 2.7.0 the browser kept the code it had first loaded, and the extension had to be reloaded in the browser's extensions page.
Finding and naming tabs
fl_tabs with all: true (or browser) lists the tabs open in your browsers, driven or not (site and title, never the full address) with an #id, and fl_adopt with browser and id takes one directly. Each tab also has a name of its own in its browser, after what it shows (Github, then Github 2) or the one you give it in the extension popup (This tab); fl_adopt with browser and name takes it by that name. The popup's top line reads browser › window › tab (Work › Window 1 › Tab 47). A window showing only browser pages is named after them (Extensions). A browser whose profile name Rocketwright cannot read, and that you have not named, is shown as Unnamed browser and its popup asks for a name: with several browsers, brave alone tells them apart for nobody. A tab the agent's click opens (a link with target="_blank", window.open) is driven at once by the same conversation and named in the answer, its one-time parts masked.
When another extension cuts a tab off
Another extension (1Password's autofill menu, typically on sign-in pages) can make the browser stop Rocketwright from driving a tab. The agent is warned as soon as that extension puts its frame in the page, fl_reopen opens the same page again in a fresh tab, and fl_login does it by itself. To stop it for good, set that extension's Site access to On click (brave://extensions or chrome://extensions, Details).
Updating the extension
Installed from the Chrome Web Store, the extension is updated by the browser, after the store's review: it can be a few days behind the server. Loaded from the installation's folder, it takes the new code the next time its browser starts (see above). An older extension keeps working for what it knows: fl_extension shows the version of each connected extension, and a tool that needs a newer one says so.
Agent window and the debugging bar
The agent never opens tabs in the window you work in. Click Use this window for the agent in the popup of the window you leave to it; without a choice, or once that window is closed, it opens a window of its own in the background. Chrome shows its "started debugging this browser" bar in every window while a tab is driven (the browser enforces this, extensions cannot hide it), so the extension releases tabs left unused for 5 minutes; the agent takes one back with fl_adopt.
That bar shows in every window of the browser process, and every profile of one browser shares that process: driving a tab of your "Work" profile shows it in your personal profile's windows too. To keep it to one profile, give that profile a browser instance of its own (macOS): quit the browser completely, then run
npx rocketwright --separate-profile brave "Work"
It copies the profile, without its caches, into ~/Library/Application Support/Rocketwright/Browsers/brave/Work (its own data folder, so its own process), and adds a Brave Work launcher to ~/Applications. The sign-ins come along: the copy uses the same key from your macOS keychain. Nothing is deleted. The original profile is renamed "Work (old)", with a backup of Local State, and you delete it in the browser once the new one works. The Rocketwright extension in the new instance pairs by itself and starts with fresh settings; extensions that sign in (1Password) may ask once. Rocketwright lists that profile and opens it in its own instance, so browser: "Work" keeps working. Set ROCKETWRIGHT_INSTANCES_DIR to keep the instances elsewhere.
Teach by demonstration
You do not have to explain a task to the agent. Type a flow name in the popup, click Start recording, do the task yourself in the tab, click Stop and save. The extension records clicks, typing, selects, checkboxes and Enter with the same element fingerprints the engine uses, and never records password fields. Then:
fl_flow_set_var("parking-renew", 0, "plate") # turn the typed plate into {{plate}}
fl_run("parking-renew", { "plate": "AB-123-CD" })
The flow now runs without you and without the LLM, at the speed of the browser.
Limits in extension mode: browser-level CDP (download folder, permissions, window size) is not available to extensions, so download saves through the browser's normal download flow. Chrome dismisses dialogs of background tabs driven by chrome.debugger before anyone can answer, so in this mode {do:"dialog"} answers the next alert / confirm / prompt from inside the page instead.
Tools
| Tool | What it does |
|---|---|
fl_open | Open a URL in a background tab, return a compact snapshot with [eN] refs. |
fl_act | Run many actions in one call: click, dblclick, hover, drag (to toRef, toSelector or toText), fill, type, select, check, press, upload, download, goto, back, wait, scroll, mouse, dialog, resize, eval, request. within: "my-token" picks the match closest to a text (the Delete button of that row), within: "dialog" the one in the open dialog. wait follows the page: an element or text that shows up or goes away (state: "hidden" for a spinner), a URL, or network: true until no request for half a second. download clicks, waits until the file is whole (from any frame, one of another site included: in your browsers the extension sees every download) and answers its path on your computer, size and type; dir picks the folder (default ~/Downloads/Rocketwright) and filename the name, never over another file. A click that downloads without a download step is told too, with where the file is. |
fl_snapshot | Re-read a page: interactive elements, headings, text excerpt, same-origin frames. 100 elements and 400 characters of text by default; within lists only the part around a text. An open modal dialog is listed by itself (within: "page" for the whole page). |
fl_extract | Run JavaScript in the page and return the result. frame (f1, or part of its address) runs it in an embedded frame instead, even one of another site the page cannot read. Code without return is read as an expression, and a result of nothing is said as such. |
fl_downloads | The latest downloads of your browsers: where each file is on your computer, size, type, date, the address it came from and whether it finished, with each profile's download folder (and where its latest file really went), plus the files Rocketwright saved itself. |
fl_network | List the site's own API calls with timing, body and a JSON sample. |
fl_screenshot | JPEG screenshot of the tab, or of one element (ref / selector), in CSS pixels usable by mouse. |
fl_console | Console errors and uncaught exceptions of a tab (level: "all" adds warnings and logs). fl_act says when new ones appear. |
fl_record_start / fl_record_stop | Record a flow; repairFrom keeps the good steps and re-records the rest. |
fl_run | Replay a flow with variables, no LLM. direct: true sends the flow's own API request instead of the UI steps, when one was detected. |
fl_run_many | Replay a flow for many variable sets in parallel tabs. |
fl_flows / fl_flow | List flows, inspect one. |
fl_flow_set_var | Turn a recorded value into a {{variable}}, for flows taught by demonstration. |
fl_flow_export | A recorded flow as a Playwright Test file (.spec.ts) for your project's test suite: it runs with npx playwright test in Chromium, Firefox and WebKit. Variables come from FLOW_<NAME> environment variables, a sign-in step from LOGIN_USERNAME and LOGIN_PASSWORD; no password is ever in the file. |
fl_extension | Browsers Rocketwright can drive: the dedicated one and every connected user browser, by name. |
fl_adopt | Take control of a tab you already opened yourself, for example right after signing in by hand, found by its number (tab 47, on the extension's icon), by part of its address, by its name or by the #id fl_tabs all:true lists. In your own browsers, the extension settings can turn this off or exclude sites. |
fl_login | Sign in with your saved password (browser password manager, 1Password, Bitwarden or your own command). Rocketwright fills it and does not return it to the agent. See Sign in. |
fl_mail_code | Type a verification code sent by e-mail into a form, read by Rocketwright from your mailbox open in the same browser (Gmail, Outlook on the web). The agent gets the code's length, the sender, the subject and the time, never the code. See Codes and links sent by e-mail. |
fl_mail_link | Open the verification or sign-in link of such an e-mail in a new driven tab, only to the sender's own organisation, its one-time parts masked. |
fl_reopen | Open the page of a tab again in a fresh tab of the same browser: a tab another extension cut off, released, closed, or where the agent ran JavaScript. |
fl_capture_secret | Store a secret a site shows once (a new GitHub, Cloudflare, Stripe, npm, OpenAI, Anthropic or Resend token) from your open tab straight into a vault (mcphub:NAME or 1password:Vault/Title). The agent only gets its kind, length and public prefix. A known kind is only taken on the site that issues it; any other kind, a 1Password vault, or replacing a saved name asks you first, unless you turn Ask me before capturing or pasting a secret off in the extension settings. |
fl_paste_secret | Type a vault secret (mcphub:NAME or 1password:Vault/Title) into one field of a page, after the user's click in the Rocketwright extension, which shows the site and the secret's name (or without asking, once the user turned Ask me before capturing or pasting a secret off). The value is not returned to the agent. Only in the user's browsers, over HTTPS, in a visible field of the page itself, and not in a tab where the agent ran JavaScript. |
fl_emulate | Make a tab look like a phone or tablet (device: "iPhone 15", or width, height and mobile), with another user agent, position, language, time zone, color scheme, or offline. Back to normal with reset, fl_release or fl_close. In your own browsers Chrome keeps the time zone and language from extensions: use the dedicated browser for those. |
fl_pdf | Save a tab's page as a PDF file (A4, Letter, A3 or Legal, landscape optional), in the downloads folder. |
fl_mock | Change what the network answers a tab, to test how a site behaves: block a request, make it fail, delay it, or respond with your own status and body (no Set-Cookie or Clear-Site-Data), for requests whose address contains url (or matches it with regex: true), optionally one method and the first times only. list shows what each rule caught, clear, fl_release and fl_close remove them. What the page sends is never shown to the agent, and requests made by a service worker are not caught. |
fl_trace | Record a Playwright trace of the agent's work in a browser: every action with a picture before and after. Open it with npx playwright show-trace. Page copies and the network log are left out, since they would hold the browser's cookies and whatever you type by hand. Saved by stop, or when the last tab is released or closed; it stops by itself after 30 minutes. |
fl_video | Film one tab as a WebM video, each click and fill pointed out on screen (actions: false to turn that off), to show a person what was done. Saved by stop, fl_release or fl_close; it stops by itself after 30 minutes. |
fl_session | Save the signed-in state of one site from the dedicated browser (cookies and local storage) to a file only you can read, and load it back; an existing one is only replaced with replace: true. Its content never reaches the agent, and Rocketwright never uploads its own files (sessions, token, profile) to a site. |
fl_release | Stop driving a tab of your browser without closing it: you keep it, and fl_open or fl_adopt takes it over again later. show: true hands it back in front of you. |
fl_show | Put a tab in front of you: it becomes the active tab, its window comes out of the Dock and to the front, and the browser's app comes in front of the app you are in (on macOS, by its process, so even a second instance of the same browser). The agent calls it before any message that sends you to a tab; fl_open, fl_adopt and fl_release take show: true to do it in the same call. With wait, it then waits for the CAPTCHA, bank check or code field you have to deal with to be gone. A CAPTCHA (hCaptcha, reCAPTCHA, Turnstile, Arkose) or a 3-D Secure check really on screen is put in front of you by itself, once per step, and the answer tells the agent the page waits for you. Otherwise the agent works in the background and nothing takes your screen. |
fl_tabs / fl_close | List the tabs the agent drives (all: true or browser: also the tabs open in your browsers, with an #id for fl_adopt), close one. A tab the agent drove and the browser cut off (its page became one no extension may script, such as the Chrome Web Store) is still closed by its tab id, as long as it is on the same site. fl_close with id and browser closes a tab the agent does not drive, by the rules of fl_adopt: off when taking over open tabs is off, never a site you listed, never a tab another conversation drives, never a browser page (extension 2.7.0 or later). |
fl_desktop | Snapshot a native desktop app (Finder, Mail, Preview, Notes...) with [dN] refs, through the OS accessibility tree. Browsers, password managers, terminals, code editors and system settings are refused. Without app, lists running apps. See Desktop apps. |
fl_desktop_act | Run many actions on a desktop app in one call: click, dblclick, rightclick, fill, type, clear, press, select, check, uncheck, toggle, expand, collapse, focus, scroll, get, wait, launch, quit. Recorded like browser actions. |
Example
// one call, five actions
{ "tool": "fl_act", "tab": "t1", "actions": [
{ "do": "fill", "ref": "e1", "value": "AA-111-AA", "var": "plate" },
{ "do": "check", "ref": "e3" },
{ "do": "click", "role": "button", "name": "Continue" },
{ "do": "click", "selector": "[data-testid=confirm]" },
{ "do": "wait", "text": "active" }
]}
Then fl_run("permit", { "plate": "ZZ-999-ZZ" }) repeats it without the model (683 ms for the 5-step task of the benchmark).
// files, native dialogs, coordinates, mobile width
{ "tool": "fl_act", "tab": "t1", "actions": [
{ "do": "upload", "ref": "e4", "files": ["/Users/me/statement.csv"], "var": "statement" },
{ "do": "dialog", "accept": true },
{ "do": "click", "role": "button", "name": "Delete" },
{ "do": "mouse", "x": 640, "y": 380 },
{ "do": "resize", "width": 390, "height": 844 }
]}
upload works on a file input, even a hidden one, and on a button or drop zone that opens the file chooser. Dialogs are dismissed by default and every one is reported in the result, as are new console errors.
Sign in
fl_login signs the agent in with the passwords you already have, without returning them to the agent: it only learns which fields were filled. Passwords and one-time codes are masked in every tool result, including captured request bodies and page reads, and a recorded flow stores a reference to the login, never the secret. On a multi-step sign-in (e-mail page, then password page) the agent calls it on each step.
Sources are tried in the order of ROCKETWRIGHT_PASSWORDS (default browser):
| Source | Setup | Notes |
|---|---|---|
browser | None. Save the password in Chrome, Edge or Brave as usual. | The browser fills the form itself; Rocketwright confirms with a real click and submits. Works in extension mode and in attach mode, on the profile that holds your passwords. With several saved accounts for a site, the browser picks one: use a CLI source to choose. |
1password[:path] | 1Password CLI through the 1Password app, or a service account. See 1Password vaults. | Every vault it can open, unless you list some. One-time codes stored in 1Password are filled too. |
bitwarden[:path] | Bitwarden CLI unlocked, BW_SESSION in Rocketwright's environment. | One-time codes through bw get totp. |
dashlane[:path] | Dashlane CLI (dcli), signed in. | Searches the page's site; one-time codes through dcli password -f otp. |
lastpass[:path] | LastPass CLI (lpass), logged in. | No one-time codes: lpass cannot give them, so the agent asks you for the code. |
protonpass[:path] | Proton Pass CLI (pass-cli), logged in. | Every vault it can open; passwords and codes are read field by field through pass:// references. |
keepassxc:database | KeePassXC CLI (keepassxc-cli, or ROCKETWRIGHT_KEEPASSXC_CLI), and the .kdbx file. Unlocked with ROCKETWRIGHT_KEEPASSXC_KEYFILE, or with the password a command prints, ROCKETWRIGHT_KEEPASSXC_PASSWORD_COMMAND (for example security find-generic-password -w -s keepassxc). | Never the database password in clear in the configuration: it goes from that command to KeePassXC on standard input. One-time codes included. |
command:path | Any program: Rocketwright runs it with the page URL as only argument. | It prints [{ "url", "username", "password", "totp"?, "title"? }]. Use it for pass, a company vault or any other manager. |
Apple Passwords (iCloud Keychain) has no command-line access: Apple keeps those passwords for its own apps, and even macOS's security tool cannot read them. Save the login in your browser as well, and the browser source fills it.
Logins from a CLI source are only filled in frames whose domain matches the login's website, so a look-alike page gets nothing. Several matches: the agent passes item (ID, title or username). Example for Claude Desktop:
"env": { "ROCKETWRIGHT_PASSWORDS": "browser,1password" }
1Password: which vaults, and how Rocketwright opens them
Rocketwright has no vault name built in: it searches every vault the 1Password CLI can open, by the website of the page (and by account when the agent passes account). Two ways to open them, your choice:
| A. The 1Password app (recommended on your own Mac) | B. A service account (unattended machines) | |
|---|---|---|
| Setup | In the 1Password app: Settings > Developer > Integrate with 1Password CLI. Then ROCKETWRIGHT_PASSWORDS=1password, with no OP_SERVICE_ACCOUNT_TOKEN. | Create a service account on 1password.com (Developer > Service accounts), give it read access to each shared vault the agent may use, and set OP_SERVICE_ACCOUNT_TOKEN in Rocketwright's environment (or point 1password:/path/to/script at a script that sets it from your keychain). |
| Vaults | Every vault of your account, Private included. | Only the shared vaults it was given. |
| Asks you | Touch ID or your password, about once per session (1Password's own rule). | Never. |
| Limits | The app must be running and unlocked. | 1Password never lets a service account open the Private vault, and a vault created later is not added to an existing service account: create a new service account to include it. |
To narrow the search, list vaults: in the extension settings (Password manager vaults: only these, never those) for your own browsers, or ROCKETWRIGHT_VAULTS and ROCKETWRIGHT_EXCLUDE_VAULTS (comma-separated names) for the dedicated browser. Only you change them; an agent cannot. When nothing is found, fl_login says which vaults it searched and which logins your lists left out.
Whose account: when a sign-in step already names the account (the password page after the e-mail page), fl_login uses the saved login of that account and fills nothing if none matches. When you tell the agent whose account to work on, it passes account (a username or e-mail) and fl_login then refuses a saved login for anyone else, even when it is the only one for the site, instead of signing in to your own account by mistake.
A saved login whose username is out of date (you just changed the account's e-mail): fl_login with item and username types that username instead, the password still coming from the login.
On a tab where the agent ran JavaScript, fl_login opens the same page again in a fresh tab and fills it there (the answer gives the new tab id); reopen: false refuses instead.
Not supported: Apple Passwords (iCloud Keychain) has no command-line access. One-time codes sent by SMS or a phone prompt: fl_login says so and the agent asks you. Codes sent by e-mail: see below.
Codes and links sent by e-mail
When a site sends a verification code or link by e-mail and your mailbox is open in the same browser (Gmail at mail.google.com, Outlook on the web at outlook.cloud.microsoft, outlook.office.com, outlook.office365.com or outlook.live.com, or a webmail you declare in ROCKETWRIGHT_MAIL_HOSTS), the agent does not ask you to copy it:
fl_mail_code(tab,from, optionalfield,maxAgeMinutesdefault 10,waitSecondsdefault 30,pattern,submit) opens the newest e-mail fromfromreceived within the delay, takes the code (the 4 to 8 digit number shown on its own, or whatpatterncaptures) and types it into the form. The code is masked in everything returned, the mailbox included.fl_mail_link(browser,from,linktext orurlContains) opens the link of that e-mail in a new driven tab, and returns its id and snapshot with the one-time parts of the address masked.
Safeguards: from is an address or a domain, never a display name; the sender's organisation (registrable domain: notify.cloudflare.com is cloudflare.com) must be the form's or the link's, unless you confirmed a pairing and the agent passes site; payment, bank and crypto sites and e-mails about a payment are refused (their codes can approve a payment); the form tab must be free of the agent's JavaScript; the extension settings for one-time codes apply; nothing runs while a flow is recorded. A mailbox tab the agent did not drive is taken for the search only, then given back where it was. The sender address is what the webmail shows: a forged sender that your webmail does not flag is not detected.
Desktop apps
Rocketwright also drives native apps, through the operating system's accessibility tree rather than screenshots, using agent-desktop (Apache-2.0, installed as an optional dependency, which lists macOS, Windows and Linux; Rocketwright's own tests run against a stand-in for it, not against real apps). It never drives browsers, password managers, terminals, code editors or system settings this way. It is headless: actions go through the accessibility API, the pointer does not move and no window comes to the front, so you keep working while the agent does.
The same record and replay engine applies, so one flow can mix web and desktop steps: download an invoice on a supplier's site, then file it in a desktop app, replayed with no model in the loop.
{ "tool": "fl_desktop", "app": "Calculator" } // localized, English name or bundle id
{ "tool": "fl_desktop_act", "app": "Calculator", "actions": [
{ "do": "click", "ref": "d6" },
{ "do": "click", "role": "button", "name": "Ajouter" },
{ "do": "fill", "ref": "d12", "value": "invoice", "var": "query" },
{ "do": "press", "key": "return" },
{ "do": "get", "ref": "d1" }
]}
Each recorded desktop step stores the app and a fingerprint of the element: native automation id when it is stable (ids that carry live state are skipped), then role and exact accessible name, and its rank among equal matches. Replay tries the id first, then role and name, and waits for the element. A stale ref during a live session is healed the same way, once.
macOS asks for the Accessibility permission on first use, for the app that runs Rocketwright (Claude, Cursor, a terminal). On Linux it needs at-spi2-core in the graphical session. To use your own build, set ROCKETWRIGHT_AGENT_DESKTOP to its path. Flows with desktop steps run one at a time in fl_run_many, since they share the app.
Snapshots that only say what changed
After fl_act, when the tab is still on the same page, the snapshot lists only what changed since the last one the agent received: + a new element, ~ one whose label, value or state changed, - one that is gone, and the new words of the page text. Everything else is still there with the same ref, since an element keeps its ref for as long as it lives on the page. On a page of a few hundred elements, a click that changes one of them costs a few lines instead of the whole page.
The whole page comes back by itself when the tab moved to another page, when more than half of it changed, or when the list was truncated. diff: false on fl_act forces it, and fl_snapshot always returns the whole page unless called with diff: true.
How replay finds elements again
Each recorded step stores a fingerprint, not a fragile selector: test id, stable id, name attribute, ARIA role and accessible name, placeholder, link target, visible text and a short CSS path. At replay time Rocketwright tries them from most to least stable and takes the first that matches exactly one element, waiting only for that element, never for the network to go idle.
Security
How to report a vulnerability, and what Rocketwright does not protect against, is in SECURITY.md. The mechanisms:
- No password is ever written to a flow. Password fields are skipped during recording; keep the session logged in instead.
fl_loginnever returns a password or a one-time code to the agent and masks them in every tool result. Values that look like credentials (known token formats, JWTs, a long token next to a word such as "secret" or "key") are masked too, wherever they come from, unless you setROCKETWRIGHT_MASK_SECRETS=off. This guards against a secret shown by accident; it is not a wall against an agent set on reading one, since a value can be split or encoded. CLI logins are only filled on their own website. Password manager programs are chosen in the configuration, never by the agent, and run without a shell.fl_capture_secretreads only what the page shows (never a password or hidden field, never the address's query string), on the main frame, and every miss or refusal reads the same. The value goes to the vault program on its standard input, is masked in every later result, and the pages of that site refuse scripts and screenshots until they load another page. It is only as private as the vault: an agent that can runMcpHub vault get --revealin a shell can read it back, so for a secret the agent must never see, choose1password:(the 1Password CLI asks for your approval) or keep the agent away from a shell. Turn capture off in the extension settings.fl_paste_secret, its counterpart, asks the user every time and reads the vault only after that click. Ask me before capturing or pasting a secret, on by default, turns both questions off: only the user can change it, in the extension, and every capture and paste stays in its history and in~/.rocketwright/fill-audit.log.- A trace or video that is recording when Rocketwright is about to fill a password, a code or a secret (
fl_login,fl_paste_secret), or when a pagefl_capture_secretjust read shows one, is stopped before anything is typed and deleted, together with the working copy Playwright keeps in its temporary folder: it would hold the value. A trace is refused while any tab it would record holds one, a video while its tab does, both whileROCKETWRIGHT_ALLOWED_DOMAINSis set (they would record the frames of other sites the page embeds), and a saved trace is deleted if a value Rocketwright masks reached it another way.fl_sessionis refused while a trace records the dedicated browser. - A tab with any
fl_mockrule counts as one the agent ran JavaScript in: a fake answer can carry a script, and a blocked one changes what a sign-in form does.fl_loginandfl_paste_secretrefuse it for the rest of its life. Rules are matched on the masked address and stand aside while Rocketwright fills a secret in the tab. fl_loginfills but never sends a form marked to send by GET: the password would land in the page address.fl_mail_codeandfl_mail_linknever return a code or a token: the code is masked everywhere from the moment it is read, and only typed in a one-time code field of the sender's own site, over HTTPS; a link is only followed to the sender's organisation, and its tab is closed again if it lands elsewhere.- Rocketwright never restarts a browser of yours. It opens one that is closed only when
fl_opennames it, in the background (launch: falseprevents it). Under a hub's sandbox Rocketwright cannot runopenitself: with McpHub, give the rocketwright server alaunchlist naming the browser (see Behind a hub above), and McpHub opens it for Rocketwright;"allowExec": ["open"]in its sandbox works too, but allows it to open anything. - Flows are plain JSON in
~/.rocketwright/flows, easy to review and version. - The HTTP transport requires a bearer token (constant-time comparison) and binds to
127.0.0.1by default. evalandrequestrun inside the page with the page's own privileges, nothing more.- A direct API replay (
fl_run(direct: true)) is never the default: the agent has to ask for it, and is told to ask you first. It is only kept for a flow that makes exactly one write request (a second one, even usage reporting, rules it out), to the site of its start URL, with nothing but waits after it, with no form posted by page navigation, and never for a flow that handles a password or whose request carries a credential or session token: the request is stored in the flow file in clear. A redirect, or a page where the site answered JSON when recorded, counts as a failure. If the site refuses the request (HTTP 4xx) the flow replays through the UI; on any other failure it stops without replaying, so nothing is written twice. - The pairing host only answers the Rocketwright extension ID (the browser enforces
allowed_origins), and the relay only listens on127.0.0.1. - The relay refuses connections from web pages (they always send an
Originheader). Rocketwright processes and the extension prove they know the token with an HMAC over a fresh challenge, and the relay proves it back, so the token never travels and a program squatting the port learns nothing. (An extension older than 1.4 still sends the token itself, over the local connection.)
Allowed sites
Set ROCKETWRIGHT_ALLOWED_DOMAINS to keep the agent on the sites you chose, for example "ROCKETWRIGHT_ALLOWED_DOMAINS": "example.com,*.example.org". With a list:
fl_open,goto, a flow's start URL and therequestaction are refused for any other site, before anything is sent.- If an allowed address redirects elsewhere, or a click or a replayed step leads to another site, Rocketwright stops: the page is not read, no further action runs on it, and the agent is told to close the tab.
- Embedded frames of other sites are left out of snapshots, hidden in screenshots, never filled by
fl_login, and cannot be reached by a ref or a selector. fl_adoptrefuses a tab that is on another site, a file served by another site is not downloaded,fl_networkonly shows requests to allowed sites, andrequestdoes not follow redirects.fl_mocknever touches a request to another site, andfl_traceandfl_videoare refused.- A list Rocketwright cannot read (a typo, an empty entry) stops it at startup instead of opening every site.
The list is read from the environment when Rocketwright starts: the agent has no tool to change it. It bounds where the agent goes and what it reads, not what the pages themselves load (their scripts, images and analytics still come from wherever the site takes them), and JavaScript run with eval or fl_extract runs inside an allowed page with that page's own network access. Console messages (fl_console) include what embedded frames log. Desktop tools (fl_desktop, fl_desktop_act) are not covered: they read whatever app is on screen. Host names only: an internationalised name goes in its punycode form, IPv6 addresses are not supported.
Configuration
| Variable | Default | |
|---|---|---|
ROCKETWRIGHT_MODE | attach | attach, launch or extension |
ROCKETWRIGHT_RELAY_PORT | 8932 | Local port the extension connects to |
ROCKETWRIGHT_RELAY | on | off to not use the extension relay |
ROCKETWRIGHT_RELAY_IDLE_MS | 600000 | How long the shared relay stays up once no Rocketwright is connected |
ROCKETWRIGHT_PAIRING | on | off to not register the pairing host in the browsers |
ROCKETWRIGHT_EXTENSION_IDS | Extra extension IDs allowed to pair, comma separated | |
ROCKETWRIGHT_DEDICATED_PROFILE | --user-data-dir of a regular Chrome accepted as the dedicated browser | |
ROCKETWRIGHT_CDP_URL | http://127.0.0.1:9222 | Browser to attach to |
ROCKETWRIGHT_PORT | 9222 | Debugging port used when Rocketwright starts Chrome for Testing |
ROCKETWRIGHT_CHROME | auto | Browser executable |
ROCKETWRIGHT_HEADLESS | 1 | 0 to see the window in launch mode |
ROCKETWRIGHT_ALLOW_ANY_BROWSER | off | 1 lets attach mode connect to a browser that is not Chrome for Testing |
ROCKETWRIGHT_HOME | ~/.rocketwright | Flows, profile, token, saved sessions, logs |
ROCKETWRIGHT_PROFILE | ~/.rocketwright/profile | Browser profile of launch mode |
ROCKETWRIGHT_DOWNLOADS | ~/Downloads/Rocketwright | Where downloads land |
ROCKETWRIGHT_TOKEN | generated | HTTP bearer token and extension token |
ROCKETWRIGHT_ALLOWED_DOMAINS | any site | The only sites the agent may work on, comma separated: example.com is that host, *.example.com is example.com and its subdomains. See Allowed sites. |
ROCKETWRIGHT_PASSWORDS | browser | Password sources for fl_login, in order: browser, 1password[:path], bitwarden[:path], dashlane[:path], lastpass[:path], protonpass[:path], keepassxc:database, command:path (see Sign in). off removes the tool. |
ROCKETWRIGHT_VAULTS / ROCKETWRIGHT_EXCLUDE_VAULTS | Dedicated browser: only these 1Password vaults / never these, comma separated. In your own browsers, the extension settings decide. | |
ROCKETWRIGHT_INSTANCES_DIR | ~/Library/Application Support/Rocketwright/Browsers | Where browser instances of their own live, one folder each: <brand>/<name> (see --separate-profile). Unset, instances made by Flintrail in ~/Library/Application Support/Flintrail/Browsers are found too. |
ROCKETWRIGHT_MAIL_HOSTS | Webmails of your own for fl_mail_code and fl_mail_link, comma separated: mail.example.com=outlook,webmail.example.org=gmail. | |
ROCKETWRIGHT_MASK_SECRETS | on | off shows values that look like credentials in tool results. Passwords and codes Rocketwright filled stay masked. |
ROCKETWRIGHT_ORPHAN_MS | 300000 | How long a conversation must be quiet before another one may take one of its tabs by id |
ROCKETWRIGHT_EXTENSION_WAIT | 35000 | How long a call waits for a browser's extension to connect, in milliseconds |
ROCKETWRIGHT_KEEPASSXC_CLI, ROCKETWRIGHT_KEEPASSXC_KEYFILE, ROCKETWRIGHT_KEEPASSXC_PASSWORD_COMMAND | KeePassXC source of fl_login (see Sign in) | |
ROCKETWRIGHT_AGENT_DESKTOP | bundled | Path of your own agent-desktop build |
NO_UPDATE_NOTIFIER, SOFLUTION_AUTO_UPDATE | NO_UPDATE_NOTIFIER=1 or SOFLUTION_AUTO_UPDATE=0: no version check, no automatic update | |
ROCKETWRIGHT_MCPHUB | found in PATH, ~/.local/bin, /opt/homebrew/bin, /usr/local/bin | Full path of the McpHub program fl_capture_secret and fl_paste_secret use for mcphub: vaults. An app opened from the Dock starts Rocketwright with a short PATH, so Rocketwright also looks where McpHub installs itself. |
Develop
npm install
npx playwright-core install chromium # once, for tests
npm test # build + end-to-end tests over real MCP, extension included
npm run pack:extension # rocketwright-extension-<version>.zip
npm run bench # benchmark vs Playwright MCP
npm run bench:tasks # four tasks vs Playwright MCP and Chrome DevTools MCP
For maintainers: publishing the extension to the Chrome Web Store goes through its API with a Google Cloud service account added in the Developer Dashboard (Settings, Service account): CWS_SERVICE_ACCOUNT_KEY='<key JSON>' npm run publish:extension packs the store zip, uploads it and submits it for review (node scripts/publish-extension.mjs status shows where the item stands). When the store takes the package but refuses to send it to review because of the item itself (its listing or its privacy answers), the command says so, leaves the upload as a draft and gives the Developer Dashboard page to fix: the API does not say which field. The key can also come on standard input with --key -; it is never written to disk.
Roadmap
Ideas, not commitments:
- An Edge Add-ons listing for the extension (it already installs in Edge from the Chrome Web Store).
- Automatic promotion of recorded UI steps to API steps when the captured call is replay-safe.
- Shared flow library for common sites.
- Visual diff on replay failure.
License
MIT © 2026 Soflution
Frequently asked questions
What is Rocketwright MCP Server?
Drive a real Chrome live, record a flow once, replay it in milliseconds without an LLM.
How do I install Rocketwright MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Rocketwright MCP Server runs locally from the MCP bundle https://github.com/Soflutionltd/rocketwright/releases/download/v2.11.0/rocketwright.mcpb with the command npx -y https://github.com/Soflutionltd/rocketwright/releases/download/v2.11.0/rocketwright.mcpb.
Is Rocketwright MCP Server free and open source?
Yes. Rocketwright MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Rocketwright MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Rocketwright MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Rocketwright MCP Server provide?
Rocketwright MCP Server provides 30 tools, including fl_act, fl_adopt, fl_capture_secret, and fl_console. See the full tool list for descriptions and parameters.
How is Rocketwright MCP Server's trust score calculated?
Rocketwright MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
