playwright-mcp-server
by alexrwilliam
Overview
Provides a minimal yet robust server for AI agents to automate web browser interactions including navigation, DOM manipulation, and network monitoring, with an emphasis on token-aware outputs.
Installation
playwright-mcp stdioSecurity Notes
The `evaluate` tool allows executing arbitrary JavaScript in the browser context, which is a significant security risk if exposed to untrusted clients or AI agents that can be manipulated. Similarly, `intercept_route` can block, modify, or fulfill network requests, posing risks for data integrity and security bypass. While artifact path traversal is prevented, these core functionalities are inherently powerful and dangerous without strict input validation or sandboxing. Running this server should only be done in a highly controlled and isolated environment with trusted inputs.
Similar Servers
playwright-mcp
A Model Context Protocol (MCP) server enabling LLMs to automate browser interactions through structured accessibility snapshots, bypassing traditional vision models.
fetcher-mcp
Fetch web page content using a Playwright headless browser, capable of handling dynamic JavaScript, intelligent content extraction, and parallel URL processing.
qa-use
Provides browser automation and QA testing capabilities for AI agents, including automated tests, session monitoring, and batch execution.
fetcher-mcp
Fetches web page content using Playwright headless browser for AI-powered content retrieval.