playwriter
Chrome extension & CLI to let agents control your browser. Runs Playwright snippets in a stateful sandbox. Available as CLI or MCP
- 4k stars
- 193 forks
- 31 open issues
- Language: TypeScript
- License: MIT
- updated
Install
git clone https://github.com/remorses/playwriter{
"mcpServers": {
"playwriter": {
"command": "node",
"args": ["/path/to/playwriter/dist/index.js"]
}
}
}{
"mcpServers": {
"playwriter": {
"command": "node",
"args": ["/path/to/playwriter/dist/index.js"]
}
}
}- Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
- Replace any <placeholder> values with your API keys or paths.
- Restart Claude. The MCP server and its tools appear automatically.
Clone https://github.com/remorses/playwriter and follow its README for install instructions.
Editor's note
Playwriter is an MCP server and CLI tool that connects AI agents to the user's already-running Chrome browser rather than spawning a fresh isolated instance. It works through a Chrome extension installed from the Web Store, which bridges the Playwright API to the active browser session, preserving existing logins, cookies, and extensions. Agents execute Playwright JavaScript snippets inside stateful sandboxes using the CLI command `playwriter -s <id> -e '<code>'`, with variables like `page`, `context`, and a persistent `state` object available across calls. Features include visual accessibility labels using Vimium-style color-coded overlays that generate `aria-ref` selectors for element targeting, CDP-based debugging and live code editing, network request interception, and screenshot capture with labeled elements. The tool integrates with Claude Code and other MCP-compatible agents via direct MCP server configuration or the `skills` package. Developers, QA engineers, and AI agent builders who need browser automation against authenticated sessions or bot-detection-sensitive sites benefit most from this approach.
MCP Servers overview
What people ask about playwriter
What is remorses/playwriter?
remorses/playwriter is mcp servers for the Claude AI ecosystem. Chrome extension & CLI to let agents control your browser. Runs Playwright snippets in a stateful sandbox. Available as CLI or MCP It has 4k GitHub stars and its last recorded update is dated 2026-10-23.
How do I install playwriter?
You can install playwriter by cloning the repository (https://github.com/remorses/playwriter) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is remorses/playwriter safe to use?
Our security agent has analyzed remorses/playwriter and assigned a Trust Score of 87/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains remorses/playwriter?
remorses/playwriter is maintained by remorses. The last recorded GitHub activity is dated 2026-10-23, with 31 open issues.
Are there alternatives to playwriter?
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.