Browser Use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
作者による説明(英語の原文)
Chrome breakpoint debugging MCP server for inspecting runtime values and stepping through code
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"chrome-debugger": {
"command": "npx",
"args": [
"-y",
"chrome-debugger-mcp"
]
}
}
}ターミナルでこれを実行します
claude mcp add chrome-debugger -- npx -y chrome-debugger-mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"chrome-debugger": {
"command": "npx",
"args": [
"-y",
"chrome-debugger-mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"chrome-debugger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"chrome-debugger-mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント BitePro で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(1.0.4)がレジストリに届いたのは8 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Browser Use, Chrome DevTools MCP, MCP Server Browser
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
MCP server for Chrome DevTools
MCP server for browser use access
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
English | 中文
An MCP server for breakpoint-driven Chrome debugging.
chrome-debugger-mcp exposes Chrome DevTools Protocol primitives as MCP tools so an AI agent can attach to a real Chrome tab, pause execution, inspect scope values, evaluate expressions inside the current call frame, and step through code with runtime facts instead of guessing from static source.
It is not a general browser automation server. The focus is runtime debugging.
debugger; statements and wait for the exact pause you expect*Demo: the agent launches Chrome, waits for a breakpoint, inspects real scope variables, and resumes with runtime facts instead of guessing.*
{
"mcpServers": { "chrome-debugger": { "command": "npx", "args": ["-y", "chrome-debugger-mcp"] } } }
npx -y chrome-debugger-mcp
Or install it globally:
npm install -g chrome-debugger-mcp
pnpm install
pnpm build node dist/index.js
_ui payloads and logging messages that clients can surface to the userMany browser-focused MCP tools are strong at DOM interaction and network inspection, but weak at runtime debugging. This server gives an MCP client the missing loop you would normally use in Chrome DevTools: attach to the right tab, pause at the right time, inspect real values, step if needed, and resume cleanly.
It also adds guardrails that prevent common agent mistakes:
reloadPage() and waitForSpecificPause()debugger; statementsThe server runs over stdio and exposes MCP tools. The most important tools are:
startDebuggingSession: returns the recommended debugging workflow and critical rules for agent behaviorlaunchChrome: launches a dedicated Chrome instance with remote debugging enabledlistTargets: lists available Chrome tabs and requires the user to pick oneconnect: attaches to the confirmed tabsetBreakpoint: creates a CDP breakpoint without modifying source filesremoveBreakpoint: removes a breakpoint created by setBreakpointreloadPage: reloads the current page through CDPwaitForSpecificPause: waits for the next pause and checks whether it matches a target file and linewaitForPause: waits for any pause without location matchinggetScopeVariables: reads local, closure, and module scope values from the paused frameevaluate: executes JavaScript in the paused call framestepInto, stepOver, stepOut: standard execution controlresume: resumes execution after inspectiongetStatus: non-blocking polling for connected or paused stateforcePause: requests a pause at the next JavaScript statementFor AI clients, the intended flow is:
startDebuggingSession().launchChrome() or use an already-running Chrome instance with a CDP port.listTargets() and show the full tab list to the user.connect({ targetUrl }).debugger; statement in local source code, or call setBreakpoint().reloadPage().waitForSpecificPause() in the same turn.getScopeVariables() and evaluate() to inspect runtime values.stepInto(), stepOver(), or stepOut().resume().debugger; statements from source code.This server is designed for tool-using agents, not only for humans. If you are integrating it into an MCP client, keep these rules:
listTargets().connect().reloadPage(), immediately call waitForSpecificPause() or waitForPause() in the same turn.resume() after inspection.debugger; statements to source code, remove them before finishing.waitForSpecificPause MatcheswaitForSpecificPause is the preferred waiting primitive because it is more reliable than waiting for an arbitrary pause.
It matches a pause using two strategies:
debugger-statement pause reasonThe second path matters when source maps, transpilation, or bundling shift compiled line numbers away from editor line numbers.
An agent debugging a local Vite app might do something like this:
launchChrome({ dryRun: true })launchChrome()listTargets()http://127.0.0.1:5173connect({ targetUrl: "127.0.0.1:5173" })debugger; in App.jsxreloadPage()waitForSpecificPause({ urlFragment: "App.jsx", line: 62, actionHint: "click the Refetch payloads button" })getScopeVariables()evaluate({ expression: "payload.modules" })resume()launchChrome() uses a dedicated profile so it does not interfere with the user's normal browser session.
Defaults:
9222~/.chrome-debug-profileExpected Chrome binary locations:
/Applications/Google Chrome.app/Contents/MacOS/Google Chromegoogle-chromeC:\Program Files\Google\Chrome\Application\chrome.exeIf automatic launch fails, the tool returns a command the user can run manually.
This repository includes a disposable test app under test/ so you can exercise the debugger server against a realistic browser workflow.
cd test/service
node src/server.js
The service listens on http://127.0.0.1:3030.
cd test/web
pnpm install pnpm dev
The web app runs on http://127.0.0.1:5173.
Useful places to pause:
test/web/src/App.jsx inside loadWorkbenchtest/web/src/App.jsx inside loadModuleDetailtest/web/src/App.jsx around the unfinished detail sectionsRuntime payload areas worth inspecting:
summaryCardsmodulesapiContractsnextActionsresponseShapeMake sure Chrome is running with --remote-debugging-port=9222 and the target page is open.
targetUrlPass a more specific substring so the match becomes unique.
waitForPause or waitForSpecificPause times outThis can happen when:
If your client times out quickly, use getStatus() to poll or increase the client timeout.
Bundlers and transpilers can shift compiled line numbers. Use waitForSpecificPause() and rely on URL fragment matching plus debugger-statement semantics.
The machine may use a non-default Chrome install path. Run the returned launch command manually or adjust the implementation to match your environment.
pnpm install
pnpm build node dist/index.js
The implementation lives in:
src/index.ts: MCP tool definitions and user-facing workflow hintssrc/chrome-manager.ts: Chrome DevTools Protocol integration and debugger state managementMIT
一个面向 Chrome 断点调试的 MCP Server。
chrome-debugger-mcp 把 Chrome DevTools Protocol 的核心调试能力暴露为 MCP 工具,让 AI agent 可以连接真实的 Chrome 标签页,在运行时暂停执行、读取作用域变量、在当前调用帧中执行表达式、单步跟踪代码,并基于真实值继续任务,而不是只靠静态源码猜测行为。
它不是通用浏览器自动化工具。它的重点是运行时调试。
debugger; 命中时暂停,并等待指定文件和行附近的 pause*演示流程:agent 拉起 Chrome,等待断点命中,读取真实作用域变量,再基于运行时事实继续执行,而不是靠猜测推进。*
{
"mcpServers": { "chrome-debugger": { "command": "npx", "args": ["-y", "chrome-debugger-mcp"] } } }
npx -y chrome-debugger-mcp
也可以全局安装:
npm install -g chrome-debugger-mcp
pnpm install
pnpm build node dist/index.js
_ui 结果和 logging 消息,方便客户端展示给用户很多浏览器方向的 MCP 工具更擅长 DOM 操作和网络请求观察,但不擅长回答运行时调试问题。这个服务补上的是 Chrome DevTools 里最关键的那条链路:连接正确标签页、在正确时机暂停、读取真实值、必要时单步跟踪、最后恢复执行。
它也内置了几条 guardrails,避免 agent 出现这些常见错误:
reloadPage() 和 waitForSpecificPause() 之间错误地结束当前轮次debugger;,需要能访问本地源码这个服务通过 stdio 运行,并暴露一组 MCP tools。最核心的工具有:
startDebuggingSession:返回推荐调试流程和 agent 行为约束launchChrome:启动带远程调试能力的独立 Chrome 实例listTargets:列出可调试标签页,并要求用户做选择connect:连接到已确认的目标标签页setBreakpoint:在不改源码的情况下通过 CDP 设置断点removeBreakpoint:移除通过 setBreakpoint 创建的断点reloadPage:通过 CDP 重载当前页面waitForSpecificPause:等待下一次暂停,并判断是否命中目标文件和行waitForPause:不做位置匹配,等待任意暂停getScopeVariables:读取当前暂停帧中的局部、闭包、模块作用域变量evaluate:在暂停调用帧中执行 JavaScriptstepInto、stepOver、stepOut:标准单步控制resume:检查完毕后恢复执行getStatus:非阻塞方式查询是否已连接、是否已暂停forcePause:请求在下一条 JavaScript 语句处暂停对于 AI 客户端,建议流程是:
startDebuggingSession()。launchChrome(),或直接复用已经开启 CDP 端口的 Chrome。listTargets(),并把完整标签页列表展示给用户。connect({ targetUrl })。debugger;,或者调用 setBreakpoint()。reloadPage()。waitForSpecificPause()。getScopeVariables() 和 evaluate() 检查运行时值。stepInto()、stepOver()、stepOut() 继续跟踪。resume()。debugger;。这个服务首先是为会调用工具的 agent 设计的,而不仅仅是给人手动点工具用。如果你要把它接入自己的 MCP 客户端,建议遵守这些规则:
listTargets()。connect()。reloadPage() 后,必须在同一轮里立刻调用 waitForSpecificPause() 或 waitForPause()。resume()。debugger;,结束前要清理掉。waitForSpecificPause 如何匹配waitForSpecificPause 是首选的等待工具,因为它比“等待任意暂停”更可靠。
它有两层匹配策略:
debugger-statement 暂停原因第二层匹配对经过 source map、转译、打包后的代码尤其重要,因为编译后的行号可能和编辑器行号不完全一致。
冒頭だけを表示しています。続きはリポジトリで読めます