Browser Control MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | CDP host (use for Docker/remote) | 127.0.0.1 |
| port | No | CDP debugging port | 9222 |
| browser | No | Browser preset: chrome, comet, edge, brave | chrome |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| health_checkA | Check if Google Chrome is running with CDP and accessible |
| list_tabsB | List all open tabs in Google Chrome |
| get_current_tabB | Get the active tab in Google Chrome |
| open_urlB | Navigate a tab to a URL in Google Chrome |
| new_tabC | Open a new tab in Google Chrome |
| close_tabB | Close a tab in Google Chrome |
| switch_to_tabB | Activate/focus a tab in Google Chrome |
| reload_tabB | Reload the current or specified tab |
| go_backC | Navigate back in browser history |
| go_forwardC | Navigate forward in browser history |
| execute_javascriptC | Execute JavaScript in the page context |
| get_page_contentC | Get the HTML content or text of the current page |
| clickC | Click an element using real CDP mouse events (works with any framework) |
| fillA | Fill an input field with text (clears existing value, React-compatible) |
| fill_formB | Fill multiple form fields at once |
| type_textB | Type text character-by-character using real keyboard events (triggers all JS handlers) |
| hoverB | Hover over an element using real mouse movement |
| press_keyC | Press a keyboard key (Enter, Tab, Escape, ArrowDown, etc.) |
| select_optionC | Select an option in a dropdown |
| scrollC | Scroll the page or a specific element |
| dragC | Drag from one element/position to another |
| wait_forB | Wait for an element to appear, a condition, or a timeout |
| take_screenshotC | Capture a screenshot of the page (returns base64 PNG) |
| take_snapshotB | Get a structured text snapshot of the page DOM (useful for AI understanding) |
| print_to_pdfC | Generate a PDF of the current page |
| resize_windowC | Resize the browser viewport |
| emulateB | Emulate a mobile device or custom viewport (user agent, dimensions, touch, DPR) |
| upload_fileC | Upload file(s) to a file input element |
| handle_dialogC | Handle a JavaScript dialog (alert, confirm, prompt) |
| get_accessibility_treeB | Get the full accessibility tree of the page (ideal for AI understanding of page structure) |
| console_messagesC | Get captured console messages from the page |
| network_requestsB | Get captured network requests (must call once to start capturing) |
| get_response_bodyC | Get the response body of a captured network request |
| get_cookiesB | Get cookies for the current page or a specific URL |
| performance_start_traceC | Start a performance trace (CPU profiling, rendering, etc.) |
| performance_stop_traceB | Stop performance trace and return results |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 36 tools
Most tools have clearly distinct purposes (navigation, tab management, input, capture, network inspection), and the verb-based names make selection straightforward. The main overlap is between get_accessibility_tree, take_snapshot, and get_page_content, which all return some form of page representation and could be confused by an agent choosing 'how to read the page'.
The set is overwhelmingly snake_case with verb_noun structure (open_url, close_tab, switch_to_tab, take_screenshot, handle_dialog). A handful of deviations exist — bare imperatives like click, fill, hover, drag, scroll, emulate, and noun-only names like console_messages, network_requests, and health_check — but they remain readable and predictable within their groups.
36 tools is heavy for a single server and pushes past the comfortable range, with some redundancy in the page-reading subset. However, browser automation genuinely spans navigation, tabs, input primitives, capture, network, console, emulation, and performance, so most tools do map to a real capability rather than bloat.
The surface covers the full browser lifecycle well: navigation back/forward, tab CRUD, interaction (click, fill, type, drag, scroll, keys, select), captures, dialogs, uploads, cookies, console, network, emulation, and performance tracing. Gaps remain around cookie mutation (only get_cookies, no set/delete/clear) and frame/iframe handling, which agents will hit on login and embedded-content scenarios.