1. Conduid
  2. Automation
  3. executeautomation/playwright-mcp-server
MCP server · Automation

executeautomation/playwright-mcp-server

Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌

Unclaimed MIT last commit 11 months ago automation
77Good

Scored 8 hours ago · breakdown

About executeautomation/playwright-mcp-server

executeautomation/playwright-mcp-server is an MCP server published by executeautomation in the Automation category: playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌. Conduid read 33 tools from its source: clear_codegen_session, end_codegen_session, get_codegen_session, playwright_assert_response, playwright_click, playwright_click_and_switch_tab and 27 more. It is published to npm as @executeautomation/playwright-mcp-server and starts with npx.

The repository has 5.7K stars and 541 forks, is licensed MIT, and its last commit was on 13 Dec 2025. Conduid has no tagged release on record for it. It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include automation.

Install

Claude Code
claude mcp add playwright-executea -- npx @executeautomation/playwright-mcp-server
Run
npx @executeautomation/playwright-mcp-server
From source
git clone https://github.com/executeautomation/mcp-playwright

Tools (33)

clear_codegen_sessionClear a code generation session
ParameterTypeDescription
sessionId *stringID of the session to clear
end_codegen_sessionEnd the current code generation session and generate Playwright test
ParameterTypeDescription
sessionId *stringID of the session to end
get_codegen_sessionGet information about a code generation session
ParameterTypeDescription
sessionId *stringID of the session to retrieve
playwright_assert_responseWait for and validate a previously initiated HTTP response wait operation.
ParameterTypeDescription
id *stringIdentifier of the HTTP response initially expected using `Playwright_expect_response`.
valuestringData to expect in the body of the HTTP response. If provided, the assertion will fail if this value is not found in the response body.
playwright_clickClick an element on the page
ParameterTypeDescription
selector *stringCSS selector for the element to click
playwright_click_and_switch_tabClick a link and switch to the newly opened tab
ParameterTypeDescription
selector *stringCSS selector for the link to click
playwright_closeClose the browser and release all resources
playwright_console_logsRetrieve console logs from the browser with filtering options
ParameterTypeDescription
clearbooleanWhether to clear logs after retrieval (default: false)
limitnumberMaximum number of logs to return
searchstringText to search for in logs (handles text with square brackets)
typestringType of logs to retrieve (all, error, warning, log, info, debug, exception)
playwright_custom_user_agentSet a custom User Agent for the browser
ParameterTypeDescription
userAgent *stringCustom User Agent for the Playwright browser instance
playwright_deletePerform an HTTP DELETE request
ParameterTypeDescription
headersobjectAdditional headers to include in the request
tokenstringBearer token for authorization
url *stringURL to perform DELETE operation
playwright_dragDrag an element to a target location
ParameterTypeDescription
sourceSelector *stringCSS selector for the element to drag
targetSelector *stringCSS selector for the target location
playwright_evaluateExecute JavaScript in the browser console
ParameterTypeDescription
script *stringJavaScript code to execute
playwright_expect_responseAsk Playwright to start waiting for a HTTP response. This tool initiates the wait operation but does not wait for its completion.
ParameterTypeDescription
id *stringUnique & arbitrary identifier to be used for retrieving this response later with `Playwright_assert_response`.
url *stringURL pattern to match in the response.
playwright_fillfill out an input field
ParameterTypeDescription
selector *stringCSS selector for input field
value *stringValue to fill
playwright_getPerform an HTTP GET request
ParameterTypeDescription
headersobjectAdditional headers to include in the request
tokenstringBearer token for authorization
url *stringURL to perform GET operation
playwright_get_visible_htmlGet the HTML content of the current page. By default, all <script> tags are removed from the output unless removeScripts is explicitly set to false.
ParameterTypeDescription
cleanHtmlbooleanPerform comprehensive HTML cleaning (default: false)
maxLengthnumberMaximum number of characters to return (default: 20000)
minifybooleanMinify the HTML output (default: false)
removeCommentsbooleanRemove all HTML comments (default: false)
removeMetabooleanRemove all meta tags from the HTML (default: false)
removeScriptsbooleanRemove all script tags from the HTML (default: true)
removeStylesbooleanRemove all style tags from the HTML (default: false)
selectorstringCSS selector to limit the HTML to a specific container
playwright_get_visible_textGet the visible text content of the current page
playwright_go_backNavigate back in browser history
playwright_go_forwardNavigate forward in browser history
playwright_hoverHover an element on the page
ParameterTypeDescription
selector *stringCSS selector for element to hover
playwright_iframe_clickClick an element in an iframe on the page
ParameterTypeDescription
iframeSelector *stringCSS selector for the iframe containing the element to click
selector *stringCSS selector for the element to click
playwright_iframe_fillFill an element in an iframe on the page
ParameterTypeDescription
iframeSelector *stringCSS selector for the iframe containing the element to fill
selector *stringCSS selector for the element to fill
value *stringValue to fill
playwright_navigateNavigate to a URL
ParameterTypeDescription
browserTypestringBrowser type to use (chromium, firefox, webkit). Defaults to chromium
headlessbooleanRun browser in headless mode (default: false)
heightnumberViewport height in pixels (default: 720)
timeoutnumberNavigation timeout in milliseconds
url *stringURL to navigate to the website specified
waitUntilstringNavigation wait condition
widthnumberViewport width in pixels (default: 1280)
playwright_patchPerform an HTTP PATCH request
ParameterTypeDescription
headersobjectAdditional headers to include in the request
tokenstringBearer token for authorization
url *stringURL to perform PATCH operation
value *stringData to PATCH in the body
playwright_postPerform an HTTP POST request
ParameterTypeDescription
headersobjectAdditional headers to include in the request
tokenstringBearer token for authorization
url *stringURL to perform POST operation
value *stringData to post in the body
playwright_press_keyPress a keyboard key
ParameterTypeDescription
key *stringKey to press (e.g. 'Enter', 'ArrowDown', 'a')
selectorstringOptional CSS selector to focus before pressing key
playwright_putPerform an HTTP PUT request
ParameterTypeDescription
headersobjectAdditional headers to include in the request
tokenstringBearer token for authorization
url *stringURL to perform PUT operation
value *stringData to PUT in the body
playwright_resizeResize the browser viewport using manual dimensions or device presets. Supports 143+ device presets including iPhone, iPad, Android devices, and desktop browsers with proper user-agent and touch emulation.
ParameterTypeDescription
devicestringDevice preset name (e.g., 'iPhone 13', 'iPad Pro 11', 'Pixel 7', 'Galaxy S24', 'Desktop Chrome'). Automatically configures viewport, user-agent, and device capabilities. Use playwright.devices to see all available devices.
heightnumberViewport height in pixels (for manual resize without device preset)
orientationstringDevice orientation: 'portrait' or 'landscape' (only applies when using device preset)
widthnumberViewport width in pixels (for manual resize without device preset)
playwright_save_as_pdfSave the current page as a PDF file
ParameterTypeDescription
filenamestringName of the PDF file (default: page.pdf)
formatstringPage format (e.g. 'A4', 'Letter')
marginobjectPage margins
outputPath *stringDirectory path where PDF will be saved
printBackgroundbooleanWhether to print background graphics
playwright_screenshotTake a screenshot of the current page or a specific element
ParameterTypeDescription
downloadsDirstringCustom downloads directory path (default: user's Downloads folder)
fullPagebooleanStore screenshot of the entire page (default: false)
heightnumberHeight in pixels (default: 600)
name *stringName for the screenshot
savePngbooleanSave screenshot as PNG file (default: false)
selectorstringCSS selector for element to screenshot
storeBase64booleanStore screenshot in base64 format (default: true)
widthnumberWidth in pixels (default: 800)
playwright_selectSelect an element on the page with Select tag
ParameterTypeDescription
selector *stringCSS selector for element to select
value *stringValue to select
playwright_upload_fileUpload a file to an input[type='file'] element on the page
ParameterTypeDescription
filePath *stringAbsolute path to the file to upload
selector *stringCSS selector for the file input element
start_codegen_sessionStart a new code generation session to record MCP tool actions
ParameterTypeDescription
optionsobjectCode generation options

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.2K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

1 check has not been run yet.

README

The repository's README runs to about 1.2K words, fetched 7 days ago. The original in the repository is authoritative.

Read full README
Questions

About executeautomation/playwright-mcp-server

How do I install executeautomation/playwright-mcp-server?

In Claude Code, run claude mcp add playwright-executea -- npx @executeautomation/playwright-mcp-server. Other MCP clients take the command after "--" in their server configuration.

Is executeautomation/playwright-mcp-server safe to use with an AI agent?

Its trust score is 77 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is executeautomation/playwright-mcp-server still maintained?

The last commit was 11 months ago and 50 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does executeautomation/playwright-mcp-server provide?

Conduid read 33 tools from the source: clear_codegen_session, end_codegen_session, get_codegen_session, playwright_assert_response, playwright_click, playwright_click_and_switch_tab, playwright_close, playwright_console_logs and 25 more. 29 of them publish their parameters, listed under Tools above.

What license is executeautomation/playwright-mcp-server released under?

The repository declares the MIT license.