browser-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
browser-mcp
An MCP server that drives an installed Chrome, Chromium, or Edge over the DevTools protocol. It has 41 tools for pages, elements, forms, frames, screenshots, the network log, and downloads. Under it is easybrowser, the library in the easybrowser folder, with its own documentation.
Connect over stdio
You need Python 3.11 or later, uv, and an installed copy of Chrome, Chromium, or Edge. Install the dependencies from the repository folder.
uv syncFor an MCP client that uses JSON configuration, add an entry to mcpServers. Replace C:/tools/browser-mcp with the folder that holds the repository.
{
"mcpServers": {
"browser": {
"command": "C:/tools/browser-mcp/.venv/Scripts/python.exe",
"args": ["C:/tools/browser-mcp/server.py"]
}
}
}To check the connection, call browser_init(headless=true), then browser_navigate(url="https://example.org") and browser_get_interactive_elements(). You can pass selectors from the response directly to browser_click and browser_type. If you skip the explicit browser_init call, the first page tool opens a visible browser window.
Related MCP server: agent-browser-mcp
Connect over HTTP
Start the web server from the repository folder.
uv run python web_server.pyIn the client, choose Streamable HTTP and enter http://127.0.0.1:8000/sse. Set the port with --port. Each client gets its own browser session and temporary profile. Calling browser_close or disconnecting the MCP client normally shuts down the browser processes. If Chromium crashes, the next call opens a clean profile with the previous settings.
Browser and files
browser_initaccepts a proxy, a timeout in seconds, comma-separated paths to unpacked extensions,load_mode(normal,eager,none), and URL blocking patterns inload_filter. Chromium supports HTTP(S) proxies with optional authentication and SOCKS5 proxies without authentication.The engine locates the browser automatically. To select a specific build, set
EASYBROWSER_EXECUTABLEto the full path to its executable. Loading unpacked extensions was tested with an installed copy of Chrome 156.Pages open with easybrowser's fingerprint protection (
privacy=True): one consistent profile (user agent, languages, time zone, CPU, memory, WebGL) for a page, its workers and its iframes. See profiles and fingerprint protection for what it does and does not do.BROWSER_MCP_PRIVACYchanges it for the server:standard(the default),extended(Canvas, audio and WebGL readbacks too), oroff.Enable network logging for the main document before navigation with
browser_navigate(use_network=true). To monitor subsequent actions, callbrowser_network_list. Useidwithbrowser_network_getto retrieve request details and the response body.The tools accept CSS, XPath, and shorthand selectors such as
text=Sign in,tag:input@name=email, and@id=submit. Use thecss:orxpath:prefix to select a syntax explicitly.To work in an iframe, select a path from
browser_list_framesusingbrowser_switch_frame. An empty path returns to the main page.get_page_screenshot(full_page=true)captures the entire document at the top level and only the visible area when an iframe is selected.If a
alert,confirm, orpromptopens and requires a manual response, the current call may returnstatus="dialog". Read the dialog text withbrowser_dialog_statusand respond withbrowser_handle_alert. Set the automatic handling policy separately for each tab.The tools return absolute file paths. Screenshots go to
screenshotsand downloads go to the shareddownloadsdirectory in the repository folder. UseBROWSER_MCP_DATA_DIRto set a different base directory.
Verification
uv run pytest tests -q
uv run pytest tests_engine -qtests starts the server and calls its tools through the MCP SDK against local pages in headless Chromium; tests_engine tests easybrowser itself. The two suites have files of the same name, so run them one at a time. They check changes to the DOM, the contents of downloaded files, network responses, HTTP session isolation, and browser process cleanup.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Unofficial Browserless MCP — wraps the Browserless headless-Chromium REST API (browserless.io)
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for controlling Chromium/Chrome via Chrome DevTools Protocol. Supports cross-platform automation, auto-launch, and automatic reconnection.251MIT
- AlicenseAqualityAmaintenanceMCP server that drives your real Chrome/Edge/Opera browser through a Chrome extension and DevTools Protocol, preserving logins and session state, and can also perform OS-level mouse and keyboard input behind approval.512MIT
- AlicenseDqualityBmaintenanceConnects to an already-running Chrome/Chromium instance over CDP and exposes 75 browser-automation tools over newline-delimited MCP JSON-RPC on stdin/stdout, covering navigation, forms, keyboard/mouse input, screenshots, cookies, storage, tabs and frames, assertions, and retry/batch/step composition. It does not launch a browser itself, requiring a localhost debugging port on the existing instance.75MIT
- AlicenseAqualityCmaintenanceEnables MCP clients to drive a running Microsoft Edge browser over the Chrome DevTools Protocol, exposing 16 tools for navigation, clicking, typing, screenshots, page-content reading, and tab management. Runs in stdio mode for per-client processes or as a shared HTTP endpoint so multiple agents can operate the same browser session.16MIT