MCP.so
Sign In

MCP Server Playwright

@thesimsguy

Basic information

Category

Browser Automation

License

MIT license

Transports

stdio

Author

thesimsguy

About MCP Server Playwright

No overview available yet

MCP Server Playwright config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-server-playwright-thesimsguy": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@automatalabs/mcp-server-playwright",
        "--client",
        "claude"
      ]
    }
  }
}

MCP Server Playwright tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is MCP Server Playwright?

MCP Server Playwright is a Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. It enables large language models (LLMs) to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.

How to use MCP Server Playwright?

Install the server via Smithery (npx -y @smithery/cli install @automatalabs/mcp-server-playwright --client claude) or using npx (npx @automatalabs/mcp-server-playwright install) or mcp-get. The installation process checks OS compatibility and automatically creates or updates the Claude desktop configuration file at the appropriate path. The required configuration adds a playwright entry under mcpServers in the Claude config.

Key features of MCP Server Playwright

  • Full browser automation capabilities
  • Screenshot capture of entire pages or specific elements
  • Comprehensive web interaction (navigation, clicking, form filling)
  • Console log monitoring
  • JavaScript execution in browser context

Use cases of MCP Server Playwright

  • LLM-driven web page navigation and data extraction
  • Visual feedback through screenshot capture for LLM agents
  • Automated form filling and element interaction
  • Executing custom JavaScript in the browser console
  • Monitoring browser console logs for debugging

Frequently asked questions

1

What tools does MCP Server Playwright provide?

It provides tools for navigation (`browser_navigate`), screenshot capture (`browser_screenshot`), clicking elements (`browser_click`, `browser_click_text`), hovering (`browser_hover`, `browser_hover_text`), filling input fields (`browser_fill`), selecting options (`browser_select`, `browser_select_text`), and executing JavaScript (`browser_evaluate`).

2

How do I capture a screenshot?

Use the `browser_screenshot` tool with a required `name` parameter and optional `selector` and `fullPage` booleans (default `false`). The captured screenshot is then accessible via the `screenshot://<n>` resource.

3

Can I run JavaScript in the browser?

Yes, use the `browser_evaluate` tool with a `script` parameter (e.g., `"document.title"`) to execute JavaScript in the browser console.

4

Where are screenshots and console logs stored?

Screenshots are available as PNG images at `screenshot://<n>`, referenced by the name given during capture. Console logs are available as text at `console://logs`, including all browser console messages.

5

How do I configure MCP Server Playwright with Claude?

After installation, the Claude config file is automatically updated with a `playwright` entry: `"command": "npx"`, `"args": ["-y", "@automatalabs/mcp-server-playwright"]`. On Windows the config is at `%APPDATA%\Claude\claude_d

Comments

More Browser Automation MCP servers