# Playwright MCP

> Playwright MCP server: browser automation for AI agents through accessibility snapshots

Source: https://talira.ai/catalog/playwright-mcp-a299xk2f
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: MCP server, Browser extension
- Categories: [ai / agents / browser control](https://talira.ai/categories/ai/agents/browser-control), [ai / mcp / servers](https://talira.ai/categories/ai/mcp/servers), [developer tools / browser automation](https://talira.ai/categories/developer-tools/browser-automation)
- Platforms: macos, linux, windows, docker[^2]
- Licence: Apache-2.0[^4]
- Pricing: Free and open source[^4]
- Free tier: yes[^4]
- Self-hostable: yes[^2]
- MCP server: yes[^2]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^2]
- Backed by: [Microsoft](https://talira.ai/orgs/microsoft.md)
- Funding: public company (NASDAQ:MSFT)[^5]

Playwright MCP is Microsoft's MCP server that lets an AI agent drive a browser with [Playwright](https://talira.ai/catalog/playwright-r7fvkefh.md), reading pages as structured accessibility snapshots rather than screenshots. By default it launches its own browser with a persistent or isolated profile; with `--extension` and the Playwright Extension from the Chrome Web Store it connects to the Chrome or Edge you already have open, with your sign-ins, cookies and other extensions. In extension mode several MCP clients can be connected at once: each gets its own named, coloured tab group, a tab belongs to one client at a time, and you approve each connection or skip the prompt with a per-profile `PLAYWRIGHT_MCP_EXTENSION_TOKEN`. It runs locally over stdio, or over HTTP with `--port`, and works with any MCP client ([Claude Code](https://talira.ai/catalog/claude-code-jqv5000a.md), [Codex](https://talira.ai/catalog/codex-8m7d8cdk.md), [Cursor](https://talira.ai/catalog/cursor-x8ypqq22.md), VS Code, [Gemini CLI](https://talira.ai/catalog/gemini-cli-xq86svf2.md) and others); it isn't tied to any AI account.

## Links

- Website: https://playwright.dev/mcp/introduction
- GitHub: https://github.com/microsoft/playwright-mcp
- Docs: https://playwright.dev/mcp/configuration/browser-extension

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/playwright-mcp>[^1]

## Problems it solves

- let Claude Code drive the Chrome I'm already logged into instead of a fresh browser
- my coding agent needs to use a site behind SSO and 2FA that I've already signed into
- connect Codex or Cursor to my real browser tabs over MCP without any Anthropic sign-in
- an alternative to Claude in Chrome that doesn't care which Claude account I'm logged in with
- run many agent sessions against one Chrome without them fighting over the same tab
- give each agent session its own tab group in my browser so I can see what it's doing
- stop approving the browser connection every time a new agent session starts
- let an AI agent click through a web app using the accessibility tree, not screenshots
- browser automation MCP server for a coding agent to test my local web app
- keep the agent's browser in the background so it doesn't steal focus while I work
- agent browser that starts with a clean isolated profile for each test session
- point an agent at a specific Chrome profile, like my work profile, not the default one

## Features

- accessibility-snapshot tools: navigate, click, type, fill forms, tabs, screenshots, console and network
- --extension connects to your running Chrome or Edge through the Playwright Extension
- each connected client gets its own tab group, named and coloured by --session-name and --session-color
- several clients connected at once; a tab belongs to one client at a time
- PLAYWRIGHT_MCP_EXTENSION_TOKEN skips the per-connection approval
- --background keeps controlled tabs from taking focus (extension 0.5.0 or later)
- --profile-dir-name picks the Chrome profile
- persistent, isolated (--isolated) or storage-state profiles when it launches its own browser
- stdio, or HTTP with --port; --cdp-endpoint for a remote browser
- Chromium, Firefox and WebKit when it launches the browser itself

## Limitations

- Extension mode works only in Chrome and Edge: Firefox and WebKit only when it launches its own browser[^2][^3]
- Can't control a tab whose page has a frame from another extension or a chrome:// URL: Chrome detaches the debugger[^3]
- Can't change browser-wide state in extension mode: adding or clearing cookies and granting permissions are refused[^3]
- Isn't a security boundary: an agent connected to it can act as you on every site the browser is signed into[^2]

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known

## Trust

Overall: 0.48 out of 1.
Signals: backing 0.55, extensibility 0.40.

- backed by Microsoft
- funding: public company (NASDAQ:MSFT)
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Related

- Based on [Playwright](https://talira.ai/catalog/playwright-r7fvkefh.md)

## Alternatives

- [Browser MCP](https://talira.ai/catalog/browser-mcp-1dytbwa4.md): Let AI apps use your real Chrome, with your logins, in tabs you can watch and stop
- [Browser Use](https://talira.ai/catalog/browser-use-3hmeprb9.md): Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API
- [Claude in Chrome](https://talira.ai/catalog/claude-in-chrome-keesa51a.md): Anthropic's Chrome extension: Claude browses, clicks and fills forms in your own browser
- [Real Browser MCP](https://talira.ai/catalog/real-browser-mcp-ykwkdszd.md): MCP server and Chrome extension for the Chrome you already have open
- [BrowserTools MCP](https://talira.ai/catalog/browsertools-mcp-96829jqz.md): Give your AI coding agent eyes on the browser: console, network, screenshots and Lighthouse audits
- [mcp-chrome](https://talira.ai/catalog/mcp-chrome-nsk9zv83.md): Chrome MCP Server: a Chrome extension that exposes your browser to AI assistants over MCP

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://github.com/microsoft/playwright-mcp (checked 20 Nov 2026)
[^3]: https://github.com/microsoft/playwright/blob/main/packages/extension/README.md (checked 20 Nov 2026)
[^4]: https://github.com/microsoft/playwright-mcp/blob/main/LICENSE (checked 20 Nov 2026)
[^5]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
