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
* support passing args to Chrome ([#338](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/338)) ([e1b5363](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/e1b536365363e1e1a3aa7661dd84290c794510ad))
* document that console and requests are since the last nav ([#335](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/335)) ([9ad7cbb](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/9ad7cbb2de3d285e46e5f3e7c098b0a7535c7e7a))
* Add offline network emulation support to emulate_network command ([#326](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/326)) ([139ce60](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/139ce607814bf25ba541a7264ce96a04b2fac871))
23
+
* add request and response body ([#267](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/267)) ([dd3c143](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/dd3c14336ee44d057d06231a5bfd5c5bcf661029))
24
+
25
+
26
+
### Bug Fixes
27
+
28
+
* ordering of information in performance trace summary ([#334](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/334)) ([2d4484a](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/2d4484a123968754b4840d112b9c1ca59fb29997))
29
+
* publishing to MCP registry ([#313](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/313)) ([1faec78](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/1faec78f84569a03f63585fb84df35992bcfe81a))
30
+
* use default ProtocolTimeout ([#315](https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/315)) ([a525f19](https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/a525f199458afb266db4540bf0fa8007323f3301))
Use the Claude Code CLI to add the Chrome DevTools MCP server (<a href="https://docs.anthropic.com/en/docs/claude-code/mcp">guide</a>):
@@ -177,6 +187,15 @@ The same way chrome-devtools-mcp can be configured for JetBrains Junie in `Setti
177
187
178
188
</details>
179
189
190
+
<details>
191
+
<summary>Kiro</summary>
192
+
193
+
In **Kiro Settings**, go to `Configure MCP` > `Open Workspace or User MCP Config` > Use the configuration snippet provided above.
194
+
195
+
Or, from the IDE **Activity Bar** > `Kiro` > `MCP Servers` > `Click Open MCP Config`. Use the configuration snippet provided above.
196
+
197
+
</details>
198
+
180
199
<details>
181
200
<summary>Visual Studio</summary>
182
201
@@ -291,6 +310,10 @@ The Chrome DevTools MCP server supports the following configuration option:
291
310
If enabled, ignores errors relative to self-signed and expired certificates. Use with caution.
292
311
-**Type:** boolean
293
312
313
+
-**`--chromeArg`**
314
+
Additional arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.
315
+
-**Type:** array
316
+
294
317
<!-- END AUTO GENERATED OPTIONS -->
295
318
296
319
Pass them via the `args` property in the JSON configuration. For example:
@@ -328,6 +351,69 @@ all instances of `chrome-devtools-mcp`. Set the `isolated` option to `true`
328
351
to use a temporary user data dir instead which will be cleared automatically after
329
352
the browser is closed.
330
353
354
+
### Connecting to a running Chrome instance
355
+
356
+
You can connect to a running Chrome instance by using the `--browser-url` option. This is useful if you want to use your existing Chrome profile or if you are running the MCP server in a sandboxed environment that does not allow starting a new Chrome instance.
357
+
358
+
Here is a step-by-step guide on how to connect to a running Chrome Stable instance:
359
+
360
+
**Step 1: Configure the MCP client**
361
+
362
+
Add the `--browser-url` option to your MCP client configuration. The value of this option should be the URL of the running Chrome instance. `http://127.0.0.1:9222` is a common default.
363
+
364
+
```json
365
+
{
366
+
"mcpServers": {
367
+
"chrome-devtools": {
368
+
"command": "npx",
369
+
"args": [
370
+
"chrome-devtools-mcp@latest",
371
+
"--browser-url=http://127.0.0.1:9222"
372
+
]
373
+
}
374
+
}
375
+
}
376
+
```
377
+
378
+
**Step 2: Start the Chrome browser**
379
+
380
+
> [!WARNING]
381
+
> Enabling the remote debugging port opens up a debugging port on the running browser instance. Any application on your machine can connect to this port and control the browser. Make sure that you are not browsing any sensitive websites while the debugging port is open.
382
+
383
+
Start the Chrome browser with the remote debugging port enabled. Make sure to close any running Chrome instances before starting a new one with the debugging port enabled. The port number you choose must be the same as the one you specified in the `--browser-url` option in your MCP client configuration.
384
+
385
+
For security reasons, [Chrome requires you to use a non-default user data directory](https://developer.chrome.com/blog/remote-debugging-port) when enabling the remote debugging port. You can specify a custom directory using the `--user-data-dir` flag. This ensures that your regular browsing profile and data are not exposed to the debugging session.
0 commit comments