这是Hyperbrowser的模型上下文协议(MCP)服务器。它提供了各种工具来抓取、提取结构化数据和爬取网页。此外,它还提供了对通用浏览器代理如OpenAI的CUA、Anthropic的Claude计算机使用以及浏览器使用的便捷访问。
更多关于Hyperbrowser的信息,请参见这里。Hyperbrowser API支持比MCP服务器更多的功能集。
更多关于模型上下文协议的信息,请参见这里。
要安装服务器,请运行:
npx hyperbrowser-mcp <您的Hyperbrowser API密钥>
在~/.cursor/mcp.json中添加如下内容:
{
"mcpServers": {
"hyperbrowser": {
"command": "npx",
"args": ["-y", "hyperbrowser-mcp"],
"env": {
"HYPERBROWSER_API_KEY": "您的API密钥"
}
}
}
}
在你的./codeium/windsurf/model_config.json中添加如下内容:
{
"mcpServers": {
"hyperbrowser": {
"command": "npx",
"args": ["-y", "hyperbrowser-mcp"],
"env": {
"HYPERBROWSER_API_KEY": "您的API密钥"
}
}
}
}
为了开发目的,你可以直接从源代码运行服务器。
克隆仓库:
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桌面客户端的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计算机使用执行复杂的浏览器任务create_profile - 创建一个新的持久性Hyperbrowser配置文件。delete_profile - 删除现有的持久性Hyperbrowser配置文件。list_profiles - 列出现有的持久性Hyperbrowser配置文件。要通过Smithery自动安装Hyperbrowser MCP Server到Claude桌面客户端:
npx -y @smithery/cli install @hyperbrowserai/mcp --client claude
该服务器通过resources方法提供有关Hyperbrowser的文档。任何能够发现资源的客户端都可以访问这些文档。
本项目根据MIT许可证授权。