
A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

A Playwright-powered Model Context Protocol server that enables headless browser navigation, text extraction, screenshots and web interaction tools.
MCP Web Browser Server is cataloged as an MCP server attributed to random-robbie. A Playwright-powered Model Context Protocol server that enables headless browser navigation, text extraction, screenshots and web interaction tools. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Web Browser Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Page navigation uses a fixed 30-second timeout and waits for network idle; the load timeout is not configurable.
Yes, through environment variables MCP_BROWSER_UA for a custom User-Agent and MCP_BROWSER_VIEWPORT for viewport dimensions.
README.md · 1a62f780e7a2 · Fetched 2026-11-13 09:52:40 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
An advanced web browsing server for the Model Context Protocol (MCP) powered by Playwright, enabling headless browser interactions through a flexible API.
# Clone the repository
git clone https://github.com/random-robbie/mcp-web-browser.git
cd mcp-web-browser
# Install the package and its dependencies (mcp[cli] and playwright)
pip install -e .
# Install the Chromium browser binary
playwright install chromium
Add to your claude_desktop_config.json:
{
"mcpServers": {
"web-browser": {
"command": "mcp-web-browser"
}
}
}
Alternatively, you can run the server module directly:
{
"mcpServers": {
"web-browser": {
"command": "python",
"args": ["-m", "mcp_web_browser.server"]
}
}
}
# Browse to a website (returns the full page HTML)
page_content = browse_to("https://example.com")
# Extract all visible page text
text_content = extract_text_content()
# Extract text from specific elements
title_text = extract_text_content("h1.title")
# Navigate to a page
browse_to("https://example.com/login")
# Input text into a form
input_text("#username", "your_username")
input_text("#password", "your_password")
# Click a login button
click_element("#login-button")
# Capture full page screenshot (returns PNG image content)
full_page_screenshot = get_page_screenshots(full_page=True)
# Capture viewport only
viewport_screenshot = get_page_screenshots()
# Capture a specific element
element_screenshot = get_page_screenshots(selector="#main-content")
# Get all links on the current page
page_links = get_page_links()
ignore_https_errors=True on the browser context)MCP_BROWSER_UA (custom User-Agent)
and MCP_BROWSER_VIEWPORT (e.g. 1920x1080)browse_to() uses a fixed 30-second timeout and waits for networkidlebrowse_to() firstSignificant events (navigation, extraction, errors, cleanup) are logged to stderr for easy debugging.
browse_to(url: str, mode: str = "text")url: Full URL to navigate tomode: "text" (default) returns the visible page text — cheaper for LLM
use; "html" returns the full HTML contentextract_text_content(selector: Optional[str] = None)selector: Optional CSS selector to extract text from matching elementsclick_element(selector: str)selector: CSS selector of the element to clickget_page_screenshots(full_page: bool = False, selector: Optional[str] = None)full_page: Capture the entire page rather than just the viewportselector: Optional CSS selector to screenshot a specific elementget_page_links(){"text": label, "href": absolute URL} objectsinput_text(selector: str, text: str)selector: CSS selector of the input elementtext: Text to inputpress_key(selector: str, key: str)selector: CSS selector of the element to focuskey: Key to press, e.g. "Enter" to submit a form, "Escape", "Tab"select_option(selector: str, values: str | list[str])selector: CSS selector of the <select> dropdownvalues: Value or label to select (or a list for multi-select)click_element, input_text, press_key and select_option all append the
current page URL and title to their result, so an agent can see where an
action landed.
Contributions are welcome! Please feel free to submit a Pull Request.
# Clone the repository
git clone https://github.com/random-robbie/mcp-web-browser.git
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
# Install dependencies
pip install -e .[dev]
MIT License
For issues and questions, please open an issue on GitHub.
Robbie Wiggins — What-Security · GitHub
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Web Browser Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-web-browser)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.