Skip to content

Summary

Browser automation for agents — navigate, click, type, and read pages using Playwright's accessibility tree, no screenshots required.

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "Playwright" tools will be available.
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "@playwright/mcp@latest"
      ]
    }
  }
}

Description

Microsoft's official Playwright MCP server. It lets an agent drive a real browser through Playwright — navigating, clicking, filling forms, and reading page content via the accessibility tree — enabling reliable web automation and end-to-end testing without relying on pixel screenshots.

Related MCP Servers

MCP: nuphus-mcp

by Nuphus Team

Computer use for any MCP client: 36 tools covering screenshots, window control, mouse and keyboard, and Chrome over CDP, with local OCR built in and vision on your own key.

MCP: Chrome DevTools MCP

by Google Chrome DevTools team

Google's official MCP server for driving and inspecting a real Chrome browser — automation, debugging, and performance traces.

Daytona's official MCP server: give an agent a disposable cloud sandbox with a file system, git, process execution, computer use and a live preview URL.

Browse all MCP servers →