HM

hyperbrowserai/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

793 stars 75 forks 质量 77 趋势 22MIT

超浏览器的MCP服务器实现

概览

这是Hyperbrowser的模型上下文协议(MCP)服务器。它提供多种工具,用于抓取、提取结构化数据和爬取网页。它还方便访问通用浏览器代理,如OpenAI的CUA、Anthropic的Claude Computer Use和Browser Use。 关于超浏览器的更多信息可在此处找到。超浏览器 API 支持 mcp 服务器中存在的超集功能。 关于模型上下文协议的更多信息,请点击这里。 在你的./codeium/windsurf/model_config.json里加这样一句: 为了开发目的,你可以直接从源代码运行服务器。 这是Claude Desktop客户端Hyperbrowser MCP服务器的一个示例配置。

概述(AI 翻译)

这是Hyperbrowser的模型上下文协议(MCP)服务器。它提供多种工具,用于抓取、提取结构化数据和爬取网页。它还方便访问通用浏览器代理,如OpenAI的CUA、Anthropic的Claude Computer Use和Browser Use。

关于超浏览器的更多信息可在此处找到。超浏览器 API 支持 mcp 服务器中存在的超集功能。

关于模型上下文协议的更多信息,请点击这里。

目录

  • 安装
  • 使用情况
  • 工具
  • 配置
  • 许可证

安装

手动安装

要安装服务器,请执行:

在光标上运行

在~/.cursor/mcp.json中添加如下:

在风帆冲浪上奔跑

在你的./codeium/windsurf/model_config.json上加这样一句:

发展

为了开发目的,你可以直接从源代码运行服务器。

  1. 克隆仓库:

  2. 安装依赖:

  3. 运行服务器:

Claude桌面应用

这是Claude Desktop客户端Hyperbrowser MCP服务器的一个示例配置。

工具

  • scrape_webpage - 从任何网页提取格式化(下注、截图等)内容

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Hyperbrowser MCP Server

This is Hyperbrowser’s Model Context Protocol (MCP) Server. It provides various tools to scrape, extract structured data, and crawl webpages. It also provides easy access to general purpose browser agents like OpenAI’s CUA, Anthropic’s Claude Computer Use, and Browser Use.

More information about the Hyperbrowser can be found here. The hyperbrowser API supports a superset of features present in the mcp server.

More information about the Model Context Protocol can be found here.

Table of Contents

Installation

Manual Installation

To install the server, run:

npx hyperbrowser-mcp 

Running on Cursor

Add to ~/.cursor/mcp.json like this:

{
  "mcpServers": {
    "hyperbrowser": {
      "command": "npx",
      "args": ["-y", "hyperbrowser-mcp"],
      "env": {
        "HYPERBROWSER_API_KEY": "YOUR-API-KEY"
      }
    }
  }
}

Running on Windsurf

Add to your ./codeium/windsurf/model_config.json like this:

{
  "mcpServers": {
    "hyperbrowser": {
      "command": "npx",
      "args": ["-y", "hyperbrowser-mcp"],
      "env": {
        "HYPERBROWSER_API_KEY": "YOUR-API-KEY"
      }
    }
  }
}

Development

For development purposes, you can run the server directly from the source code.

  1. Clone the repository:

    git clone [email protected]:hyperbrowserai/mcp.git hyperbrowser-mcp
    cd hyperbrowser-mcp
    
  2. Install dependencies:

    npm install # or yarn install
    npm run build
    
  3. Run the server:

    node dist/server.js
    

Claude Desktop app

This is an example config for the Hyperbrowser MCP server for the Claude Desktop client.

{
  "mcpServers": {
    "hyperbrowser": {
      "command": "npx",
      "args": ["--yes", "hyperbrowser-mcp"],
      "env": {
        "HYPERBROWSER_API_KEY": "your-api-key"
      }
    }
  }
}

Tools

  • scrape_webpage - Extract formatted (markdown, screenshot etc) content from any webpage
  • crawl_webpages - Navigate through multiple linked pages and extract LLM-friendly formatted content
  • extract_structured_data - Convert messy HTML into structured JSON
  • search_with_bing - Query the web and get results with Bing search
  • browser_use_agent - Fast, lightweight browser automation with the Browser Use agent
  • openai_computer_use_agent - General-purpose automation using OpenAI’s CUA model
  • claude_computer_use_agent - Complex browser tasks using Claude computer use
  • create_profile - Creates a new persistent Hyperbrowser profile.
在 GitHub 查看完整 README

安装

npx -y hyperbrowser-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "hyperbrowser": { "command": "npx", "args": ["-y", "hyperbrowser-mcp"], "env": { "HYPERBROWSER_API_KEY": "YOUR-API-KEY" } } } }