mcp-chrome-cdp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CDP_HOST | No | Hostname of the Chrome DevTools Protocol endpoint. The server connects to 127.0.0.1 by default. | 127.0.0.1 |
| CDP_PORT | No | Port of the Chrome DevTools Protocol endpoint. The server connects to port 9222 by default. | 9222 |
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 | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| chrome_list_tabsB | List all open browser tabs/targets |
| chrome_new_tabC | Open a new tab with optional URL |
| chrome_close_tabC | Close a browser tab |
| chrome_activate_tabC | Bring a tab to the foreground |
| chrome_navigateC | Navigate to a URL in a tab |
| chrome_reloadC | Reload the current page |
| chrome_go_backC | Navigate back in history |
| chrome_go_forwardC | Navigate forward in history |
| chrome_screenshotC | Take a screenshot of the current page |
| chrome_pdfC | Generate PDF of the current page |
| chrome_evaluateC | Execute JavaScript in the page context |
| chrome_query_selectorC | Find element(s) by CSS selector and return their HTML |
| chrome_get_textB | Get the visible text content of the page or an element |
| chrome_get_htmlC | Get the HTML of the page or an element |
| chrome_clickB | Click an element by CSS selector or coordinates |
| chrome_hoverC | Hover over an element |
| chrome_typeC | Type text into a focused element or selector |
| chrome_key_pressB | Press a key or key combination (Enter, Tab, Escape, Ctrl+A, etc.) |
| chrome_scrollC | Scroll the page or an element |
| chrome_set_input_valueB | Set an input field value programmatically (works with React/Vue/Angular) |
| chrome_network_enableC | Start monitoring network requests |
| chrome_network_disableC | Stop monitoring network requests |
| chrome_network_get_logC | Get captured network requests/responses |
| chrome_network_get_response_bodyC | Get the response body for a specific network request |
| chrome_console_enableC | Start capturing console messages |
| chrome_console_get_logC | Get captured console messages |
| chrome_console_clearC | Clear the console |
| chrome_get_cookiesB | Get cookies for the current page or specific URLs |
| chrome_set_cookieD | Set a cookie |
| chrome_delete_cookiesC | Delete cookies by name or clear all |
| chrome_set_extra_headersC | Set extra HTTP headers for all requests |
| chrome_emulate_deviceC | Set device viewport, scale, and mobile mode |
| chrome_reset_deviceC | Reset device emulation to real device metrics |
| chrome_set_user_agentC | Override the User-Agent string |
| chrome_set_geolocationC | Override geolocation |
| chrome_set_timezoneC | Override timezone |
| chrome_emulate_mediaC | Set media type and features (e.g., dark mode, print) |
| chrome_emulate_networkB | Simulate network conditions (slow 3G, offline, etc.) |
| chrome_local_storageC | Get or set localStorage values |
| chrome_clear_storageB | Clear site data (cookies, localStorage, sessionStorage, indexedDB, cache, etc.) |
| chrome_performance_metricsC | Get page performance metrics |
| chrome_accessibility_treeC | Get the accessibility tree of the page (structured semantic content) |
| chrome_handle_dialogB | Accept or dismiss a JavaScript dialog (alert, confirm, prompt) |
| chrome_inject_scriptB | Inject a script that runs before any page script on every navigation |
| chrome_set_bypass_cspD | Bypass Content Security Policy |
| chrome_ignore_certificate_errorsC | Ignore SSL/TLS certificate errors |
| chrome_browser_infoC | Get browser version and info |
| chrome_set_window_boundsC | Resize or move the browser window |
| chrome_get_urlC | Get the current URL of a tab |
| chrome_waitC | Wait for a condition: selector appears, navigation, or fixed time |
| chrome_drag_dropC | Drag from one point to another |
| chrome_touchC | Dispatch touch events (for mobile emulation) |
| chrome_get_page_infoC | Get comprehensive info about the current page: URL, title, meta tags, links, forms |
| chrome_find_elementsC | Find interactive elements on the page (buttons, links, inputs, etc.) |
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 54 tools
Most tools have clear distinct actions, but there is a significant overlap cluster for content extraction (chrome_get_text, chrome_get_html, chrome_query_selector, chrome_get_page_info, chrome_find_elements, chrome_accessibility_tree) where an agent could easily pick the wrong one. Input/interaction tools (click, touch, drag_drop) and storage tools (local_storage, clear_storage, cookies) also have partially overlapping boundaries, though descriptions mitigate this.
All tools share a consistent chrome_ prefix and snake_case naming, which is highly predictable. Minor deviations exist where some names are noun-only (chrome_pdf, chrome_screenshot, chrome_wait) or use non-verb forms (chrome_new_tab, chrome_go_back), but overall the pattern is readable and stable.
54 tools is well above the 25+ threshold and feels heavy for a browser automation surface, with several niche capabilities (timezone, geolocation, bypass_csp, ignore_certificate_errors) that could be consolidated. While a CDP server legitimately spans many domains, the sheer count increases selection burden.
Coverage is broad: navigation, tabs, input, screenshots/PDF, network and console monitoring, cookies/storage, emulation, performance, and accessibility. Minor gaps exist around request interception/mocking (only monitoring and header overrides), iframe/frame switching, and file upload/download, but agents can work around most of these.