ハイパーブラウザ MCP サーバー
概要
MCPとは?
MCP(マルチチャネルプロトコル)は、ハイパーブラウザフレームワークのために設計されたサーバー実装です。これは、ハイパーブラウザエコシステムのさまざまなコンポーネント間の通信を促進し、異なるチャネル間でのデータ交換と相互作用をシームレスに行えるようにします。この実装は、堅牢なマルチチャネル通信機能を必要とするアプリケーションを構築しようとする開発者にとって特に便利です。
MCPの特徴
- マルチチャネルサポート:MCPは、複数のチャネル間で同時に通信を行うことができ、データ転送と相互作用の効率を向上させます。
- オープンソース:公開リポジトリであるため、MCPは貢献や修正が可能で、開発者が自分のニーズに応じてカスタマイズできます。
- 簡単な統合:サーバーは既存のハイパーブラウザアプリケーションに簡単に統合でき、開発者にとって柔軟な選択肢となります。
- アクティブなコミュニティ:増加するスターやフォークにより、MCPはその継続的な開発と改善に貢献するアクティブなコミュニティの恩恵を受けています。
MCPの使い方
-
リポジトリをクローンする:まず、次のコマンドを使用してGitHubからMCPリポジトリをクローンします。
git clone https://github.com/hyperbrowserai/mcp.git
-
依存関係をインストールする:クローンしたディレクトリに移動し、必要な依存関係をインストールします。これは通常、npmやyarnのようなパッケージマネージャーを使用して行うことができます。
-
サーバーを実行する:ターミナルで適切なコマンドを実行してMCPサーバーを起動します。これにより、サーバーが起動し、リクエストを処理できる準備が整います。
-
アプリケーションに統合する:提供されたAPIエンドポイントを使用してMCPをハイパーブラウザアプリケーションに統合し、マルチチャネル通信を可能にします。
-
貢献する:改善や機能を追加したい場合は、リポジトリをフォークし、変更を加えてプルリクエストを提出してMCPプロジェクトに貢献してください。
よくある質問
MCPで使用されているプログラミング言語は何ですか?
MCPは主にJavaScriptとNode.jsで構築されており、これらの技術に慣れた開発者にとってアクセスしやすいです。
MCPは本番環境での使用に適していますか?
はい、MCPは堅牢でスケーラブルに設計されており、本番環境に適しています。ただし、デプロイ前に十分なテストを行うことをお勧めします。
問題を報告したり機能をリクエストするにはどうすればよいですか?
MCPのGitHubリポジトリでイシューを開くことで、問題を報告したり機能をリクエストできます。コミュニティとメンテナはフィードバックを積極的に監視し、応答します。
MCPプロジェクトに貢献できますか?
もちろんです!貢献は歓迎されます。リポジトリをフォークし、変更を加えてレビューのためにプルリクエストを提出できます。
MCPのドキュメントはどこにありますか?
MCPのドキュメントは通常、リポジトリ内にあり、README.md
ファイルや専用のdocs
ディレクトリに見つけることができます。
詳細
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 <YOUR-HYPERBROWSER-API-KEY>
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.
-
Clone the repository:
git clone git@github.com:hyperbrowserai/mcp.git hyperbrowser-mcp cd hyperbrowser-mcp
-
Install dependencies:
npm install # or yarn install npm run build
-
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 webpagecrawl_webpages
- Navigate through multiple linked pages and extract LLM-friendly formatted contentextract_structured_data
- Convert messy HTML into structured JSONsearch_with_bing
- Query the web and get results with Bing searchbrowser_use_agent
- Fast, lightweight browser automation with the Browser Use agentopenai_computer_use_agent
- General-purpose automation using OpenAI’s CUA modelclaude_computer_use_agent
- Complex browser tasks using Claude computer usecreate_profile
- Creates a new persistent Hyperbrowser profile.delete_profile
- Deletes an existing persistent Hyperbrowser profile.list_profiles
- Lists existing persistent Hyperbrowser profiles.
Installing via Smithery
To install Hyperbrowser MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @hyperbrowserai/mcp --client claude
Resources
The server provides the documentation about hyperbrowser through the resources
methods. Any client which can do discovery over resources has access to it.
License
This project is licensed under the MIT License.
サーバー設定
{
"mcpServers": {
"mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--hyperbrowserai--mcp--mcp",
"npm run start"
],
"env": {
"HYPERBROWSER_API_KEY": "hyperbrowser-api-key"
}
}
}
}