Skip to main content
Glama
zhiqi-li

browser-mcp-cdp

by zhiqi-li

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BROWSER_MCP_CHROME_PATHNoPath to Chrome executableAuto-detected per OS
BROWSER_MCP_BROKER_LOCK_PATHNoLock file path for broker~/.browser-mcp/broker.lock
BROWSER_MCP_BROKER_SOCKET_PATHNoUnix socket path for broker communication~/.browser-mcp/broker.sock
BROWSER_MCP_CHROME_PROFILE_ROOTNoRoot directory for Chrome profilesOS-standard Chrome profile dir
BROWSER_MCP_BROKER_IDLE_TIMEOUT_MSNoIdle timeout in milliseconds before broker shuts down600000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_navigateA

Navigate the browser to a URL. Returns the final URL and page title.

browser_evaluateA

Execute JavaScript in the current page context and return the result. Use await_promise=true (default) for async expressions.

browser_screenshotA

Capture a screenshot of the current page. Returns a PNG image.

browser_clickB

Click an element matched by a CSS selector. Returns true if found and clicked.

browser_fillB

Set the value of an input, textarea, or select element matched by a CSS selector.

browser_wait_forA

Wait until an element matching the CSS selector appears in the DOM. Returns true if found within the timeout, false otherwise.

browser_get_urlA

Get the current page URL.

browser_get_textA

Get the visible text content of the page or a specific element.

browser_get_htmlB

Get the outer HTML of the page or a specific element.

browser_scrollB

Scroll the page by a relative offset in pixels.

browser_click_atA

Click at an absolute (x, y) pixel coordinate on the page using real CDP mouse events. Pierces through iframes and ad overlays that block CSS-selector clicks.

browser_tabsA

List all open browser tabs with their id, url, and title.

browser_new_tabB

Open a new browser tab, optionally navigating to a URL.

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/zhiqi-li/browser-mcp-cdp'

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