Playwright MCP Proxy
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PLAYWRIGHT_PROXY_LOG_LEVEL | No | Log level (default: INFO) | |
| PLAYWRIGHT_PROXY_SERVER_HOST | No | Server host (default: localhost) | |
| PLAYWRIGHT_PROXY_SERVER_PORT | No | Server port (default: 34501) | |
| PLAYWRIGHT_PROXY_DATABASE_PATH | No | SQLite database path (default: ./proxy.db) | |
| PLAYWRIGHT_PROXY_AUTO_REHYDRATE | No | Auto-resume sessions on startup (default: false) | |
| PLAYWRIGHT_PROXY_RESTART_WINDOW | No | Restart window in seconds (default: 300) | |
| PLAYWRIGHT_PROXY_MAX_SESSION_AGE | No | Maximum age in seconds for recoverable sessions (default: 86400) | |
| PLAYWRIGHT_PROXY_SHUTDOWN_TIMEOUT | No | Shutdown timeout in seconds (default: 5) | |
| PLAYWRIGHT_PROXY_PLAYWRIGHT_BROWSER | No | Browser to use: chrome, firefox, or webkit (default: chrome) | |
| PLAYWRIGHT_PROXY_PLAYWRIGHT_HEADLESS | No | Run browser headless (default: false) | |
| PLAYWRIGHT_PROXY_MAX_RESTART_ATTEMPTS | No | Maximum restart attempts (default: 3) | |
| PLAYWRIGHT_PROXY_HEALTH_CHECK_INTERVAL | No | Health check interval in seconds (default: 30) | |
| PLAYWRIGHT_PROXY_MAX_SESSION_SNAPSHOTS | No | Number of snapshots to keep per session (default: 10) | |
| PLAYWRIGHT_PROXY_SESSION_SNAPSHOT_INTERVAL | No | Seconds 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
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.
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.
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.
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.