Builders: list your MCP server or AI tool for free.Submit a listing
Web research and scrapingMCP serverOfficial

Playwright MCP Server

Let an AI client open a real browser, click through pages and check how a landing page behaves

By MicrosoftLast checked Local server

In short: Microsoft's open-source Playwright MCP server lets an AI client drive a real browser to test landing pages, fill forms and take screenshots.

What it does

Playwright MCP is an open-source server from Microsoft, built on the Playwright browser automation library. It lets an AI client open a real browser on your computer, move through pages and act on them. It reads pages through their accessibility tree, a structured list of headings, links, buttons and fields, so the client does not need to interpret screenshots.

A typical request: “Open our new landing page on a mobile screen size, fill in the demo form with test data and tell me if the thank-you page loads and the console shows any errors.”

Good uses for marketing teams

  • Landing page checks before launch, on desktop and mobile sizes
  • Testing sign-up and demo forms end to end with test data
  • Spotting broken links, console errors and failed network requests, including tracking calls
  • Taking screenshots of competitor pages for a review deck
  • Walking through a checkout or onboarding flow to find friction

Things to know

  • Setup takes a few minutes if Node.js is installed. No account or API key is needed.
  • The browser can click, type and submit forms, so it can change things on live sites. Use test data and staging pages where you can.
  • Microsoft notes that Playwright MCP is not a security boundary. Do not point it at sites or accounts you would not trust the AI client with.
  • The persistent profile keeps cookies and logins between sessions. Use –isolated for clean test sessions.
  • Respect site terms and robots rules when you visit pages you do not own, and avoid heavy automated browsing of other sites.
  • Microsoft suggests coding agents may prefer the Playwright CLI with skills, which uses less context.

What it can do

  • Open pages in Chrome, Edge, Firefox or WebKit and navigate between them
  • Read the page through its accessibility tree, so no vision model is needed
  • Click links and buttons, type into fields, fill forms and pick options
  • Take screenshots of the page or a single element
  • Read console messages and network requests to spot errors and failed tracking calls
  • Resize the browser to check mobile and desktop layouts
  • Save pages as PDF when the pdf capability is turned on

How to set it up

  1. Install Node.js 20 or newer on your computer.
  2. Add the server to your AI client with the standard configuration below. In Claude Code you can run claude mcp add playwright npx @playwright/mcp@latest instead.
  3. Restart the client. The first run downloads the package and opens a browser window when the client uses a browser tool.
  4. Add flags such as --headless, --isolated or --caps=pdf to the args list if you need them.
  5. Ask the client to open your homepage and describe the main call to action to confirm it works.

Example client configuration from the publisher’s docs. Replace the placeholder values with your own.

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["@playwright/mcp@latest"]
    }
  }
}

Works with

Based on the publisher’s documentation and the transport the server uses. Check the publisher’s docs for the latest list.

Questions about Playwright MCP Server

Can Playwright MCP check a page that needs a login?

Yes. By default it keeps a persistent browser profile, so you can sign in once in the window it opens. A browser extension for Chrome and Edge can also connect it to tabs where you are already signed in.

Does it send my browsing data to Microsoft?

The server runs locally and drives a browser on your machine. What the AI client sees depends on your client, so read your client's data policy before testing pages with private data.

Sources

We checked this listing against these pages on 29 November 2026.

Spotted something out of date? Email listings@marketingmcphub.com.