Skip to main content
Glama
Playwright MCP Proxy

Playwright MCP Proxy

by noomz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PLAYWRIGHT_PROXY_LOG_LEVELNoLog level (default: INFO)
PLAYWRIGHT_PROXY_SERVER_HOSTNoServer host (default: localhost)
PLAYWRIGHT_PROXY_SERVER_PORTNoServer port (default: 34501)
PLAYWRIGHT_PROXY_DATABASE_PATHNoSQLite database path (default: ./proxy.db)
PLAYWRIGHT_PROXY_AUTO_REHYDRATENoAuto-resume sessions on startup (default: false)
PLAYWRIGHT_PROXY_RESTART_WINDOWNoRestart window in seconds (default: 300)
PLAYWRIGHT_PROXY_MAX_SESSION_AGENoMaximum age in seconds for recoverable sessions (default: 86400)
PLAYWRIGHT_PROXY_SHUTDOWN_TIMEOUTNoShutdown timeout in seconds (default: 5)
PLAYWRIGHT_PROXY_PLAYWRIGHT_BROWSERNoBrowser to use: chrome, firefox, or webkit (default: chrome)
PLAYWRIGHT_PROXY_PLAYWRIGHT_HEADLESSNoRun browser headless (default: false)
PLAYWRIGHT_PROXY_MAX_RESTART_ATTEMPTSNoMaximum restart attempts (default: 3)
PLAYWRIGHT_PROXY_HEALTH_CHECK_INTERVALNoHealth check interval in seconds (default: 30)
PLAYWRIGHT_PROXY_MAX_SESSION_SNAPSHOTSNoNumber of snapshots to keep per session (default: 10)
PLAYWRIGHT_PROXY_SESSION_SNAPSHOT_INTERVALNoSeconds between session snapshots (default: 30)

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
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_new_sessionC

Create a new Playwright browser session

list_sessionsC

List browser sessions, optionally filtered by state (active, closed, error, recoverable, stale)

resume_sessionB

Resume a previously saved session by restoring its browser state (URL, page content)

get_contentC

Get page snapshot content from a previous request (Phase 2: with diff support, grep-like context)

get_console_contentB

Get console logs from a previous request

browser_navigateB

Navigate to a URL

browser_snapshotB

Capture accessibility snapshot of the current page

browser_clickC

Click on an element

browser_typeC

Type text into an element

browser_console_messagesC

Get console messages from the browser

browser_closeC

Close the browser

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 11 tools

Disambiguation3/5

The session-management and browser-action groups are distinct, but get_console_content vs browser_console_messages overlap heavily (both retrieve console output), and get_content vs browser_snapshot both read page content with unclear boundary between 'previous request' and 'current page' semantics. An agent could easily pick the wrong console or content tool.

Naming Consistency3/5

Three different conventions coexist: bare verb_noun for sessions (create_new_session, list_sessions, resume_session), get_* for retrieval (get_content, get_console_content), and a browser_ prefix for actions. The groupings are readable but there is no single predictable pattern across the set.

Tool Count4/5

Eleven tools is a reasonable size for a browser-automation proxy covering session lifecycle plus page interaction. Only slight redundancy from the two console-log tools keeps it below ideal.

Completeness3/5

Core loop of navigate, snapshot, click, and type is covered, but there is no back navigation, key press, hover, select, screenshot, or JS evaluation, which limits realistic browser workflows. Session tools also lack any update/prune operation for closed or stale sessions.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues