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
将以下内容添加到 ~/.cursor/mcp.json:
{
"mcpServers": {
"hyperbrowser": {
"command": "npx",
"args": ["-y", "hyperbrowser-mcp"],
"env": {
"HYPERBROWSER_API_KEY": "YOUR-API-KEY"
}
}
}
}
将以下内容添加到你的 ./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 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,请参考 此处。
请参考项目仓库中的许可证文件。