home / mcp / playwright mcp server

Playwright MCP Server

MCP server for browser automation using Playwright

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "vikashloomba-mcp-server-playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@automatalabs/mcp-server-playwright"
      ]
    }
  }
}

Available tools

browser_navigate

Navigate to a URL in the browser and load the target page.

browser_screenshot

Capture a screenshot of the full page or a specific element by selector.

browser_click

Click an element on the page using a CSS selector.

browser_click_text

Click an element by its visible text content.

browser_hover

Hover the cursor over an element identified by a CSS selector.

browser_hover_text

Hover over an element by its visible text content.

browser_fill

Fill an input field identified by a selector with a value.

browser_select

Select an option in a SELECT element by CSS selector.

browser_select_text

Select an option in a SELECT element by its visible text.

browser_evaluate

Execute JavaScript in the browser context and return the result.