MCP server connects AI agents to existing Chrome sessions with cookies and auth

@playwright-repl/mcp is an MCP server that lets AI agents control your real Chrome browser with access to your existing session, including cookies and authentication. Unlike most AI browser tools that launch fresh browsers each time, this connects to your current Chrome instance via a small extension called Dramaturg.
Installation and Usage
Install via npm:
npm install -g @playwright-repl/mcp playwright-repl-mcp
To connect to your existing Chrome:
playwright-repl-mcp # connects to your Chrome via bridge
To launch a fresh browser instead:
playwright-repl-mcp --standalone
Key Features
- Uses your real browser session (not a fresh Chromium instance)
- Provides full Playwright JavaScript capabilities including
page.evaluate(), custom locators, and network interception - Supports
expect()assertions for verifying page state - Works with Claude Desktop, Claude Code, Cursor, or any MCP client
- Agents see pages through accessibility snapshots (same approach as Playwright MCP)
- Part of a larger toolkit that includes a CLI REPL, VS Code extension, and Chrome extension
How It Differs from Playwright MCP
This tool differs from standard Playwright MCP by connecting to your actual Chrome browser session rather than launching fresh instances. This means agents have access to your existing cookies, authentication, and browser state.
Example Use Cases
- Navigate internal admin dashboards while already logged in
- Scrape data from SaaS tools using existing sessions
- Fill out forms across authenticated pages
- Run assertions to verify results
The agent isn't limited to built-in tools and can run any Playwright code. This approach maintains your browser state across agent interactions rather than requiring fresh logins for each task.
📖 Read the full source: r/ClaudeAI
👀 See Also

X-MCP 2.0: MCP Server for X/Twitter API Access from Claude
X-MCP 2.0 is an MCP server that connects Claude Desktop and Claude Code to the X/Twitter API v2 with OAuth 2.0 PKCE authentication, providing 10 tools for posting tweets, searching, getting timelines, liking, retweeting, replying, and viewing profiles.

Benchmarking 88 Small GGUF Models on a 16GB Mac Mini M4
An automated pipeline tested 88 GGUF models on a Mac Mini M4 with 16GB RAM, identifying 9 as unusable and 4 LFM2-8B-A1B MoE models on the Pareto frontier for speed and quality.

A2P: An MCP Server That Enforces Engineering Discipline for AI Coding Agents
A2P (Architect-to-Product) is an AI engineering framework packaged as an MCP server that enforces a gated workflow: Architecture → Plan → Build → Audit → Security → Deploy, with each feature slice requiring RED → GREEN → REFACTOR → SAST → DONE progression.

Context-Engineered Study System for Claude Code Acts as Persistent Tutor
A developer built a study system using Claude Code that tracks progress across sessions, probes understanding, works through exercises, and adapts to learning styles. The system uses structured markdown files to shape agent behavior and includes tools for extracting textbook pages from PDFs.