From cde4dc17bc16f877fe97ea3f61111fe9aa15ff6f Mon Sep 17 00:00:00 2001 From: Clawdbot Date: Fri, 10 Apr 2026 04:34:35 +0200 Subject: [PATCH 1/3] docs: document autoconnect network request history --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 6f83fe56e..3c0612c92 100644 --- a/README.md +++ b/README.md @@ -713,6 +713,9 @@ Check the performance of https://developers.chrome.com > [!NOTE] > The autoConnect option requires the user to start Chrome. If the user has multiple active profiles, the MCP server will connect to the default profile (as determined by Chrome). The MCP server has access to all open windows for the selected profile. +> +> [!NOTE] +> Network requests that occurred before the MCP server connected are not available via list_network_requests / get_network_request. If you need those, start the MCP server first or reload the page after it connects. The Chrome DevTools MCP server will try to connect to your running Chrome instance. It shows a dialog asking for user permission. From 7d3f02b4d70a7e1d621ee8d9733cb5ad0f3161a9 Mon Sep 17 00:00:00 2001 From: Clawdbot Date: Fri, 10 Apr 2026 04:36:33 +0200 Subject: [PATCH 2/3] fix: block tool calls when a dialog is open --- src/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.ts b/src/index.ts index 362f2348a..0b754d676 100644 --- a/src/index.ts +++ b/src/index.ts @@ -199,6 +199,11 @@ export async function createMcpServer( ? context.getPageById(params.pageId) : context.getSelectedMcpPage(); response.setPage(page); + if (page.getDialog() && tool.name !== 'handle_dialog') { + throw new Error( + 'A browser dialog is open. Call handle_dialog to accept or dismiss it before continuing.', + ); + } await tool.handler( { params, From 72bc89d586807b1677a8da5a855596f5485f29bb Mon Sep 17 00:00:00 2001 From: Clawdbot Date: Tue, 14 Apr 2026 11:28:19 +0200 Subject: [PATCH 3/3] docs: remove extra note block --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 3c0612c92..8c5af9015 100644 --- a/README.md +++ b/README.md @@ -714,7 +714,6 @@ Check the performance of https://developers.chrome.com > [!NOTE] > The autoConnect option requires the user to start Chrome. If the user has multiple active profiles, the MCP server will connect to the default profile (as determined by Chrome). The MCP server has access to all open windows for the selected profile. > -> [!NOTE] > Network requests that occurred before the MCP server connected are not available via list_network_requests / get_network_request. If you need those, start the MCP server first or reload the page after it connects. The Chrome DevTools MCP server will try to connect to your running Chrome