Atlas / MCP servers / viktor-silakov / playwright-mcp-advanced

playwright-mcp-advancedBLOCK

mcp/viktor-silakov/playwright-mcp-advanced

Playwright MCP server - oficial fork with additional features

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
41 36r · 4w · 1d
Transport
sse · stdio · streamable-http
License
Apache-2.0
Stars
5
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Advanced Playwright MCP

This is an advanced version of the Playwright MCP that provides additional tools for browser automation.

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Key Features

  • Fast and lightweight. Uses Playwright's accessibility tree, not pixel-based input.
  • LLM-friendly. No vision models needed, operates purely on structured data.
  • Deterministic tool application. Avoids ambiguity common with screenshot-based approaches.

🚀 Advanced Features

This advanced version includes additional capabilities not available in the original Playwright MCP:

📸 Enhanced Screenshot Tools

  • Full page screenshots - Capture entire scrollable page content with fullPage: true
  • Element screenshots by locator - Screenshot specific elements using Playwright locators (#id, .class, text=Hello)
  • Multiple element screenshots - Capture multiple elements simultaneously with locator arrays
  • Vision mode enhancements - All screenshot capabilities available in vision mode

🔍 HTML Content Extraction

  • `browser_get_html_content` - Extract HTML content from the entire page or specific elements
  • `browser_get_outer_html` - Get complete element HTML including the element tag itself
  • Batch processing - Extract HTML from multiple elements in parallel
  • Error handling - Graceful handling of missing elements

📋 Element Snapshot Tools

  • `browser_element_snapshot` - Capture accessibility snapshots of specific elements by locator(s)
  • Structured element data - Get tag names, text content, attributes, and visibility status
  • Multiple element snapshots - Process multiple elements simultaneously with locator arrays
  • **
Read from source at commit fe280c234d11OBSERVED · 2026-10-11
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add playwright-mcp-advanced -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "playwright-mcp-advanced": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (41)

36 read · 4 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
analyze_page_promptreadGenerate a prompt for analyzing the current page
browser_clickreadPerform click on a web page
browser_closereadClose the page
browser_console_messagesreadReturns all console messages
browser_dragdestructivePerform drag and drop between two elements
browser_element_snapshotreadCapture accessibility snapshot of specific elements by locator(s). Better than screenshot for specific elements.
browser_evaluatereadEvaluate JavaScript expression on page or element
browser_file_uploadwriteUpload one or multiple files
browser_get_html_contentreadGet HTML content of the current page or specific elements. Returns full page HTML by default, or HTML of specific elements when locator(s) provided.
browser_get_outer_htmlreadGet outer HTML content of specific elements (includes the element tag itself). Requires locator(s) to be specified.
browser_handle_dialogreadHandle a dialog
browser_hoverreadHover over element on page
browser_installwriteInstall the browser specified in the config. Call this if you get an error about the browser not being installed.
browser_mouse_click_xyreadClick left mouse button at a given position
browser_mouse_drag_xyreadDrag left mouse button to a given position
browser_mouse_move_xywriteMove mouse to a given position
browser_navigatereadNavigate to a URL with enhanced logging (plugin version)
browser_navigate_backreadGo back to the previous page
browser_navigate_forwardreadGo forward to the next page
browser_network_requestsreadReturns all network requests since loading the page
browser_pdf_savewriteSave page as PDF
browser_press_keyreadPress a key on the keyboard
browser_resizereadResize the browser window
browser_screen_capturereadTake a screenshot of the current page. You can
browser_select_optionreadSelect an option in a dropdown
browser_snapshotreadCapture accessibility snapshot of the current page, this is better than screenshot
browser_tab_closereadClose a tab
browser_tab_listreadList browser tabs
browser_tab_newreadOpen a new tab
browser_tab_selectreadSelect a tab by index
browser_typereadType text into editable element
browser_wait_forreadWait for text to appear or disappear or a specified time to pass
custom_folder_testreadA test tool to verify custom plugins folder functionality
example_actionreadAn example custom action provided by a plugin
example_promptreadAn example prompt from a plugin
example_propertyreadAn example property from a plugin
example_resourcereadAn example resource from a plugin
focusreadWhat to focus the analysis on (structure, performance, accessibility)
page_analysisreadAnalyze the current page for common elements and patterns
plugins_managereadManage plugins: list, get info, reload, or show shadow information
topicreadTopic to ask about
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (5 observation(s))
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
found

Findings (10)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
src/tools/evaluate.ts:59
const evaluateFunction = new Function('return ' + params.function)();
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMHard-coded secrets · secret.private_key · CWE-798, CWE-321
tests/testserver/key.pem:1
-----BEGIN PRIVATE KEY-----
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
browser_drag
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
examples/programmatic-server-example.ts:25
const result = Function('"use strict"; return (' + sanitized + ')')();
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/plugins/example-plugin/index.js:18
import { defineTool } from '../../../dist/tools/tool.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/plugins/example-plugin/index.ts:18
import type { Plugin } from '../../../src/plugins/types.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/plugins/example-plugin/index.ts:19
import { defineTool } from '../../../src/tools/tool.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/plugins/shadow-demo/index.js:18
import { defineTool } from '../../../dist/tools/tool.js';
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/plugins/shadow-demo/index.ts:18
import type { Plugin } from '../../../src/plugins/types.js';
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, commander, debug, mime, tsx, ws, zod-to-json-schema, @eslint/eslintrc
Why it matters. 22 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-11 · audit v0.4.1 · source sha fe280c234d11full audit observations/trust-audit/mcp-server/viktor-silakov__playwright-mcp-advanced.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-11fe280c234d11BLOCKD69first audit
06

Questions

What is the playwright-mcp-advanced MCP server?

Playwright MCP server - oficial fork with additional features

What tools does playwright-mcp-advanced expose?

41 in total: 36 read-only, 4 that write, and 1 that can delete or overwrite (browser_drag). Every one is listed on this page with its risk.

Is playwright-mcp-advanced safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does playwright-mcp-advanced need?

No credential environment variables were found in its source, so it appears to need none.

How does playwright-mcp-advanced run?

It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as playwright-mcp-advanced at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (fe280c234d11), read on 2026-10-11. The repository is watched and re-audited when it changes.

Advertisement