About Playwriter
Playwriter is an MCP server published by remorses in the Browser category: chrome extension & CLI to let agents control your browser. Runs Playwright snippets in a stateful sandbox. Available as CLI or MCP. Conduid read 6 tools from its source: execute, reset, session_delete, session_list, session_new and session_update. No package is published for it, so it installs from a source checkout.
The repository has 4.1K stars and 204 forks, is licensed MIT, and its last commit was on 27 Nov 2026. The latest release is extension@0.0.175 (16 Nov 2026): [!NOTE] This version may not be on the Chrome Web Store yet. It follows playwriter@0.12.0 (16 Nov 2026), and the 5 most recent releases go back to extension@0.0.171 (6 Nov 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include playwright.
Install
git clone https://github.com/remorses/playwriterTools (6)
execute| Parameter | Type | Description |
|---|---|---|
| code * | string | js playwright code, has {state, context} in scope. There is no `page` global: use `state.page = await context.newPage()` or pick an existing tab from `context.pages()`. Should be one line, using ; to execute multiple statements. you MUST call execute multiple times instead of writing complex scripts in a single tool call. |
| timeout | number | Timeout in milliseconds for code execution (default: 10000ms, or PLAYWRITER_EXEC_TIMEOUT) |
resetsession_deleteDelete a session and clear its state. Its tabs stay open and become shared, unless closeTabs is true.| Parameter | Type | Description |
|---|---|---|
| closeTabs | boolean | Also close the tabs this session opened |
session_listsession_new| Parameter | Type | Description |
|---|---|---|
| browser | string | Browser KEY from session_list. "headless" launches headless Chrome, use it only when the user asks. "cloud" starts a cloud browser (stealth, proxies) |
| cloudTimeoutMinutes | number | Cloud: browser timeout in minutes (1-240, default 60) |
| customProxy | string | Cloud: proxy as host:port or user:pass@host:port |
| direct | string | Connect over CDP without the extension: "auto" finds Chrome with debugging on, or a ws:// URL or host:port |
| disableProxyBandwidthAcceleration | boolean | Cloud: load images, video and fonts through the proxy (blocked by default) |
| patchright | boolean | Patchright with human-like mouse, scroll and typing. Extension and remote sessions only |
| proxy | string | Cloud: residential proxy region, e.g. us, de, jp |
| remote | string | Remote control id another user shared with the extension Remote control button |
| tabGroup | string | Chrome tab group title for this session tabs (default "playwriter") |
session_updateSwitch a session to Patchright and back, or change its tab group. Switching patchright reconnects: tabs stay open, state is cleared.| Parameter | Type | Description |
|---|---|---|
| patchright | boolean | |
| tabGroup | string | New tab group title. Moves the session tabs |
Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.7K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
- ✓No dynamic code executionScanned 104 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdio and HTTP with SSEplaywriter/src/mcp.ts:12, playwriter/src/test-utils.ts:171
- Starts other programs
- 8 callsplaywriter/src/browser-install.ts:227, playwriter/src/browser-install.ts:232, playwriter/src/browser-launch.ts:57
- Outbound network calls
- 42 callsplaywriter/src/browser-install.ts:123, playwriter/src/browser-install.ts:185, playwriter/src/cdp-relay.ts:3737
- Writes or deletes files
- 53 callsplaywriter/src/action-recorder.ts:639, playwriter/src/action-recorder.ts:641, playwriter/src/action-recorder.ts:643
- Lockfile
- pnpm-lock.yaml
Pattern matches on the source text of 104 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.7K words, fetched 6 days ago. The original in the repository is authoritative.
Read full README