# Let agents control a logged-in Chrome browser through Playwriter MCP

> Use Playwriter to give MCP-compatible agents a bounded, stateful Playwright control surface over an operator-approved Chrome session.

- Skill: `agentskillexchange/let-agents-control-a-logged-in-chrome-browser-through-playwr` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/let-agents-control-a-logged-in-chrome-browser-through-playwr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/let-agents-control-a-logged-in-chrome-browser-through-playwr/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/let-agents-control-a-logged-in-chrome-browser-through-playwr

---


# Let agents control a logged-in Chrome browser through Playwriter MCP

Use Playwriter to give MCP-compatible agents a bounded, stateful Playwright control surface over an operator-approved Chrome session.

## Prerequisites

Playwriter Chrome extension and CLI; MCP-compatible client when using MCP mode; Chrome/Chromium browser session

## Installation

Use the upstream install or setup path that matches your environment:
- npm i -g playwriter
- npx -y skills add remorses/playwriter
- npx -y traforo -p 19988 -t my-machine -- npx -y playwriter serve --token <secret>
- npx -y playwriter serve --host 127.0.0.1

Requirements and caveats from upstream:
- Variables in scope: page, context, state (persists between calls), require, and Node.js globals.

Basic usage or getting-started notes:
- [**Install Extension**](https://chromewebstore.google.com/detail/playwriter-mcp/jfeammnjpkecdekppnclgkkffahnhfhe) from Chrome Web Store
- Click extension icon on a tab → turns green when connected
- Install the CLI and start automating the browser:

- Source: https://github.com/remorses/playwriter
- Extracted from upstream docs: https://raw.githubusercontent.com/remorses/playwriter/HEAD/README.md

## Documentation

- https://playwriter.dev

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/let-agents-control-a-logged-in-chrome-browser-through-playwriter-mcp/)

