# Playwright MCP

[BASE product page](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/>) · [Resource](<https://github.com/microsoft/playwright-mcp>)

ID: microsoft\-playwright\-mcp · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Microsoft's official MCP server lets an agent open pages, find elements, and perform actions through structured browser accessibility snapshots\. It is useful for checking web applications\.

## Type

An MCP for browser automation

## Entry type

mcp

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-access>)

The Apache 2\.0 server and local browser automation are free\.

## [Paid features and costs](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-access>)

The agent model, third\-party websites, and external infrastructure have separate costs\.

## [Access and limitations](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-access>)

The Apache 2\.0 server and local browser automation are free\. The agent model, third\-party websites, and external infrastructure have separate costs\.

## [Use cases](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-tasks>)

- Navigate a form and check a user workflow
- Explore the DOM, errors, and behavior of a local website

## Tech stack

- Node\.js

## Category IDs

- integrations
- quality

## Subcategory IDs

- integrations\.code
- quality\.testing
- quality\.responsive

## Tags

- MCP
- Playwright
- Browser
- Node\.js
- Codex

## [Selection purpose](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-selection>)

Let an agent explore a web page and control a browser through structured accessibility snapshots\.

## [Choose this when](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-selection>)

- An unfamiliar form or navigation needs exploration\.
- Interactive agent analysis of page state is needed\.

## [Consider alternatives when](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-selection>)

- A saved Playwright test is preferable for ongoing regression; consider Playwright CLI for an agent using a CLI\.

## [Requirements](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-selection>)

- A compatible MCP client, a supported Node\.js version, and browser configuration\.

## [Limitations](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-selection>)

- An accessibility snapshot does not confirm visual design quality\.
- Browser actions use the current session's access\.

## [Questions before use](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-faq>)

### Is this a complete accessibility audit?

No\. The snapshot helps find elements but does not replace keyboard, visual contrast, and assistive technology checks\.

## Related resources selected by editors

- playwright: Alternative for regression: the scenario is stored in code and repeated in CI\.
- playwright\-cli: Alternative connection: browser commands for an agent workflow\.

## Sources for the selection guide

- [https://github\.com/microsoft/playwright\-mcp](<https://github.com/microsoft/playwright-mcp>)

## [Possible workflow](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-scenario>)

Explore form submission on a test website\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A test URL and form scenario\.
- An MCP client and a separate test browser session\.

## Steps

1. Open the page and inspect the element snapshot\.
2. Fill the form with test data and check confirmation\.
3. Check invalid input and separately inspect the display\.

## Check your result

- Page state confirms success\.
- The error is reproducible; real user data is unnecessary\.

## [License](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-license>)

Apache\-2\.0\.

## License explanations for the specified scope

### Apache 2\.0 — permissive license with patent terms

You can use and modify the code in commercial and closed\-source projects\. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided\. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks\.

[License terms](<https://www.apache.org/licenses/LICENSE-2.0>)

## Related resource IDs

- playwright
- playwright\-cli

## [Usage details](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-notes>)

The README contains Codex configuration\. A supported Node\.js version and browser are required\. An accessibility snapshot does not replace visual checks of the layout and images\. The server acts with the browser user's permissions\.

## [Sources](<https://base.akulich.dev/en/library/microsoft-playwright-mcp/#resource-sources>)

- [Source code](<https://github.com/microsoft/playwright-mcp>)
- [License](<https://github.com/microsoft/playwright-mcp/blob/main/LICENSE>)

## Editorial review date

2026\-10\-04

## Selection guide review date

2026\-10\-07

## Editorial review scope

The purpose and published terms have been reviewed against the cited primary sources\. This page does not confirm that the product was run or tested in every environment\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
