Liberty Browser
Provides browser automation and navigation capabilities by controlling installed Google Chrome through Chrome DevTools Protocol, including tab management, navigation to HTTP/HTTPS sites, page inspection, and persistent signed-in sessions using a dedicated Chrome profile.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Liberty Browseropen example.com in a new tab and tell me the page title"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Liberty Browser
Liberty Browser is a local Python MCP server and CLI that controls installed Google Chrome through Chrome DevTools Protocol (CDP), using a dedicated persistent profile.
Open-web focus
Liberty Browser supports navigation across HTTP and HTTPS sites without a built-in website allowlist. Websites retain their own sign-in, verification, and access requirements.
Related MCP server: devtools-fleet-mcp
How it works
Run
liberty-browser loginto open installed Google Chrome with a dedicated profile for manual sign-in.Close the Chrome windows using that profile.
Call an MCP browser tool. Liberty Browser starts the same Chrome profile with loopback CDP, waits for readiness, verifies the process and profile, and connects.
Playwright provides the CDP connection API. All browser actions use installed Google Chrome. Cookies and signed-in state remain in the local profile outside this repository.
Requirements
Windows
Python 3.10 or newer
Google Chrome installed
Install
py -m venv .venv
.\.venv\Scripts\python.exe -m pip install "git+https://github.com/andrey-barros-dev/liberty-browser.git"
.\.venv\Scripts\Activate.ps1MCP configuration
{
"mcpServers": {
"liberty-browser": {
"command": "liberty-browser-mcp",
"args": []
}
}
}Use the absolute path to .venv/Scripts/liberty-browser-mcp.exe when the command is not on PATH. liberty-browser-codex is a compatibility alias for the same persistent Chrome MCP runtime. MCP messages use stdio.
CLI
liberty-browser login
liberty-browser tabs list
liberty-browser navigate https://example.com
liberty-browser inspect
liberty-browser shellBrowser actions automatically launch or reconnect to the dedicated Chrome profile. Closing the MCP connection leaves Chrome running.
Configuration
Variable | Purpose | Default |
| Dedicated persistent Chrome profile |
|
| Loopback CDP port |
|
| Browser action timeout |
|
Development
python -m pip install -e ".[test]"
python -m pytest -qTests use temporary Chrome profiles and local fixture pages. See Architecture, Contributing, and Security.
Privacy and security
The persistent profile contains browser session data. Keep it private and outside source control. A connected MCP client can act with that session's permissions. Website verification remains under the website's control.
License
MIT. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
181Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Run multi-step tasks in a real Chrome browser: persistent environments, live view, human takeover.
A real Chromium browser agents pay for per action in USDC via x402 — hosted MCP, free local stdio.
Related MCP Servers
- AlicenseAqualityDmaintenanceDrives your real local Chrome with profile isolation, allowing LLMs to interact with your logged-in sessions without modifying your actual profile.1322 npmMIT
- AlicenseBqualityBmaintenanceEnables multiple AI agents to each run Google's full Chrome DevTools toolset in an isolated Chrome instance with saved logins, origin allowlists, reconnect recovery, and process cleanup. It also provides visibility into running browsers so stale sessions can be inspected or reaped.38187 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to drive a live, persistent self-hosted Chromium session over MCP, running browser actions via Playwright/CDP, capturing page snapshots, screenshots and videos, and managing uploads and downloads in the same tabs and signed-in accounts a human user can take over at any time.1 npmApache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to control an existing signed-in Chrome profile through MCP stdio, using its current tabs, cookies, and logins without pairing or a separate browser. It exposes tab management, page interaction, screenshots, and Chrome DevTools Protocol commands.29 npmMIT