chrome-driverless
Allows logging into Bilibili in the managed browser, exporting and persisting the login state for reuse by yt-dlp downloads.
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., "@chrome-driverlessOpen example.com, take a screenshot, and list the clickable elements on the 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.
chrome-driverless(内嵌无头浏览器服务)
基于 Playwright 驱动一个有头(headed + xvfb)的持久化 Chrome,对外提供一套 MCP 风格 HTTP 接口(/mcp),用于:导航、截图、点击、输入、多 Tab、多 Profile、代理切换、登录态导出(cookies / auth.json)。
它被用作本项目(ytb-dl-web)的内置浏览器 Tab:在浏览器里登录网易云 / QQ音乐 / Bilibili,登录态自动落盘,下载时被 yt-dlp 复用。
快速开始
pip install -r requirements.txt
python main.py # 默认 0.0.0.0:9223浏览器为持久化 context,登录态保存在 data/profiles/<name>/auth.json(也可由环境变量 BROWSER_DATA_DIR 覆盖)。
Related MCP server: Chrome DevTools MCP
环境变量
变量 | 说明 | 默认 |
| 持久化数据目录(profiles / auth.json / 浏览器 profile) |
|
| 启动时激活的 profile |
|
| 浏览器代理(可空;留空则不启用代理) | 空 |
| 直连白名单(逗号分隔) |
|
| Chrome CDP 调试端口(供 job 脚本 connectOverCDP) |
|
| 外部访问地址(仅日志 / | 空 |
代理默认留空,需要代理时通过环境变量注入,避免把固定地址写进代码(已清理历史敏感默认值)。
HTTP 接口
GET /—— Web 控制台(内置 tab 页面,支持 中 / 英 切换,暗色界面)GET /healthPOST /mcp—— MCP 方法调用,body{"method":"pw/...","params":{...}}
常用 MCP 方法
方法 | 说明 |
| 初始化 / 复用持久化浏览器 |
| 导航 / 回退 / 刷新(返回截图) |
| 当前页截图(base64) |
| 点击 / 输入 / 按键 / 清空输入 |
| 列出可交互元素(id / selector / 坐标) |
| 浏览器多 Tab 管理 |
| 多 Profile 隔离登录态 |
| 将当前登录态导出为 auth.json |
| 开关浏览器代理 |
| 交给大模型按步完成页面任务 |
| 在当前页执行 JS |
嵌入到 ytb-dl-web 主界面
通过 docker-compose / all-in-one 镜像运行本服务,暴露端口
9223。在 ytb-dl-web 设置
CHROME_DRIVERLESS_URL=http://<host>:9223。打开 ytb-dl-web 主界面,点导航栏 🛩️ 内置浏览器,即在页面内以 Tab 形式打开本控制台。
在此浏览器中登录各平台一次,登录态自动保存;下载时被 yt-dlp 复用。
本服务自身无外部 LDAP 登录(已移除历史硬编码外部认证域名 / 内网地址 / 私有仓库镜像引用),作为内网/嵌入式工具直接使用。若需访问控制,请在前置反向代理上加。
声明
仅用于个人学习 / 自用自动化。请遵守各网站的服务条款。
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
- FlicenseNot gradedqualityDmaintenanceA web browser automation server that allows AI assistants to control Chrome with persistent state management, enabling complex browsing tasks through asynchronous browser operations.2
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser through DevTools for automated testing, performance analysis, debugging, and web scraping. Provides reliable browser automation using Puppeteer with comprehensive DevTools access.3,288,1653Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to control and inspect a live Chrome browser for automation, debugging, performance analysis, network monitoring, and DOM interaction through Chrome DevTools Protocol.3,288,165Apache 2.0
- AlicenseBqualityDmaintenanceEnables AI coding assistants to control a persistent Chrome browser through DevTools Protocol. Supports web navigation, screenshots, element interaction, mobile testing, console logs, and network debugging in a stable Docker environment.107MIT
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Provides cloud browser automation capabilities using Stagehand and Browserbase, enabling LLMs to i…
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/friddle/chrome-driverless'
If you have feedback or need assistance with the MCP directory API, please join our Discord server