mcp-servers
Verified Safeby mcpservershub
Overview
The Playwright MCP Server enables AI agents to automate web browser interactions using Playwright. It provides tools for navigation, element manipulation (click, type, hover), tab management, content extraction (snapshots, screenshots, console, network), file uploads, PDF generation, and Playwright test generation. It primarily uses structured accessibility data for robust and LLM-friendly web automation, with an optional visual mode.
Installation
npx @playwright/mcp@latestEnvironment Variables
- DEBUG
- PW_BROWSER_AGENT
Security Notes
1. The `execute_script` tool allows arbitrary JavaScript execution within the browser's context. While an intended feature for browser automation, it's inherently high-privilege. 2. User-provided `outputDir` for generated files (screenshots, PDFs, traces) could be configured to sensitive filesystem locations. Although filenames are sanitized, writing arbitrary browser output to critical system directories poses a risk if the server runs with elevated privileges. 3. The `browser_install` tool executes `playwright install` via `child_process.fork`, requiring appropriate system permissions.
Similar Servers
mcpm.sh
MCPM is a command-line tool for managing Model Context Protocol (MCP) servers, enabling discovery, installation, execution, sharing, and integration with various MCP clients.
mcp-interviewer
A Python CLI tool to evaluate Model Context Protocol (MCP) servers for agentic use-cases, by inspecting capabilities, running functional tests, and providing LLM-as-a-judge evaluations.
treesitter-mcp
Provides a Model Context Protocol (MCP) server and CLI for static code analysis using Tree-sitter.
uv-mcp
Provides AI-native environment diagnostics, repair, and dependency management for Python projects using the uv package manager.