Skip to main content
Glama
Playwright DevTools MCP Server

Playwright DevTools MCP Server

by ariangibson

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoDebug logging configuration, e.g. playwright-devtools:*.playwright-devtools:*
PLAYWRIGHT_TIMEOUTNoPlaywright timeout in milliseconds.30000
PLAYWRIGHT_HEADLESSNoWhether to run the browser in headless mode. Supported values: true, false.true
PLAYWRIGHT_BROWSER_TYPENoBrowser type to use. Supported values: chromium, firefox, webkit.chromium
MCP_MAX_CONCURRENT_PAGESNoMaximum number of concurrent pages/resource limit.3

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_launchC

Launch a new browser instance and create a browser context for web debugging

browser_navigateC

Navigate to a URL and wait for the page to load

browser_closeC

Close a browser context and clean up resources

browser_navigate_safeB

Navigate to a URL with automatic health checking, retry logic, and context recovery

browser_health_checkB

Check browser context health and attempt automatic healing if issues detected

browser_force_recreateB

Force recreate a browser context when it becomes unresponsive or problematic

console_get_logsC

Collect console logs and errors from the browser for debugging analysis

console_clear_logsA

Clear stored console logs for a browser context to free memory

console_evaluate_javascriptC

Execute JavaScript in the browser console and return the result

network_get_requestsC

Get HTTP network requests and responses for debugging and analysis

network_get_failed_requestsB

Get failed HTTP requests (4xx, 5xx, or connection failures) for debugging

network_clear_requestsA

Clear stored network request data for a browser context to free memory

performance_get_metricsC

Collect Core Web Vitals and performance metrics from the current page

performance_get_core_vitalsC

Measure Core Web Vitals (LCP, FID, CLS) using browser performance observers

storage_get_local_storageB

Get localStorage key/value pairs from the current page for debugging

storage_get_session_storageB

Get sessionStorage key/value pairs from the current page for debugging

storage_get_cookiesB

Get cookies for the current page with all attributes (domain, path, expiry, security flags)

storage_clear_dataC

Clear browser storage data by type (localStorage, sessionStorage, cookies)

debug_take_screenshotB

Take a screenshot of the current viewport or full page for visual debugging

debug_get_page_sourceB

Get the current DOM HTML source for debugging

debug_get_element_propertiesC

Get comprehensive properties of a specific element for deep debugging analysis

debug_get_dom_treeC

Get a structured representation of the DOM tree for analysis

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 22 tools

Disambiguation3/5

Most tools are clearly separated by domain prefixes (storage_, debug_, console_, network_, performance_), but there are real overlaps: browser_navigate vs browser_navigate_safe, and performance_get_core_vitals vs performance_get_metrics (which explicitly also collects Core Web Vitals). The recovery cluster (browser_health_check, browser_force_recreate, browser_navigate_safe) also has fuzzy boundaries for an agent deciding which to call.

Naming Consistency5/5

Every tool follows a consistent snake_case pattern of domain_verb_noun (browser_navigate, storage_get_cookies, debug_take_screenshot, console_clear_logs). Domain prefixes are used uniformly and make grouping predictable, with only trivial stylistic variance such as 'take_screenshot' vs 'get_*'.

Tool Count4/5

22 tools is on the heavy side, but they distribute cleanly across six genuine capability areas (lifecycle, storage, debug, console, network, performance), so each earns roughly its place. A few recovery/health tools could arguably be folded into navigate/launch to slim the surface.

Completeness3/5

The read/debug surface is broad (DOM, console, network, storage, vitals, screenshots), but storage is read-and-clear only with no tool to set localStorage/sessionStorage/cookies, and there is no element selection/interaction or viewport control. For a pure debugging server these are workable gaps, but they create dead ends for common diagnostic workflows.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues