Skip to main content
Glama
playwright-ui-mcp

playwright-ui-mcp

by ailabs-393

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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_launchA

Launch a headed browser for UI capture and analysis. The browser will be visible on screen. By default runs in lightweight mode (no video). Enable recordVideo only when you need to capture a sequence of interactions for debugging or demonstration.

browser_new_pageC

Create a new page/tab in the browser

browser_navigateC

Navigate to a URL in a specific page

browser_screenshotA

Take a screenshot of the current page for UI analysis. Returns the screenshot as base64-encoded image data that can be analyzed.

browser_get_visible_elementsB

Get all visible interactive elements on the page (buttons, links, inputs, etc.) with their selectors for interaction

browser_get_contentB

Get the HTML and text content of the current page

browser_clickC

Click on an element in the page

browser_typeB

Type text into an input field

browser_wait_forB

Wait for an element to appear on the page

browser_evaluateB

Execute JavaScript code in the page context

browser_close_pageB

Close a specific page/tab

browser_closeA

Close the browser and clean up all screenshots/recordings. IMPORTANT: Always call this when done with UI analysis to ensure proper cleanup.

browser_statusB

Get the current status of the browser session

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 13 tools

Disambiguation4/5

Each tool maps to a distinct browser action, and the launch/close vs. new_page/close_page pairs are disambiguated by their descriptions. Minor overlap exists between browser_get_content and browser_get_visible_elements, and browser_close vs browser_close_page could be misread at a glance, but the descriptions clarify scope.

Naming Consistency5/5

All 13 tools use a uniform browser_ prefix with snake_case verb_noun naming (browser_new_page, browser_close_page, browser_get_visible_elements). The pattern is fully predictable and symmetric across page lifecycle, navigation, capture, and interaction actions.

Tool Count5/5

13 tools sit comfortably in the well-scoped range for a UI automation/capture server. Every tool corresponds to a necessary part of the launch-navigate-inspect-interact-close workflow, with no obvious redundancy.

Completeness4/5

The core lifecycle (launch, new page, navigate, screenshot, inspect elements/content, click, type, wait, evaluate, close) is fully covered with no dead ends. Minor gaps remain for common interactions like hover, select dropdown option, key press, and element-scoped screenshots, which agents will need browser_evaluate to work around.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues