Playwright MCP Server

Stabledevelopment
850 starsTypeScriptmicrosoft
GitHub
About

Overview

The Playwright MCP Server enables AI agents to automate web browsers using Playwright. It supports Chromium, Firefox, and WebKit, providing tools for navigation, element interaction, screenshots, PDF generation, and network interception. Ideal for cross-browser testing and web automation.
Capabilities

Tools & Capabilities

navigate

Navigate to a URL in any supported browser

screenshot

Take a screenshot of the page or element

click

Click an element using Playwright selectors

fill

Fill an input field

evaluate

Execute JavaScript in the page context

get_text

Get text content from the page or element

pdf

Generate a PDF of the page

Setup

Installation

bash
Install
npx -y @playwright/mcp-server
Examples

Example Usage

javascript
Usage
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["-y", "@playwright/mcp-server"]
    }
  }
}

Quick Info

Authormicrosoft
LanguageTypeScript
StatusStable
Stars 850
Last UpdatedFeb 12, 2026

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow.

Get in Touch

Need a Custom MCP Server?

Our team builds custom MCP servers tailored to your workflow. From proprietary data sources to internal tools, we have you covered.

Contact Us
CortexAgent Customer Service

Want to skip the form?

Our team is available to help you get started with CortexAgent.

This chat may be recorded for quality assurance. You can view our Privacy Policy.