About Playwright MCP
Playwright MCP is an MCP server published by cloudflare in the Cloud category: playwright MCP fork that works with Cloudflare Browser Rendering. Conduid read 30 tools from its source: browser_click, browser_close, browser_console_messages, browser_drag, browser_file_upload, browser_generate_playwright_test and 24 more. No package is published for it, so it installs from a source checkout.
The repository has 261 stars and 51 forks, is licensed Apache-2.0, and its last commit was on 23 Apr 2026. The latest release is v0.0.5 (29 Jul 2025). It follows v0.0.4 (7 Jul 2025), and the 3 most recent releases go back to v0.0.3 (8 May 2025). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include browser-rendering, playwright and cloud.
Install
git clone https://github.com/cloudflare/playwright-mcpTools (30)
browser_clickPerform click on a web pagebrowser_closeClose the pagebrowser_console_messagesReturns all console messagesbrowser_dragPerform drag and drop between two elements| Parameter | Type | Description |
|---|---|---|
| endElement * | string | Human-readable target element description used to obtain the permission to interact with the element |
| endRef * | string | Exact target element reference from the page snapshot |
| startElement * | string | Human-readable source element description used to obtain the permission to interact with the element |
| startRef * | string | Exact source element reference from the page snapshot |
browser_file_uploadUpload one or multiple files| Parameter | Type | Description |
|---|---|---|
| paths * | array | The absolute paths to the files to upload. Can be a single file or multiple files. |
browser_generate_playwright_testGenerate a Playwright test for given scenario| Parameter | Type | Description |
|---|---|---|
| description * | string | The description of the test |
| name * | string | The name of the test |
| steps * | array | The steps of the test |
browser_handle_dialogHandle a dialog| Parameter | Type | Description |
|---|---|---|
| accept * | boolean | Whether to accept the dialog. |
| promptText | string | The text of the prompt in case of a prompt dialog. |
browser_hoverHover over element on page| Parameter | Type | Description |
|---|---|---|
| element * | string | Human-readable element description used to obtain permission to interact with the element |
| ref * | string | Exact target element reference from the page snapshot |
browser_installInstall the browser specified in the config. Call this if you get an error about the browser not being installed.browser_navigateNavigate to a URL| Parameter | Type | Description |
|---|---|---|
| url * | string | The URL to navigate to |
browser_navigate_backGo back to the previous pagebrowser_navigate_forwardGo forward to the next pagebrowser_network_requestsReturns all network requests since loading the pagebrowser_pdf_saveSave page as PDF| Parameter | Type | Description |
|---|---|---|
| filename | string | File name to save the pdf to. Defaults to `page-{timestamp}.pdf` if not specified. |
browser_press_keyPress a key on the keyboard| Parameter | Type | Description |
|---|---|---|
| key * | string | Name of the key to press or a character to generate, such as `ArrowLeft` or `a` |
browser_resizeResize the browser window| Parameter | Type | Description |
|---|---|---|
| height * | number | Height of the browser window |
| width * | number | Width of the browser window |
browser_screen_captureTake a screenshot of the current pagebrowser_screen_clickClick left mouse buttonbrowser_screen_dragDrag left mouse buttonbrowser_screen_move_mouseMove mouse to a given positionbrowser_screen_typeType text| Parameter | Type | Description |
|---|---|---|
| submit | boolean | Whether to submit entered text (press Enter after) |
| text * | string | Text to type into the element |
browser_select_optionSelect an option in a dropdownbrowser_snapshotCapture accessibility snapshot of the current page, this is better than screenshotbrowser_tab_closeClose a tab| Parameter | Type | Description |
|---|---|---|
| index | number | The index of the tab to close. Closes current tab if not provided. |
browser_tab_listList browser tabsbrowser_tab_newOpen a new tab| Parameter | Type | Description |
|---|---|---|
| url | string | The URL to navigate to in the new tab. If not provided, the new tab will be blank. |
browser_tab_selectSelect a tab by index| Parameter | Type | Description |
|---|---|---|
| index * | number | The index of the tab to select |
browser_take_screenshotTake a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.| Parameter | Type | Description |
|---|---|---|
| element | string | Human-readable element description used to obtain permission to screenshot the element. If not provided, the screenshot will be taken of viewport. If element is provided, ref must be provided too. |
| filename | string | File name to save the screenshot to. Defaults to `page-{timestamp}.{png|jpeg}` if not specified. |
| raw | boolean | Whether to return without compression (in PNG format). Default is false, which returns a JPEG image. |
| ref | string | Exact target element reference from the page snapshot. If not provided, the screenshot will be taken of viewport. If ref is provided, element must be provided too. |
browser_typeType text into editable elementbrowser_wait_forWait for text to appear or disappear or a specified time to pass| Parameter | Type | Description |
|---|---|---|
| text | string | The text to wait for |
| textGone | string | The text to wait for to disappear |
| time | number | The time to wait in seconds |
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.7K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json and cloudflare/package-lock.json.
- !No dynamic code executionScanned 44 source files and found 1 call to eval or shell execution, in utils/update-readme.js:166. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEsrc/transport.ts:24, src/transport.ts:23, src/transport.ts:22
- Starts other programs
- 2 callssrc/tools/install.ts:39, utils/update-readme.js:166
- Outbound network calls
- 1 callsrc/browserContextFactory.ts:226
- Writes or deletes files
- 4 callssrc/browserContextFactory.ts:215, src/browserContextFactory.ts:247, src/config.ts:213
- Lockfile
- package-lock.json and cloudflare/package-lock.json
Pattern matches on the source text of 44 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.7K words, fetched yesterday. The original in the repository is authoritative.
Read full README