MCP Hub
Back to servers

Playwright MCP Server for Security

A specialized MCP server that provides browser automation capabilities through Playwright, allowing LLMs to perform web scraping, execute JavaScript, and capture screenshots.

Updated
Dec 19, 2025

Playwright MCP Server for Security 🎭

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

Installation

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

Using npm:

npm install -g @gelenlen/playwright-mcp-server-security

Installation in VS Code

Install the Playwright MCP server in VS Code using one of these buttons:

Install in VS Code Install in VS Code Insiders

Alternatively, you can install the Playwright MCP server using the VS Code CLI:

# For VS Code
code --add-mcp '{"name":"playwright","command":"npx","args":["@gelenlen/playwright-mcp-server-security"]}'
# For VS Code Insiders
code-insiders --add-mcp '{"name":"playwright","command":"npx","args":["@gelenlen/playwright-mcp-server-security"]}'

After installation, the ExecuteAutomation Playwright MCP server will be available for use with your GitHub Copilot agent in VS Code.

Configuration to use Playwright Server

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

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

Reviews

No reviews yet

Sign in to write a review