hyper-mcp-browser
1. 概要页面
2. Google 和 Bing 搜索
命令: npx
参数: -y hyper-mcp-browser
环境变量:
// 连接浏览器的远程调试端口
let Hyper_browserURL = process.env.Hyper_browserURL || "http://localhost:9222";
// 是否使用本地浏览器,如果为false则使用设置的端口调试浏览器
let isAutoLauncher = process.env.Hyper_isAutoLauncher != "false";
// 搜索引擎
let searchEngine = process.env.Hyper_SEARCH_ENGINE || "google";
// 起始页
let startingUrl = process.env.Hyper_startingUrl || "https://github.com/BigSweetPotatoStudio/HyperChat";
// (可选)浏览器默认路径
// * 如果设置了`CHROME_PATH`环境变量,则会使用该变量。(`LIGHTHOUSE_CHROMIUM_PATH`已弃用)
// * 否则,如果检测到Chrome Canary,则会使用它
// * 否则,会使用检测到的Chrome(稳定版)
let CHROME_PATH = process.env.CHROME_PATH || undefined;
// chrome 最近的改动,更改了远程调试开关以提高安全性 https://developer.chrome.com/blog/remote-debugging-port?hl=zh-cn
let userDataDir = process.env.userDataDir || undefined;
https://github.com/user-attachments/assets/5d963741-1384-4915-bcc6-6b1248294be0