browser-mcp-cdp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| BROWSER_MCP_CHROME_PATH | No | Path to Chrome executable | Auto-detected per OS |
| BROWSER_MCP_BROKER_LOCK_PATH | No | Lock file path for broker | ~/.browser-mcp/broker.lock |
| BROWSER_MCP_BROKER_SOCKET_PATH | No | Unix socket path for broker communication | ~/.browser-mcp/broker.sock |
| BROWSER_MCP_CHROME_PROFILE_ROOT | No | Root directory for Chrome profiles | OS-standard Chrome profile dir |
| BROWSER_MCP_BROKER_IDLE_TIMEOUT_MS | No | Idle timeout in milliseconds before broker shuts down | 600000 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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