ai-browser
Click on "Install 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., "@ai-browserlog into my account at example.com and show the home page"
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.
ai-browser
A full-featured terminal browser that an AI can completely control — navigate, read pages, log in, sign up, handle 2FA, generate disposable emails, store credentials, download files, and replay whole processes — from any MCP-capable agent (opencode, Claude Desktop, etc.). Humans get an interactive terminal CLI too.
No UI needed: it renders pages to plain text with numbered LINKS and FORMS so
an AI can act on [3] or 1.2 without a DOM. It works with plain HTML
(fast, zero heavy deps) and can optionally upgrade to a real headless
Chromium engine when Playwright is available.
Features
Browser core
Persistent session: cookies and history saved to
~/.ai-browser/, logins survive restarts.Deterministic addressing: pages render to text with numbered LINKS and FORMS; the AI acts by index (
3,1.2) or by name/id/CSS.Multiple tabs, each with its own history, one shared session.
Page cache (LRU) — back/forward/reload are instant.
Retry-with-backoff and gzip on all requests for speed and reliability.
Proxy support (
http://,socks5://).
AI agent tools (55 via MCP)
Navigation: navigate, read_page, back/forward/reload, history, tabs, wait, wait_for_text, find_text, screenshot (JS mode), save/download/fetch.
Forms: fill, check, select, submit, click, extract, extract_json.
Auth: auto_login, auto_signup (auto-detects email/name/password/confirm fields), analyze_page (detects login/signup/CAPTCHA/2FA).
Credential vault: save_credentials, get_credentials, list/delete, auto_login_vault — passwords obfuscated on disk.
Disposable email (mail.tm API): create inbox, list messages, read, extract verification codes — so signups that need an email address work.
Macros: record a whole process once, replay anywhere, with conditional steps (
if_contains,goto,stop).Detection: CAPTCHA and 2FA/OTP pages are flagged so the AI knows a human step is required.
JavaScript (optional)
enable_js() upgrades to Playwright + Chromium headless for JS-only sites:
pip install playwright && playwright install chromium(On Termux/Android use termux-x11; on desktop it works out of the box.)
Related MCP server: webpilot
Try it offline (no internet needed)
python demo_server.py # terminal 1: a tiny login-protected site on :8080
python cli.py http://127.0.0.1:8080/login # terminal 2: human browser
# login: admin / secret (or emma / secret)Or let the AI do the whole flow through MCP: navigate → signup → fetch → login → vault → email → macro.
Download & Install
1. Download the code
git clone https://github.com/void-builder-1/ai-browser.git
cd ai-browserOr download the ZIP from GitHub: Code → Download ZIP, then unzip:
unzip ai-browser-main.zip
cd ai-browser-main2. Install dependencies
Requires Python 3.8+ and pip:
pip install -r requirements.txt(On Termux/Android: pkg install python && pip install -r requirements.txt.
If pip is blocked system-wide, use a virtualenv: python -m venv venv && source venv/bin/activate.)
3. Run
python cli.py # human terminal browser
python cli.py https://example.com # open a URL directlyTo uninstall, just delete the folder:
rm -rf ai-browserOptional: JavaScript engine
pip install playwright && playwright install chromium(On Termux/Android use termux-x11; on desktop it works out of the box.)
Let the AI drive it
With opencode
Add to opencode.json (project or ~/.config/opencode/opencode.json):
{
"mcp": {
"aibrowser": {
"type": "local",
"command": ["python3", "/absolute/path/to/aibrowser/mcp_server.py"]
}
}
}Restart opencode, then tell it: "use the aibrowser MCP server to sign up on example.com and do X".
With any other MCP client
Point the client at aibrowser/mcp_server.py (stdio transport). 55 tools are
exposed — the full list comes from tools/list, but the main workflow tools:
tool | purpose |
| open a URL, returns text snapshot |
| readable text + numbered links + forms |
| one-shot auth |
| drive forms |
| vault |
| disposable mail |
| login/signup/CAPTCHA/2FA detection |
| reusable processes |
| advanced |
The AI workflow pattern
navigate("https://target-site.com/signup")analyze_page()→ see the form structure and any 2FA/CAPTCHAemail_create()→ get a disposable address for the signupauto_signup(email, "Str0ng!pass", "Alice")email_messages()+email_code(msg_id)→ read the verification emailfill("1.1", code)+submit("1")→ finish verificationsave_credentials(site, email, pass)→ store for next timeget_cookies()to confirm the session; cookies persist on disk
CLI commands
open, links, forms, click, fill, check, select, submit,
login, signup, analyze, vault/vaultsave/vaultget/vaultdel/
vlogin, mail/mailmsgs/mailread/mailcode, fetch, find,
waitfor, cache, save, download, grab, grabjson, record,
stop, run, macros, back, fwd, reload, cookies, clearcookies,
history, js, shot, proxy, status, raw, url, title, help,
quit.
Tests
python test_engine.py # 37 checks: nav, auth, vault, tabs, macros, cache...Limitations
No JavaScript unless you install Playwright (then
enable_js()).CAPTCHAs are detected and flagged for the AI, not solved automatically.
2FA codes are read from the disposable inbox when the site emails them.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceMCP server that enables AI tools to control local browser sessions for ChatGPT, Claude, and other AI services, supporting querying, navigation, file uploads, and artifact management.44546Mozilla Public 2.0- AlicenseNot gradedqualityDmaintenanceA semantic terminal browser that renders web pages as structured numbered elements for LLM agents via MCP, enabling agents to navigate, interact, and extract data from any website.14MIT
- FlicenseNot gradedqualityBmaintenanceEnables browser automation with AI agent support and secure credential management through 20 MCP tools, accessible via stdio or HTTP bridge.
- AlicenseAqualityAmaintenanceMCP server that lets AI agents drive your real Chromium browser with your existing signed-in sessions, providing visible, local, and inspectable automation for tasks like navigation, clicking, typing, and form filling.251Apache 2.0
Related MCP Connectors
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Live browser debugging for AI assistants — DOM, console, network via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/void-builder-1/ai-browser'
If you have feedback or need assistance with the MCP directory API, please join our Discord server