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.launch

Launch Chromium with Playwright and open a new page.

browser.connect_cdp

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

browser.launch_chrome_cdp

Launch Chrome with remote debugging enabled and connect via CDP.

browser.new_page

Open a new page/tab in the current context.

browser.close

Close the current browser session.

browser.goto

Navigate to a URL.

browser.back

Go back in history.

browser.forward

Go forward in history.

browser.wait

Wait for a selector or timeout.

browser.get_scroll_state

Get scroll metrics for the main page (window).

browser.scroll_by

Scroll the main page by a delta.

browser.scroll_to

Scroll the main page to an absolute position.

browser.get_scrollables

List scrollable containers on the page.

browser.get_container_scroll_state

Get scroll metrics for a specific scrollable container.

browser.scroll_container

Scroll a specific container by selector.

browser.snapshot

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

browser.list

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

browser.click

Click an element by elementId, selector, or text.

browser.type

Type into an input by selector or cached elementId.

browser.press

Press a key, optionally focusing selector or elementId.

browser.extract_text

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

browser.extract_html

Extract outerHTML from a selector.

browser.screenshot

Save a screenshot to a path.

browser.visual_snapshot

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

browser.click_at

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

files.write_text

Write arbitrary text to a file path.

jobs.extract_indeed

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

jobs.indeed_next_page

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

search.extract_google

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

search.google

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