Hyperbrowser
官方Hyperbrowser 是新一代平台,賦能 AI 代理,實現輕鬆、可擴展的瀏覽器自動化。
你可以用 Hyperbrowser MCP 做什麼?
- 將任何網頁擷取為乾淨的 Markdown 或螢幕截圖 — 使用
scrape_webpage從 URL 提取適合 LLM 的內容。 - 爬取多個連結頁面進行批量提取 —
crawl_webpages會跟隨連結並回傳整個網站區塊的格式化內容。 - 將雜亂的 HTML 轉換為結構化 JSON —
extract_structured_data將原始頁面內容轉換為定義好的架構。 - 以程式化方式搜尋網路 —
search_with_bing執行 Bing 查詢並回傳結果集。 - 將複雜的瀏覽器任務委派給 AI 代理 — 選擇
browser_use_agent、openai_computer_use_agent或claude_computer_use_agent進行多步驟自動化。 - 管理持續性的瀏覽器設定檔 —
create_profile、list_profiles和delete_profile可處理已儲存的瀏覽工作階段。
文件
Hyperbrowser MCP 伺服器
這是 Hyperbrowser 的模型上下文協定 (MCP) 伺服器。它提供多種工具來抓取、擷取結構化資料,以及爬取網頁。同時也提供簡便的方式來存取通用瀏覽器代理,例如 OpenAI 的 CUA、Anthropic 的 Claude Computer Use 和 Browser Use。
更多關於 Hyperbrowser 的資訊可以在這裡找到。Hyperbrowser API 支援 MCP 伺服器所具備功能的超集合。
更多關於模型上下文協定的資訊可以在這裡找到。
目錄
安裝
手動安裝
若要安裝伺服器,請執行:
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 # or yarn install npm run build -
執行伺服器:
node dist/server.js
Claude 桌面應用程式
這是一個用於 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 computer use 處理複雜的瀏覽器任務create_profile- 建立新的持久性 Hyperbrowser 設定檔。delete_profile- 刪除現有的持久性 Hyperbrowser 設定檔。list_profiles- 列出既有的持久性 Hyperbrowser 設定檔。
透過 Smithery 安裝
若要透過 Smithery 為 Claude Desktop 自動安裝 Hyperbrowser MCP 伺服器:
npx -y @smithery/cli install @hyperbrowserai/mcp --client claude
資源
伺服器透過 resources 方法提供關於 Hyperbrowser 的文件。任何能夠透過資源進行探索的用戶端都可以存取它。
授權條款
本專案採用 MIT 授權條款。