Skip to main content
Glama
pm990320

ultimate-playwright-mcp

by pm990320

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENT_IDNoOptional agent ID for logging/debugging.
KEEP_ALIVENoAuto-restart daemon-managed Chrome if it exits. Set to 'false' to disable. Default: disabled.
CDP_ENDPOINTNoCDP endpoint URL (e.g., http://localhost:9222). If omitted, daemon-managed Chrome is started lazily.
CHECKPOINT_OUTPUT_DIRNoRoot directory for checkpoint manifests, artifacts, and reports.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_tab_groupA

Manage tab groups for session isolation. Multiple users/agents sharing one browser MUST create a tab group first, then pass the groupId to browser_tabs and other tools. This ensures each session only sees and controls its own tabs.

Actions:

  • 'create': Create a new tab group. Returns a groupId to use with all other browser tools.

  • 'list': List all tab groups with tab counts.

  • 'delete': Delete a tab group and optionally close its tabs.

⚡ IMPORTANT: Always create a tab group before opening tabs with browser_tabs.

browser_tabsA

Manage browser tabs. When using tab groups (recommended for multi-user), pass groupId to scope operations to your group's tabs only.

Actions:

  • 'list': Show tabs. With groupId → only your group's tabs. Without → all tabs.

  • 'new': Create a tab. If groupId is provided, the tab is added to that group.

  • 'close': Close a tab by index or targetId.

  • 'select': Focus a tab by index or targetId.

⚡ IMPORTANT: Create a tab group first for multi-user isolation. Ungrouped tabs remain available as a fallback for local manual testing.

browser_navigateA

Navigate to a URL in a specific tab. Use targetId from browser_tabs to specify which tab.

browser_snapshotA

Capture accessibility tree snapshot of the current page. Returns element references (e1, e2, etc.) that can be used with other browser tools like click, type, etc.

browser_clickB

Click an element by its ref (e1, e2, etc. from snapshot)

browser_typeC

Type text into an element

browser_hoverC

Hover over an element

browser_press_keyC

Press a keyboard key

browser_fill_formA

Fill multiple form fields at once

browser_wait_forB

Wait for a condition (text, selector, load state, time, etc.)

browser_evaluateA

Execute JavaScript in the page context via Playwright's page.evaluate(). Use for interacting with elements not in the accessibility snapshot (portal divs, framework overlays, shadow DOM). Can run arbitrary JS — click hidden elements, extract data, manipulate the DOM. Optionally scope to a specific element via ref.

browser_screenshotA

Take a screenshot of the current page or a specific element. By default saves to file and returns the path (saves context window tokens). Use ref to screenshot a specific element (from snapshot refs like e1, e2), or element for a CSS selector. Omit both for a full page screenshot.

browser_checkpointC

Capture a structured checkpoint for the current page or a specific tab. Stores checkpoint artifacts and a manifest under the server-managed checkpoint directory.

browser_checkpoint_reportA

Generate an HTML, Markdown, or MDX report from stored MCP checkpoint manifests.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pm990320/ultimate-playwright-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server