Browser MCP Server
Browser MCP Server
MCP(Model Context Protocol)サーバーです。Zyte API を介して、AI エージェントに実際の、アンチボット対応ブラウザを提供します。ページの閲覧、クリック/入力/スクロール、スクリーンショットの取得、構造化データの抽出が可能で、プロキシ/IP の自動ローテーションと ban 防止を備えています。
NestJS と @nestjs-mcp/server で構築され、Zyte の /extract エンドポイントと HTTP で直接通信します。トランスポートはストリーミング対応の HTTP のみで、単一の /mcp エンドポイントでステートレスに提供されます。
セットアップ
.env.exampleを.envにコピーして、以下を設定します:変数
必須
説明
ZYTE_API_KEYはい
あなたの Zyte API キー
ZYTE_API_BASE_URLいいえ
Zyte API のベース URL を上書きします(既定値:
https://api.zyte.com/v1)PORTいいえ
HTTP ポート(既定値:
3000)BROWSER_TIMEOUT_MSいいえ
Zyte への呼び出しごとのタイムアウト(既定値:
30000)BROWSER_MAX_RETRIESいいえ
レート制限(429/503)と一時的な禁止(520)の応答に対する再試行回数(指数バックオフ付き)(既定値:
2)依存関係をインストールしてサーバーを起動します:
pnpm install pnpm run start:devMCP エンドポイントは
http://localhost:3000/mcpで提供されます。
Related MCP server: Stealth Browser MCP
ツール
ツール | 戻り値 |
| URL を開き、必要に応じてアクション(click/type/select/scroll/wait)を実行し、 |
| ページのスクリーンショット。必要に応じてアクションを実行した後に取得します |
| 提供された JSON Schema に一致する、AI が抽出した構造化 JSON |
| Zyte の Search API を使った構造化された Web 検索結果(title/url/snippet)。ページを探して |
browser_browse、browser_screenshot、browser_extract は、任意の sessionId(以前の呼び出しで返された値)を受け取り、複数のツール呼び出しで同じ IP アドレスと Cookie jar を再利用します。ログイン状態を維持したり、複数ステップのタスク全体で一貫した IP を保つために便利です。Zyte のセッションに関するドキュメントにあるように、これは呼び出し間で実際のブラウザ/タブの状態(ページ内のフォーム入力、スクロール位置、開いているモーダルなど)を保持しません。各呼び出しでは、同じネットワーク ID と Cookie を使って新しいページが読み込まれます。
actions は結果をキャプチャする前に実行される一連のステップです: click、type、select、hover、keyPress、scrollBottom、scrollTo、waitForSelector、waitForTimeout、waitForNavigation、goto、evaluate。要素を指定するアクションには、selector: { type: "css" | "xpath", value: string } を渡します。
browser_search は Zyte の別のエンドポイント /v1/search(/v1/extract ではありません)に送信され、domain(サポートされている検索エンジン、例: "google.com")、query、および任意の maxResults(10–100)/ geolocation / locale を受け取ります。
レート制限(429/503)と一時的な禁止(520)の Zyte からの応答は、Zyte のエラー処理ガイダンスに従って、指数バックオフで BROWSER_MAX_RETRIES 回まで自動的に再試行されます。その他のエラー応答(無効なリクエスト、恒久的な禁止、アカウント停止)は、Zyte のエラー type が取得できる場合はメッセージに含めた上で、すぐに返されます。
クライアントの接続
実行中のインスタンスを指すリモート MCP クライアント設定の例(例: Claude Desktop / Claude Code):
{
"mcpServers": {
"browser": {
"url": "http://localhost:3000/mcp"
}
}
}テスト
pnpm test # unit tests (service + resolver, global fetch mocked)
pnpm run lint # eslint
pnpm run build # type-check + compile単体テストでは、Zyte への呼び出しに使用されるグローバルな fetch をモックしています。実際の API に対するエンドツーエンドの検証を行うには、実際の ZYTE_API_KEY でサーバーを実行し、pnpm dlx @modelcontextprotocol/inspector http://localhost:3000/mcp または curl を使って、initialize → tools/list → tools/call を実行してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with web browsers using natural language, featuring automated browsing, form filling, vision-based element detection, and structured JSON responses for systematic browser control.61MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to perform undetectable browser automation that bypasses Cloudflare, antibots, and social media blocks. Provides 105 tools for element extraction, network debugging, and real-world web scraping with a 98.7% success rate on protected sites.1,589MIT
- AlicenseAqualityBmaintenanceEnables AI agents to scrape any website by providing tools for JavaScript rendering, antibot bypass, and automatic captcha solving. It supports synchronous, asynchronous, and batch scraping operations with built-in proxy rotation.5207MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to fully control a browser for web automation, including navigation, clicking, typing, scrolling, screenshots, and DOM inspection, with session persistence and anti-bot bypass.21MIT
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Reliable web access for AI agents: smart HTTP, rotating proxies, and full-browser rendering.
Enable language models to perform advanced AI-powered web scraping with enterprise-grade reliabili…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/feedmepos/browser-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server