Skip to content

Playwright MCP Server

Untested

An MCP server using Playwright for browser automation and webscrapping

by executeautomation 5,309 MIT TypeScript Intermediate stdio

Install

Claude Code

claude mcp add mcp-playwright -- npx -y @executeautomation/playwright-mcp-server

Safety Report

83% Untested
Scanned yesterday
5 passed 1 warnings
Security
Authentication
details

No authentication required. Runs locally; HTTP mode binds to localhost only with external access blocked by design.

Info
CORS Policy
details

HTTP mode explicitly blocks external access; only localhost connections allowed.

Pass
Rate Limiting
details

No rate limiting documented.

Warning
Known CVEs
details

No known CVEs. Security assessment badges present from MseeP.ai and Archestra.ai.

Info
Code Quality
Dependency Audit
details

Published on npm as @executeautomation/playwright-mcp-server. MseeP.ai security assessment badge and Archestra.ai trust score badges displayed.

Info
Dangerous Patterns
details

No dangerous code patterns detected

Pass
License
details

MIT license.

Pass
Code Source
details

Open source on GitHub.

Pass
Community
Maintenance Status
details

Actively maintained by ExecuteAutomation. Regular releases on npm.

Pass

Learn about our security methodology →

Compatibility

Claude CodeInstall via npm; configure in MCP settings.
Not Tested
CursorSupported via standard MCP configuration.
Not Tested
VS CodeOne-click install buttons provided for VS Code and VS Code Insiders.
Not Tested
WindsurfWorks via standard MCP stdio transport.
Not Tested
Claude DesktopInstall via Smithery: npx @smithery/cli install @executeautomation/playwright-mcp-server --client claude.
Not Tested

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