article
README
🚀 Hyperbrowser MCP 服务器
Hyperbrowser MCP 服务器提供了一系列工具,可用于网页抓取、结构化数据提取等操作,同时还能便捷访问通用浏览器代理,为相关开发和应用提供了有力支持。
更多关于 Hyperbrowser 的信息可以在这里找到:此处。Hyperbrowser API 支持 MCP 服务器的所有功能的一个超集。
更多关于 Model Context Protocol 的信息可以在这里找到:此处。
🚀 快速开始
Hyperbrowser 的 Model Context Protocol (MCP) 服务器提供了多种工具,用于抓取、提取结构化数据以及爬取网页。同时,它还提供对通用浏览器代理(如 OpenAI 的 CUA、Anthropic 的 Claude Computer Use 和 Browser Use)的便捷访问。
📦 安装指南
手动安装
要安装服务器,请运行:
npx hyperbrowser-mcp <YOUR-HYPERBROWSER-API-KEY>
在 Cursor 上运行
将以下内容添加到 ~/.cursor/mcp.json:
{
"mcpServers": {
"hyperbrowser": {
"command": "npx",
"args": ["-y", "hyperbrowser-mcp"],
"env": {
"HYPERBROWSER_API_KEY": "YOUR-API-KEY"
}
}
}
}
在 Windsurf 上运行
将以下内容添加到你的 ./codeium/windsurf/model_config.json:
{
"mcpServers": {
"hyperbrowser": {
"command": "npx",
"args": ["-y", "hyperbrowser-mcp"],
"env": {
"HYPERBROWSER_API_KEY": "YOUR-API-KEY"
}
}
}
}
开发
为了开发目的,可以直接从源代码运行服务器。
- 克隆仓库:
git clone git@github.com:hyperbrowserai/mcp.git hyperbrowser-mcp
cd hyperbrowser-mcp
- 安装依赖项:
npm install # 或 yarn install
npm run build
- 运行服务器:
node dist/server.js
Claude 桌面应用
这是为 Claude Desktop 客户端配置 Hyperbrowser MCP 服务器的一个示例。
{
"mcpServers": {
"hyperbrowser": {
"command": "npx",
"args": ["--yes", "hyperbrowser-mcp"],
"env": {
"HYPERBROWSER_API_KEY": "your-api-key"
}
}
}
}
✨ 主要特性
scrape_webpage- 从任何网页提取格式化(Markdown、截图等)内容crawl_webpages- 遍历多个链接页面并提取适合 LLM 处理的内容extract_structured_data- 将凌乱的 HTML 转换为结构化的 JSONsearch_with_bing- 使用 Bing 搜索引擎查询网络browser_use_agent- 轻量级浏览器自动化,使用 Browser Use 代理openai_computer_use_agent- 使用 OpenAI 的 CUA 模型进行通用自动化claude_computer_use_agent- 使用 Claude Computer Use 进行复杂浏览器任务hyperbrowser-mcp- Hyperbrowser 的 MCP 实现,用于高级用例
📚 详细文档
要配置 MCP,请参考 此处。
📄 许可证
请参考项目仓库中的许可证文件。
微信扫一扫