Browser AutomationFreeactive500K+ installs

Playwright MCP

Official Microsoft MCP server for browser automation and web scraping using the Playwright accessibility tree.

by Microsoft|MIT License|Updated 2026-06-21

Looking for more MCP servers? Browse the full MCP tools directory or explore more tools in Browser Automation.

Quick overview

Playwright MCP is the official browser automation server from Microsoft, built on Playwright's accessibility tree for fast and reliable web automation without screenshots. It enables AI assistants to navigate pages, click elements, fill forms, extract content, and run end-to-end testing scenarios. With over 500K installs, it is one of the most widely adopted MCP servers for browser automation.

What this MCP server is best for

  • Automating websites, testing flows, and extracting page data using Playwright MCP.
  • Running browser tasks like clicking, filling forms, and scraping structured content.
  • Supporting QA, research, and workflow automation for modern web apps.

When to choose it

Choose Playwright MCP when you need browser automation, testing, scraping, or page interaction rather than API-only access.

Good fit

browserautomationplaywrightweb-scrapingtestingaccessibility

Playwright MCP Configuration

Use the following configuration as a starting point for Claude Desktop or any compatible MCP client, then replace placeholder credentials with your own values.

claude_desktop_config.json
{"mcpServers":{"playwright":{"command":"npx","args":["@playwright/mcp@latest"]}}}
Ad Space

How to set up Playwright MCP

These setup steps cover the typical installation flow for this MCP server. Double-check permissions, tokens, and environment variables before connecting it to your AI client.

  1. 1

    Ensure Node.js 18+ is installed on your system

  2. 2

    Add the Playwright MCP config to your claude_desktop_config.json

  3. 3

    Restart Claude Desktop

  4. 4

    Ask Claude to open a URL, click a button, or fill a form on any website

Frequently asked questions

Common questions, setup guidance, and compatibility notes for Playwright MCP.

What is Playwright MCP used for?

Playwright MCP is used for browser automation, web scraping, form filling, testing websites, and navigating web pages via AI.

Does Playwright MCP require screenshots?

No. It uses the accessibility tree by default for faster and more reliable automation without capturing screenshots.

Is Playwright MCP the official Microsoft server?

Yes. It is maintained by Microsoft and part of their official MCP server collection.

Can Playwright MCP extract data from websites?

Yes. It can navigate to pages and extract structured text, links, and element content.

Does it support headless browser mode?

Yes. It supports both headless and headed browser modes depending on your configuration.

Related tools

Explore similar MCP servers in the same category or with overlapping capabilities.

Tags

BrowserAutomationPlaywrightWeb ScrapingTestingAccessibility
Ad Space
GitHubNPM