Browser Mcp

io.github.Shreyas-Profile由 GitHub 账号 Shreyas-Profile 发布v0.2.0更新于 Nov 2, 2026

Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.

已验证Streamable HTTP可网页运行网页搜索与抓取浏览器自动化

概览

AI 生成的概览

托管式 Chrome 浏览器服务器,让助手在按用户隔离的会话中导航、点击、输入、读取页面并截图。

可以做什么
  • 创建和关闭隔离的浏览器会话,空闲 15 分钟后自动超时
  • 打开网址、等待选择器出现、发送按键
  • 通过无障碍快照查看页面,并按元素 uid 点击和输入
  • 读取页面纯文本内容并截取 PNG 截图
  • 加密保存网站登录信息并由服务器代为填入登录表单,列出已保存凭据的域名和用户名
适用场景
适合需要助手操作真实网站的场景,例如依赖 JavaScript 或需登录的页面、填写表单、查看门户或记录页面状态,同时不必在本地运行浏览器。
运行要求
通过 streamable HTTP 连接 browser.regiq.in 远程端点。需用 Google 或 GitHub 登录并在控制台生成 MCP API 密钥,以 Authorization Bearer 请求头发送。自建需 Docker、OAuth 客户端、公网 HTTPS 域名和约 4 GB 内存。
安装前请注意
服务器会代为保存网站密码,虽加密存储且不返回给模型,但仍是将凭据交给第三方。助手可在真实网站上点击、输入并提交表单,可能修改数据或触发操作。其隐身功能用于规避机器人检测,README 也说明强反爬站点仍会拦截。服务重启会丢失所有会话。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Browser Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Shreyas-Profile%2Fbrowser-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "browser": {
      "type": "http",
      "url": "https://browser.regiq.in/api/mcp"
    }
  }
}

README

browser-mcp

Built by Shreyas · Shipped by Globalion

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_credentials types 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

  1. Visit https://browser.regiq.in and sign in with Google or GitHub.

  2. Generate an MCP API key on the dashboard.

  3. Add to Claude Desktop's claude_desktop_config.json:

    json
    {  "mcpServers": {    "browser": {      "url": "https://browser.regiq.in/api/mcp",      "headers": {        "Authorization": "Bearer YOUR_KEY_HERE"      }    }  }}
  4. 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

ToolPurpose
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:

  1. Check for saved creds — list_saved_credentials().
  2. 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.
  3. 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)
bash
git clone https://github.com/globalion/browser-mcpcd browser-mcpcp .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.

来源:README.md,提交 5418fc8

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

1
  1. v0.2.0最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分