You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support --auto-connect to a Chrome instance (#651)
This PR adds a new connection mode called `--auto-connect`. To activate
it, add the `--auto-connect` flag to the chrome-devtools-mcp server
configuration. With this, chrome-devtools-mcp will automatically connect
to the running Chrome instance by looking up the port and the URL in the
user data dir for the specified `--channel` (by default, `stable`).
Requires Chrome M145.
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -350,6 +350,11 @@ The Chrome DevTools MCP server supports the following configuration option:
350
350
351
351
<!-- BEGIN AUTO GENERATED OPTIONS -->
352
352
353
+
-**`--autoConnect`**
354
+
If specified, automatically connects to a browser (Chrome 145+) running in the user data directory identified by the channel param.
355
+
-**Type:** boolean
356
+
-**Default:**`false`
357
+
353
358
-**`--browserUrl`, `-u`**
354
359
Connect to a running, debuggable Chrome instance (e.g. `http://127.0.0.1:9222`). For more details see: https://github.com/ChromeDevTools/chrome-devtools-mcp#connecting-to-a-running-chrome-instance.
0 commit comments