Playwright MCP Server
UntestedAn MCP server using Playwright for browser automation and webscrapping
Install
Claude Code
claude mcp add mcp-playwright -- npx -y @executeautomation/playwright-mcp-serverSafety Report
details
No authentication required. Runs locally; HTTP mode binds to localhost only with external access blocked by design.
details
HTTP mode explicitly blocks external access; only localhost connections allowed.
details
No rate limiting documented.
details
No known CVEs. Security assessment badges present from MseeP.ai and Archestra.ai.
details
Published on npm as @executeautomation/playwright-mcp-server. MseeP.ai security assessment badge and Archestra.ai trust score badges displayed.
details
No dangerous code patterns detected
details
MIT license.
details
Open source on GitHub.
details
Actively maintained by ExecuteAutomation. Regular releases on npm.
Compatibility
Tools Provided (28)
Playwright_navigate Navigate to a URL in the browser with configurable viewport and browser settings.
Playwright_screenshot Capture screenshots of the entire page or specific elements.
Playwright_click Click elements on the page.
Playwright_fill Fill out input fields on the page.
Playwright_hover Hover over elements on the page.
Playwright_select Select an option from a SELECT element.
Playwright_evaluate Execute JavaScript in the browser console.
Playwright_console_logs Retrieve browser console logs with filtering by type and search criteria.
Playwright_close Close the browser and release all resources.
Playwright_resize Resize the browser viewport at runtime to test responsive layouts across 143+ device presets.
Playwright_iframe_click Click elements inside an iframe on the page.
Playwright_iframe_fill Fill elements inside an iframe on the page.
Playwright_expect_response Start waiting for an HTTP response matching specified criteria.
Playwright_assert_response Wait for and validate a previously initiated HTTP response.
playwright_click_and_switch_tab Click a link and switch focus to the newly opened tab.
playwright_custom_user_agent Set a custom User Agent string for the browser.
playwright_get_visible_text Get the visible text content of the current page.
playwright_get_visible_html Get the full HTML content of the current page.
playwright_go_back Navigate back in browser history.
playwright_go_forward Navigate forward in browser history.
playwright_drag Drag an element to a target location on the page.
playwright_press_key Press a keyboard key in the browser.
playwright_save_as_pdf Save the current page as a PDF file.
playwright_upload_file Upload a file to an input[type='file'] element on the page.
start_codegen_session Start a new code generation session to record Playwright actions into a test script.
end_codegen_session End a code generation session and generate the resulting test file.
get_codegen_session Get information and status about an active code generation session.
clear_codegen_session Clear a code generation session without generating a test file.
Frequently Asked Questions
What is Playwright MCP Server?
An MCP server using Playwright for browser automation and webscrapping
What tools does Playwright MCP Server provide?
Playwright MCP Server provides 28 tools including Playwright_navigate, Playwright_screenshot, Playwright_click, Playwright_fill. Each tool can be called by AI agents to perform specific operations.
Is Playwright MCP Server safe to use?
Playwright MCP Server has not yet been security scanned. We recommend reviewing the source code and safety report before use.
What are alternatives to Playwright MCP Server?
Similar MCP servers include Scrapling MCP Server, Chrome DevTools MCP, Playwright MCP. Each serves a similar purpose but may differ in features, language, and compatibility.
Similar MCP Servers
Scrapling MCP Server
CautionWeb scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Chrome DevTools MCP
CautionMCP server for Chrome DevTools
Playwright MCP
VerifiedOfficial Microsoft Playwright MCP server, enabling LLMs to interact with web pages through structured accessibility snapshots