
browsermcp/mcp
Browser automationこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ブラウザMCPは、AIアプリケーションがブラウザを制御できるモデルコンテキストプロバイダー(MCP)サーバーです
概要
AIでブラウザを自動化しましょう。ウェブサイト・ドキュメント Browser MCPは、VS Code、Claude、Cursor、WindsurfなどのAIアプリケーションを使ってブラウザを自動化できるMCPサーバー+Chrome拡張機能です。 - ⚡ 高速:自動化はマシン上でローカルで行われ、ネットワーク遅延なしにより良いパフォーマンスを実現します。- 🔒 プライベート:自動化がローカルで行われるため、ブラウザの活動はデバイス上で保持され、リモートサーバーに送信されません。- 👤 ログイン済み:既存のブラウザプロファイルを使用し、すべてのサービスにログインしたままにします。- 🥷🏼 ステルス:本物のブラウザの指紋を使って基本的なボット検出やCAPTCHAを回避します。 このリポジトリにはブラウザMCPのコアコードがすべて含まれていますが、現時点ではモノリポジトリのユーティリティや型に依存しているため、単独で構築することはできません。 ブラウザMCPは、新しいブラウザインスタンスを作成するのではなく、ユーザーのブラウザを自動化するためにPlaywright MCPサーバーから適応されました。
概要(AI 翻訳)
ブラウザMCP
AIでブラウザを自動化しましょう。
ウェブサイト • ドキュメンタリー
概要
Browser MCPは、VS Code、Claude、Cursor、WindsurfなどのAIアプリケーションを使ってブラウザを自動化できるMCPサーバー+Chrome拡張機能です。
特徴
- ⚡ 高速:自動化はマシン上でローカルに行われるため、ネットワーク遅延なしにより良いパフォーマンスが得られます。
- 🔒 プライベート:自動化はローカルで行われるため、ブラウザの活動はデバイスに留まりリモートサーバーに送信されません。
- 👤 ログイン済み:既存のブラウザプロフィールを使用し、すべてのサービスにログインしたままにします。
- 🥷🏼 ステルス:本物のブラウザの指紋を使って基本的なボット検出やキャプチャを回避。
貢献
このリポジトリにはブラウザMCPのコアコードがすべて含まれていますが、現時点ではモノリポジトリのユーティリティや型に依存しているため、単独で構築することはできません。
クレジット
ブラウザMCPはPlaywright MCPサーバーから適応され、ユーザーのブラウザを自動化するために新しいブラウザインスタンスを作成する必要がありません。これにより、ユーザーの既存のブラウザプロファイルを使ってログインセッションを利用でき、自動化されたブラウザ使用を妨げるボット検出メカニズムを回避できます。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Browser MCP
Browser MCP lets AI apps (Claude Code, Cursor, VS Code, Codex, Claude Desktop…) use your own Chrome: your signed-in sites, your profile, in tabs of their own. Everything runs on your computer.
- Website and docs: browsermcp.io, docs
- Extension: Chrome Web Store, or build it yourself
- MCP server:
@browsermcp/mcpon npm
How it works
Each AI app runs the MCP server (npx @browsermcp/mcp@latest), a small process that starts one daemon per user and forwards the app’s browser tool calls to it. The daemon drives the browser’s tabs with Playwright, through the extension: a thin chrome.debugger relay that only talks to the daemon on 127.0.0.1, and only after you click Allow in its popup once per computer, having checked that its six-digit code matches the one your AI app shows. The extension enforces its own rules whatever the daemon asks: no incognito tabs unless you turned on Allow in Incognito for the extension in Chrome, no browser or extension pages, and nothing while you’ve pressed Stop.
| Folder | Package | |
|---|---|---|
packages/mcp |
@browsermcp/mcp |
The MCP server and the daemon (README) |
packages/protocol |
@browsermcp/protocol |
The protocol between the extension and the daemon, including pairing |
packages/extension-core |
@browsermcp/extension-core |
The extension’s browser control: the connection, pairing, the debugger relay, the rules about tabs, tab groups, the badge |
apps/extension |
@browsermcp/extension |
The extension built from this repo: browser control and its popup |
Build it yourself
You need Node.js 24 or later, pnpm (corepack enable) and Chrome or another Chromium browser (Edge, Brave, Arc…). Firefox has no debugger API, so Browser MCP doesn’t work there.
-
Build the extension and the server:
git clone https://github.com/BrowserMCP/mcp.git browsermcp cd browsermcp pnpm install pnpm build
インストール
npx @browsermcp/mcp@latest` (the docs' setup) works with this extension too: it's the same server, published from this repo.設定
{
"mcpServers": {
"browsermcp": {
"command": "node",
"args": ["/path/to/browsermcp/packages/mcp/dist/index.js"]
}
}
}