A
security – no known vulnerabilities (report Issue)
F
license - not found
A
quality - confirmed to work

A Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.

  1. Schema
  2. Server Configuration
  3. README.md
  4. Reviews

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Browser console logs

Tools

Functions exposed to the LLM to take actions

NameDescription
playwright_navigateNavigate to a URL
playwright_screenshotTake a screenshot of the current page or a specific element
playwright_clickClick an element on the page
playwright_fillfill out an input field
playwright_selectSelect an element on the page with Select tag
playwright_hoverHover an element on the page
playwright_evaluateExecute JavaScript in the browser console
playwright_getPerform an HTTP GET request
playwright_postPerform an HTTP POST request
playwright_putPerform an HTTP PUT request
playwright_patchPerform an HTTP PATCH request
playwright_deletePerform an HTTP DELETE request

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

README.md

Playwright MCP Server

A Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.

<a href="https://glama.ai/mcp/servers/yh4lgtwgbe"><img width="380" height="200" src="https://glama.ai/mcp/servers/yh4lgtwgbe/badge" alt="mcp-playwright MCP server" /></a>

Screenshot

Documentation | API reference

Installation

You can install the package using either npm, mcp-get, or Smithery:

Using npm:

npm install -g @executeautomation/playwright-mcp-server

Using mcp-get:

npx @michaellatman/mcp-get@latest install @executeautomation/playwright-mcp-server

Using Smithery

To install Playwright MCP for Claude Desktop automatically via Smithery:

npx @smithery/cli install @executeautomation/playwright-mcp-server --client claude

Configuration to use Playwright Server

Here's the Claude Desktop configuration to use the Playwright server:

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

GitHub Badge

Glama performs regular codebase and documentation scans to:

  • Confirm that the MCP server is working as expected.
  • Confirm that there are no obvious security issues with dependencies of the server.
  • Extract server characteristics such as tools, resources, prompts, and required parameters.

Our directory badge helps users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.

Copy the following code to your README.md file:

Rate & Review

Star IconStar IconStar IconStar IconStar Icon

Alternative MCP servers

  • A
    security
    A
    license
    A
    quality
    Provides screenshot and OCR capabilities for macOS.
    Last updated December 27, 2024
    MIT License
    • Apple
  • A
    security
    F
    license
    A
    quality
    This server provides cloud browser automation capabilities using Browserbase, Puppeteer, and Stagehand. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a cloud browser environment.
    Last updated December 12, 2024
  • A
    security
    A
    license
    A
    quality
    Enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment
    Last updated December 21, 2024
    MIT License
    • Apple