Skip to main content
Glama
Mhrnqaruni

MCP Playwright Browser

by Mhrnqaruni

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser.launchC

Launch Chromium with Playwright and open a new page.

browser.connect_cdpC

Connect to an existing Chrome/Chromium with remote debugging enabled (CDP).

browser.launch_chrome_cdpC

Launch Chrome with remote debugging enabled and connect via CDP.

browser.new_pageA

Open a new page/tab in the current context.

browser.closeB

Close the current browser session.

browser.gotoC

Navigate to a URL.

browser.backC

Go back in history.

browser.forwardC

Go forward in history.

browser.waitC

Wait for a selector or timeout.

browser.get_scroll_stateA

Get scroll metrics for the main page (window).

browser.scroll_byC

Scroll the main page by a delta.

browser.scroll_toC

Scroll the main page to an absolute position.

browser.get_scrollablesC

List scrollable containers on the page.

browser.get_container_scroll_stateC

Get scroll metrics for a specific scrollable container.

browser.scroll_containerC

Scroll a specific container by selector.

browser.snapshotB

Return a snapshot of the current page (title, url, text, links).

browser.listC

List visible interactive elements (links, buttons, inputs).

browser.clickC

Click an element by elementId, selector, or text.

browser.typeC

Type into an input by selector or cached elementId.

browser.pressC

Press a key, optionally focusing selector or elementId.

browser.extract_textC

Extract text from a selector. Use all=true to get all matches.

browser.extract_htmlC

Extract outerHTML from a selector.

browser.screenshotC

Save a screenshot to a path.

browser.visual_snapshotC

Take a screenshot and return an element map with bounding boxes for visual navigation.

browser.click_atB

Click at specific page coordinates (x, y). Useful for visual workflows.

files.write_textC

Write arbitrary text to a file path.

jobs.extract_indeedC

Extract jobs from an Indeed search results page. Optionally save each job to a .txt file.

jobs.indeed_next_pageA

Go to the next Indeed results page (direct URL by default, with optional click mode).

search.extract_googleC

Extract standard Google search results from the current page. Optionally save to .txt files.

search.googleB

Search Google and extract results for a query. Optionally save to .txt files.

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/Mhrnqaruni/mcp-playwright-browser'

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