browser-mcp
Hosted Chromium browser as an MCP skill, enabling agents to navigate, click, type, snapshot, and read pages with human-like behavior and per-user isolated sessions.
README
browser-mcp
Hosted Chrome as an MCP skill. Give any MCP-compatible agent (Claude Desktop, Cursor, custom scripts) a real Chromium browser to drive — navigate, click, type, snapshot, read pages, take screenshots. Human-like behaviour, per-user isolated sessions, encrypted credential storage so login-gated sites work without leaking passwords to the LLM.
- Real Chromium on our server via Playwright. Not headless-only tricks — full browser context.
- Stealth defaults — patches the most common bot-detection tells (navigator.webdriver, plugins, chrome runtime). Not bulletproof against heavy defences like Cloudflare Turnstile; v0.2 adds proxies + CAPTCHA solving.
- Per-user isolation — separate BrowserContext per user, so cookies + localStorage don't leak between accounts.
- Encrypted credentials — AES-256-GCM at rest.
use_credentialstypes the password into the page server-side; the LLM never sees it. - No LLM in our stack — your agent is the brain. We just drive the browser.
Hosted at browser.regiq.in.
Use it
-
Visit https://browser.regiq.in and sign in with Google or GitHub.
-
Generate an MCP API key on the dashboard.
-
Add to Claude Desktop's
claude_desktop_config.json:{ "mcpServers": { "browser": { "url": "https://browser.regiq.in/api/mcp", "headers": { "Authorization": "Bearer YOUR_KEY_HERE" } } } } -
Restart Claude Desktop. Ask it: "open workit.info and search for placements in Cambridge." Your agent will call the browser tools and drive the page.
Tools
| Tool | Purpose |
|---|---|
browser_new_session() |
Spin up a session; returns sessionId. 15 min idle timeout. |
browser_close_session(sessionId) |
Clean up. |
browser_navigate(sessionId, url) |
Go to URL, wait for DOMContentLoaded. |
browser_snapshot(sessionId) |
Accessibility tree with per-element uids. |
browser_click(sessionId, uid) |
Click element by uid. |
browser_type(sessionId, uid, text) |
Fill input by uid. |
browser_press_key(sessionId, key) |
Keyboard press: Enter, Tab, Control+A, etc. |
browser_wait_for(sessionId, selector) |
Wait for CSS selector to appear. |
browser_read_page(sessionId) |
Plain-text page content (20 KB cap). |
browser_screenshot(sessionId) |
PNG as base64. |
save_credentials(domain, username, password) |
Encrypt + store login for a site. |
use_credentials(sessionId, domain, usernameSelector, passwordSelector) |
Type stored creds into a login form. Password never returned. |
list_saved_credentials() |
See what's stored (domains + usernames only). |
Handling login-gated sites
Your agent sees a login form. Flow:
- Check for saved creds —
list_saved_credentials(). - If saved for this domain — call
use_credentials(sessionId, "workit.info", "input[name=email]", "input[type=password]"). Server decrypts + types. Then click the submit button. - If not saved — tell the user: "I need your workit.info login to continue. Save it at https://browser.regiq.in/dashboard, then ask me again."
For MVP the user has to save creds via the dashboard. v0.2 will let the agent request creds through a paired channel (e.g. via telegram-mcp).
Self-host
You'll need:
- Docker + Compose
- A Google or GitHub OAuth client
- A public HTTPS domain (Cloudflare Tunnel or
ngrok http 3013) - ~4 GB RAM (Playwright + Chromium)
git clone https://github.com/globalion/browser-mcp
cd browser-mcp
cp .env.example .env
# fill NEXTAUTH_SECRET, GOOGLE_/GITHUB_*, PUBLIC_BASE_URL,
# and generate CRED_ENCRYPTION_KEY with `openssl rand -hex 32`
docker compose up -d
# open http://localhost:3013
Architecture
Your MCP agent → /api/mcp (Bearer auth) → In-memory session Map → Playwright BrowserContext
↕
Postgres (audit + credentials, AES-256-GCM)
Sessions live in the container's memory. A restart kills all active sessions — users just call browser_new_session again. Contexts auto-close after 15 min idle to free RAM.
Bot avoidance — realistic expectations
The stealth init script strips navigator.webdriver, adds fake plugins, exposes window.chrome.runtime, and patches the notifications permission oddity. Combined with a real Chromium binary (not headless-only) and realistic viewport/UA/timezone, that gets past most public sites.
Sites with serious anti-bot (Cloudflare Turnstile, PerimeterX, DataDome) will still detect. To bypass those you need:
- Residential proxies (~$50/mo services like Bright Data)
- CAPTCHA solving (~$0.001/solve via 2captcha)
- More elaborate fingerprint spoofing
That's v0.2 territory. For now, use browser-mcp on sites that aren't actively hunting bots.
License
MIT.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。